Section: Visualization Toolkit Parallel Classes
To create an instance of class vtkProcessIdScalars, simply invoke its constructor as follows
obj = vtkProcessIdScalars
obj
is an instance of the vtkProcessIdScalars class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkProcessIdScalars = obj.NewInstance ()
vtkProcessIdScalars = obj.SafeDownCast (vtkObject o)
obj.SetScalarModeToCellData ()
- Option to centerate cell scalars of points scalars. Default is point
scalars.
obj.SetScalarModeToPointData ()
- Option to centerate cell scalars of points scalars. Default is point
scalars.
int = obj.GetScalarMode ()
obj.SetRandomMode (int )
int = obj.GetRandomMode ()
obj.RandomModeOn ()
obj.RandomModeOff ()
obj.SetController (vtkMultiProcessController )
- By defualt this filter uses the global controller,
but this method can be used to set another instead.
vtkMultiProcessController = obj.GetController ()
- By defualt this filter uses the global controller,
but this method can be used to set another instead.