virtual bool LoadExtensions(vtkOpenGLExtensionManager *m)
Load the OpenGL extensions we need.
virtual void ReleaseGraphicsResources(vtkWindow *window)
Release any graphics resources that are being consumed by this device.
Class for drawing 2D primitives using OpenGL 1.1+.
static vtkOpenGLContextDevice2D * New()
Creates a 2D Painter object.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void DrawPointSprites(vtkImageData *sprite, float *points, int n, unsigned char *colors=0, int nc_comps=0)
Draw a series of point sprites, images centred at the points supplied.
Class for drawing 2D primitives using OpenGL 2.
virtual void DrawImage(float p[2], float scale, vtkImageData *image)
Draw the supplied image at the given x, y (p[0], p[1]) (bottom corner), scaled by scale (1...