VTK
|
abstract class specifies interface to map data More...
#include <vtkAbstractMapper.h>
Inherits vtkAlgorithm.
Public Types | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned long | GetMTime () |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
void | SetClippingPlanes (vtkPlanes *planes) |
void | ShallowCopy (vtkAbstractMapper *m) |
virtual double | GetTimeToDraw () |
void | AddClippingPlane (vtkPlane *plane) |
void | RemoveClippingPlane (vtkPlane *plane) |
void | RemoveAllClippingPlanes () |
virtual void | SetClippingPlanes (vtkPlaneCollection *) |
virtual vtkPlaneCollection * | GetClippingPlanes () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAbstractMapper * | SafeDownCast (vtkObject *o) |
static vtkDataArray * | GetScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag) |
Protected Member Functions | |
vtkAbstractMapper () | |
~vtkAbstractMapper () | |
Protected Attributes | |
vtkTimerLog * | Timer |
double | TimeToDraw |
vtkWindow * | LastWindow |
vtkPlaneCollection * | ClippingPlanes |
abstract class specifies interface to map data
vtkAbstractMapper is an abstract class to specify interface between data and graphics primitives or software rendering techniques. Subclasses of vtkAbstractMapper can be used for rendering 2D data, geometry, or volumetric data.
Definition at line 50 of file vtkAbstractMapper.h.
typedef vtkAlgorithm vtkAbstractMapper::Superclass |
Definition at line 53 of file vtkAbstractMapper.h.
|
protected |
|
protected |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkAbstractMapper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Override Modifiedtime as we have added Clipping planes
|
inlinevirtual |
Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.
Definition at line 62 of file vtkAbstractMapper.h.
|
virtual |
Get the time required to draw the geometry last time it was rendered
void vtkAbstractMapper::AddClippingPlane | ( | vtkPlane * | plane | ) |
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).
void vtkAbstractMapper::RemoveClippingPlane | ( | vtkPlane * | plane | ) |
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).
void vtkAbstractMapper::RemoveAllClippingPlanes | ( | ) |
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).
|
virtual |
Get/Set the vtkPlaneCollection which specifies the clipping planes.
|
virtual |
Get/Set the vtkPlaneCollection which specifies the clipping planes.
void vtkAbstractMapper::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.
void vtkAbstractMapper::ShallowCopy | ( | vtkAbstractMapper * | m | ) |
Make a shallow copy of this mapper.
|
static |
Internal helper function for getting the active scalars. The scalar mode indicates where the scalars come from. The cellFlag is a return value that is set when the scalars actually are cell scalars. (0 for point scalars, 1 for cell scalars, 2 for field scalars) The arrayAccessMode is used to indicate how to retrieve the scalars from field data, per id or per name (if the scalarMode indicates that).
|
protected |
Definition at line 106 of file vtkAbstractMapper.h.
|
protected |
Definition at line 107 of file vtkAbstractMapper.h.
|
protected |
Definition at line 108 of file vtkAbstractMapper.h.
|
protected |
Definition at line 109 of file vtkAbstractMapper.h.