Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkAxes, simply invoke its constructor as follows
obj = vtkAxes
obj
is an instance of the vtkAxes class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkAxes = obj.NewInstance ()
vtkAxes = obj.SafeDownCast (vtkObject o)
obj.SetOrigin (double , double , double )
- Set the origin of the axes.
obj.SetOrigin (double a[3])
- Set the origin of the axes.
double = obj. GetOrigin ()
- Set the origin of the axes.
obj.SetScaleFactor (double )
- Set the scale factor of the axes. Used to control size.
double = obj.GetScaleFactor ()
- Set the scale factor of the axes. Used to control size.
obj.SetSymmetric (int )
- If Symetric is on, the the axis continue to negative values.
int = obj.GetSymmetric ()
- If Symetric is on, the the axis continue to negative values.
obj.SymmetricOn ()
- If Symetric is on, the the axis continue to negative values.
obj.SymmetricOff ()
- If Symetric is on, the the axis continue to negative values.
obj.SetComputeNormals (int )
- Option for computing normals. By default they are computed.
int = obj.GetComputeNormals ()
- Option for computing normals. By default they are computed.
obj.ComputeNormalsOn ()
- Option for computing normals. By default they are computed.
obj.ComputeNormalsOff ()
- Option for computing normals. By default they are computed.