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