Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkAbstractMapper, simply invoke its constructor as follows
obj = vtkAbstractMapper
obj
is an instance of the vtkAbstractMapper class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkAbstractMapper = obj.NewInstance ()
vtkAbstractMapper = obj.SafeDownCast (vtkObject o)
long = obj.GetMTime ()
- Override Modifiedtime as we have added Clipping planes
obj.ReleaseGraphicsResources (vtkWindow )
- Release any graphics resources that are being consumed by this mapper.
The parameter window could be used to determine which graphic
resources to release.
double = obj.GetTimeToDraw ()
- Get the time required to draw the geometry last time it was rendered
obj.AddClippingPlane (vtkPlane plane)
- Specify clipping planes to be applied when the data is mapped
(at most 6 clipping planes can be specified).
obj.RemoveClippingPlane (vtkPlane plane)
- Specify clipping planes to be applied when the data is mapped
(at most 6 clipping planes can be specified).
obj.RemoveAllClippingPlanes ()
- Specify clipping planes to be applied when the data is mapped
(at most 6 clipping planes can be specified).
obj.SetClippingPlanes (vtkPlaneCollection )
- Get/Set the vtkPlaneCollection which specifies the
clipping planes.
vtkPlaneCollection = obj.GetClippingPlanes ()
- Get/Set the vtkPlaneCollection which specifies the
clipping planes.
obj.SetClippingPlanes (vtkPlanes planes)
- An alternative way to set clipping planes: use up to six planes found
in the supplied instance of the implicit function vtkPlanes.
obj.ShallowCopy (vtkAbstractMapper m)
- Make a shallow copy of this mapper.