31 #ifndef vtkAbstractMapper_h
32 #define vtkAbstractMapper_h
34 #include "vtkRenderingCoreModule.h"
37 #define VTK_SCALAR_MODE_DEFAULT 0
38 #define VTK_SCALAR_MODE_USE_POINT_DATA 1
39 #define VTK_SCALAR_MODE_USE_CELL_DATA 2
40 #define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA 3
41 #define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA 4
42 #define VTK_SCALAR_MODE_USE_FIELD_DATA 5
44 #define VTK_GET_ARRAY_BY_ID 0
45 #define VTK_GET_ARRAY_BY_NAME 1
77 vtkGetMacro( TimeToDraw,
double );
119 int arrayAccessMode,
int arrayId,
120 const char *arrayName,
int& cellFlag);
132 int arrayAccessMode,
int arrayId,
133 const char *arrayName,
int& cellFlag);
Abstract superclass for all arrays.
abstract class specifies interface to map data
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
void RemoveAllClippingPlanes()
virtual vtkMTimeType GetMTime()
Override Modifiedtime as we have added Clipping planes.
static vtkDataArray * GetScalars(vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)
Internal helper function for getting the active scalars.
static vtkAbstractArray * GetAbstractScalars(vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)
Internal helper function for getting the active scalars as an abstract array.
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
void SetClippingPlanes(vtkPlanes *planes)
An alternative way to set clipping planes: use up to six planes found in the supplied instance of the...
void AddClippingPlane(vtkPlane *plane)
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be speci...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPlaneCollection * ClippingPlanes
virtual void SetClippingPlanes(vtkPlaneCollection *)
Get/Set the vtkPlaneCollection which specifies the clipping planes.
void RemoveClippingPlane(vtkPlane *plane)
Superclass for all sources, filters, and sinks in VTK.
abstract superclass for arrays of numeric data
abstract class to specify dataset behavior
a simple class to control print indentation
maintain a list of planes
perform various plane computations
implicit function for convex set of planes
Timer support and logging.
window superclass for vtkRenderWindow
vtkTypeUInt64 vtkMTimeType