Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkDistanceToCamera, simply invoke its constructor as follows
obj = vtkDistanceToCamera
obj
is an instance of the vtkDistanceToCamera class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkDistanceToCamera = obj.NewInstance ()
vtkDistanceToCamera = obj.SafeDownCast (vtkObject o)
obj.SetRenderer (vtkRenderer ren)
- The renderer which will ultimately render these points.
vtkRenderer = obj.GetRenderer ()
- The renderer which will ultimately render these points.
obj.SetScreenSize (double )
- The desired screen size obtained by scaling glyphs by the distance
array. It assumes the glyph at each point will be unit size.
double = obj.GetScreenSize ()
- The desired screen size obtained by scaling glyphs by the distance
array. It assumes the glyph at each point will be unit size.
obj.SetScaling (bool )
- Whether to scale the distance by the input array to process.
bool = obj.GetScaling ()
- Whether to scale the distance by the input array to process.
obj.ScalingOn ()
- Whether to scale the distance by the input array to process.
obj.ScalingOff ()
- Whether to scale the distance by the input array to process.
long = obj.GetMTime ()
- The modified time of this filter.