Section: Visualization Toolkit Graphics Classes
.SECTION Thanks Theophane Foggia of The Swiss National Supercomputing Centre (CSCS) for creating and contributing this filter
To create an instance of class vtkRotationFilter, simply invoke its constructor as follows
obj = vtkRotationFilter
obj
is an instance of the vtkRotationFilter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkRotationFilter = obj.NewInstance ()
vtkRotationFilter = obj.SafeDownCast (vtkObject o)
obj.SetAxis (int )
- Set the axis of rotation to use. It is set by default to Z.
int = obj.GetAxisMinValue ()
- Set the axis of rotation to use. It is set by default to Z.
int = obj.GetAxisMaxValue ()
- Set the axis of rotation to use. It is set by default to Z.
int = obj.GetAxis ()
- Set the axis of rotation to use. It is set by default to Z.
obj.SetAxisToX ()
- Set the axis of rotation to use. It is set by default to Z.
obj.SetAxisToY ()
- Set the axis of rotation to use. It is set by default to Z.
obj.SetAxisToZ ()
- Set the axis of rotation to use. It is set by default to Z.
obj.SetAngle (double )
- Set the rotation angle to use.
double = obj.GetAngle ()
- Set the rotation angle to use.
obj.SetCenter (double , double , double )
- Set the rotation center coordinates.
obj.SetCenter (double a[3])
- Set the rotation center coordinates.
double = obj. GetCenter ()
- Set the rotation center coordinates.
obj.SetNumberOfCopies (int )
- Set the number of copies to create. The source will be rotated N times
and a new polydata copy of the original created at each angular position
All copies will be appended to form a single output
int = obj.GetNumberOfCopies ()
- Set the number of copies to create. The source will be rotated N times
and a new polydata copy of the original created at each angular position
All copies will be appended to form a single output
obj.SetCopyInput (int )
- If on (the default), copy the input geometry to the output. If off,
the output will only contain the rotation.
int = obj.GetCopyInput ()
- If on (the default), copy the input geometry to the output. If off,
the output will only contain the rotation.
obj.CopyInputOn ()
- If on (the default), copy the input geometry to the output. If off,
the output will only contain the rotation.
obj.CopyInputOff ()
- If on (the default), copy the input geometry to the output. If off,
the output will only contain the rotation.