Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkCubeSource, simply invoke its constructor as follows
obj = vtkCubeSource
obj is an instance of the vtkCubeSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkCubeSource = obj.NewInstance ()
vtkCubeSource = obj.SafeDownCast (vtkObject o)
obj.SetXLength (double ) - Set the length of the cube in the x-direction.
double = obj.GetXLengthMinValue () - Set the length of the cube in the x-direction.
double = obj.GetXLengthMaxValue () - Set the length of the cube in the x-direction.
double = obj.GetXLength () - Set the length of the cube in the x-direction.
obj.SetYLength (double ) - Set the length of the cube in the y-direction.
double = obj.GetYLengthMinValue () - Set the length of the cube in the y-direction.
double = obj.GetYLengthMaxValue () - Set the length of the cube in the y-direction.
double = obj.GetYLength () - Set the length of the cube in the y-direction.
obj.SetZLength (double ) - Set the length of the cube in the z-direction.
double = obj.GetZLengthMinValue () - Set the length of the cube in the z-direction.
double = obj.GetZLengthMaxValue () - Set the length of the cube in the z-direction.
double = obj.GetZLength () - Set the length of the cube in the z-direction.
obj.SetCenter (double , double , double ) - Set the center of the cube.
obj.SetCenter (double a[3]) - Set the center of the cube.
double = obj. GetCenter () - Set the center of the cube.
obj.SetBounds (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) - Convenience method allows creation of cube by specifying bounding box.
obj.SetBounds (double bounds[6]) - Convenience method allows creation of cube by specifying bounding box.