Section: Visualization Toolkit Common Classes
To create an instance of class vtkBox, simply invoke its constructor as follows
obj = vtkBox
obj
is an instance of the vtkBox class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkBox = obj.NewInstance ()
vtkBox = obj.SafeDownCast (vtkObject o)
double = obj.EvaluateFunction (double x[3])
double = obj.EvaluateFunction (double x, double y, double z)
obj.EvaluateGradient (double x[3], double n[3])
obj.SetXMin (double p[3])
- Set / get the bounding box using various methods.
obj.SetXMin (double x, double y, double z)
- Set / get the bounding box using various methods.
obj.GetXMin (double p[3])
- Set / get the bounding box using various methods.
obj.SetXMax (double p[3])
obj.SetXMax (double x, double y, double z)
obj.GetXMax (double p[3])
obj.SetBounds (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
obj.SetBounds (double bounds[6])
obj.GetBounds (double bounds[6])
obj.AddBounds (double bounds[6])
- A special method that allows union set operation on bounding boxes.
Start with a SetBounds(). Subsequent AddBounds() methods are union set
operations on the original bounds. Retrieve the final bounds with a
GetBounds() method.