Class for drawing 2D primitives using OpenGL 1.1+.
static vtkOpenGLContextDevice2D * New()
Creates a 2D Painter object.
void DrawPoly(float *f, int n, unsigned char *colors=0, int nc_comps=0) override
Draw a poly line using the points - fastest code path due to memory layout of the coordinates...
Class for drawing 2D primitives using GL2PS.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.