Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkVolume, simply invoke its constructor as follows
obj = vtkVolume
obj
is an instance of the vtkVolume class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkVolume = obj.NewInstance ()
vtkVolume = obj.SafeDownCast (vtkObject o)
obj.SetMapper (vtkAbstractVolumeMapper mapper)
- Set/Get the volume mapper.
vtkAbstractVolumeMapper = obj.GetMapper ()
- Set/Get the volume mapper.
obj.SetProperty (vtkVolumeProperty property)
- Set/Get the volume property.
vtkVolumeProperty = obj.GetProperty ()
- Set/Get the volume property.
obj.GetVolumes (vtkPropCollection vc)
- For some exporters and other other operations we must be
able to collect all the actors or volumes. This method
is used in that process.
obj.Update ()
- Update the volume rendering pipeline by updating the volume mapper
double = obj.GetBounds ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
obj.GetBounds (double bounds[6])
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double = obj.GetMinXBound ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double = obj.GetMaxXBound ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double = obj.GetMinYBound ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double = obj.GetMaxYBound ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double = obj.GetMinZBound ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
double = obj.GetMaxZBound ()
- Get the bounds - either all six at once
(xmin, xmax, ymin, ymax, zmin, zmax) or one at a time.
long = obj.GetMTime ()
- Return the MTime also considering the property etc.
long = obj.GetRedrawMTime ()
- Return the mtime of anything that would cause the rendered image to
appear differently. Usually this involves checking the mtime of the
prop plus anything else it depends on such as properties, mappers,
etc.
obj.ShallowCopy (vtkProp prop)
- Shallow copy of this vtkVolume. Overloads the virtual vtkProp method.