Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkOpenGLProperty, simply invoke its constructor as follows
obj = vtkOpenGLProperty
obj
is an instance of the vtkOpenGLProperty class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOpenGLProperty = obj.NewInstance ()
vtkOpenGLProperty = obj.SafeDownCast (vtkObject o)
obj.Render (vtkActor a, vtkRenderer ren)
- Implement base class method.
obj.BackfaceRender (vtkActor a, vtkRenderer ren)
- Implement base class method.
obj.AddShaderVariable (string name, int numVars, int x)
- Provide values to initialize shader variables.
Useful to initialize shader variables that change over time
(animation, GUI widgets inputs, etc. )
- \p name - hardware name of the uniform variable
- \p numVars - number of variables being set
- \p x - values
obj.AddShaderVariable (string name, int numVars, float x)
- Provide values to initialize shader variables.
Useful to initialize shader variables that change over time
(animation, GUI widgets inputs, etc. )
- \p name - hardware name of the uniform variable
- \p numVars - number of variables being set
- \p x - values
obj.AddShaderVariable (string name, int numVars, double x)
- Provide values to initialize shader variables.
Useful to initialize shader variables that change over time
(animation, GUI widgets inputs, etc. )
- \p name - hardware name of the uniform variable
- \p numVars - number of variables being set
- \p x - values