27 #ifndef vtkPolyDataMapper2D_h
28 #define vtkPolyDataMapper2D_h
31 #include "vtkRenderingCoreModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
66 virtual void CreateDefaultLookupTable();
91 vtkSetMacro(ColorMode,
int);
92 vtkGetMacro(ColorMode,
int);
93 void SetColorModeToDefault();
94 void SetColorModeToMapScalars();
95 void SetColorModeToDirectScalars();
101 const char* GetColorModeAsString();
112 vtkSetMacro(UseLookupTableScalarRange,
vtkTypeBool);
113 vtkGetMacro(UseLookupTableScalarRange,
vtkTypeBool);
114 vtkBooleanMacro(UseLookupTableScalarRange,
vtkTypeBool);
123 vtkSetVector2Macro(ScalarRange,
double);
124 vtkGetVectorMacro(ScalarRange,
double, 2);
140 vtkSetMacro(ScalarMode,
int);
141 vtkGetMacro(ScalarMode,
int);
159 void ColorByArrayComponent(
int arrayNum,
int component);
160 void ColorByArrayComponent(
const char* arrayName,
int component);
193 vtkGetMacro(TransformCoordinateUseDouble,
bool);
194 vtkSetMacro(TransformCoordinateUseDouble,
bool);
195 vtkBooleanMacro(TransformCoordinateUseDouble,
bool);
223 double ScalarRange[2];
242 VTK_ABI_NAMESPACE_END
const char * GetArrayName()
Get the array name or number and component to color by.
#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA
vtkTypeUInt32 vtkMTimeType
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added Clipping planes.
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetScalarModeToUseCellFieldData()
Control how the filter works with scalar point data and cell attribute data.
Superclass for mapping scalar values to colors.
void SetScalarModeToUseCellData()
Control how the filter works with scalar point data and cell attribute data.
#define VTK_SCALAR_MODE_USE_POINT_DATA
vtkScalarsToColors * LookupTable
a simple class to control print indentation
#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA
virtual void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkCoordinate * TransformCoordinate
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
dynamic, self-adjusting array of unsigned char
abstract class specifies interface to map data
void SetScalarModeToUsePointFieldData()
Control how the filter works with scalar point data and cell attribute data.
bool TransformCoordinateUseDouble
vtkTypeBool ScalarVisibility
static vtkAlgorithm * New()
#define VTK_SCALAR_MODE_USE_CELL_DATA
void SetScalarModeToDefault()
Control how the filter works with scalar point data and cell attribute data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class specifies interface for objects which render 2D actors
draw vtkPolyData onto the image plane
#define VTK_SCALAR_MODE_DEFAULT
vtkUnsignedCharArray * Colors
void SetScalarModeToUsePointData()
Control how the filter works with scalar point data and cell attribute data.
vtkTypeBool UseLookupTableScalarRange