Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLRenderer, simply invoke its constructor as follows
obj = vtkOpenGLRenderer
obj
is an instance of the vtkOpenGLRenderer class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLRenderer = obj.NewInstance ()
vtkOpenGLRenderer = obj.SafeDownCast (vtkObject o)
obj.DeviceRender (void )
- Concrete open gl render method.
obj.DeviceRenderTranslucentPolygonalGeometry ()
- Render translucent polygonal geometry. Default implementation just call
UpdateTranslucentPolygonalGeometry().
Subclasses of vtkRenderer that can deal with depth peeling must
override this method.
obj.ClearLights (void )
- Internal method temporarily removes lights before reloading them
into graphics pipeline.
obj.Clear (void )
int = obj.UpdateLights (void )
- Ask lights to load themselves into graphics pipeline.
int = obj.GetDepthPeelingHigherLayer ()
- Is rendering at translucent geometry stage using depth peeling and
rendering a layer other than the first one? (Boolean value)
If so, the uniform variables UseTexture and Texture can be set.
(Used by vtkOpenGLProperty or vtkOpenGLTexture)