Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLLightingPainter, simply invoke its constructor as follows
obj = vtkOpenGLLightingPainter
obj
is an instance of the vtkOpenGLLightingPainter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLLightingPainter = obj.NewInstance ()
vtkOpenGLLightingPainter = obj.SafeDownCast (vtkObject o)
double = obj.GetTimeToDraw ()
- This painter overrides GetTimeToDraw() to never pass the request to the
delegate. This is done since this class may propagate a single render
request multiple times to the delegate. In that case the time accumulation
responsibility is borne by the painter causing the multiple rendering
requests i.e. this painter itself.