Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkPolyDataStreamer, simply invoke its constructor as follows
obj = vtkPolyDataStreamer
obj
is an instance of the vtkPolyDataStreamer class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPolyDataStreamer = obj.NewInstance ()
vtkPolyDataStreamer = obj.SafeDownCast (vtkObject o)
obj.SetNumberOfStreamDivisions (int num)
- Set the number of pieces to divide the problem into.
int = obj.GetNumberOfStreamDivisions ()
- Set the number of pieces to divide the problem into.
obj.SetColorByPiece (int )
- By default, this option is off. When it is on, cell scalars are generated
based on which piece they are in.
int = obj.GetColorByPiece ()
- By default, this option is off. When it is on, cell scalars are generated
based on which piece they are in.
obj.ColorByPieceOn ()
- By default, this option is off. When it is on, cell scalars are generated
based on which piece they are in.
obj.ColorByPieceOff ()
- By default, this option is off. When it is on, cell scalars are generated
based on which piece they are in.