 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkPolyDataMapper2D_h
34 #define vtkPolyDataMapper2D_h
37 #include "vtkRenderingCoreModule.h"
71 virtual void CreateDefaultLookupTable();
96 vtkSetMacro(ColorMode,
int);
97 vtkGetMacro(ColorMode,
int);
98 void SetColorModeToDefault();
99 void SetColorModeToMapScalars();
100 void SetColorModeToDirectScalars();
106 const char* GetColorModeAsString();
117 vtkSetMacro(UseLookupTableScalarRange,
vtkTypeBool);
118 vtkGetMacro(UseLookupTableScalarRange,
vtkTypeBool);
119 vtkBooleanMacro(UseLookupTableScalarRange,
vtkTypeBool);
128 vtkSetVector2Macro(ScalarRange,
double);
129 vtkGetVectorMacro(ScalarRange,
double, 2);
145 vtkSetMacro(ScalarMode,
int);
146 vtkGetMacro(ScalarMode,
int);
164 void ColorByArrayComponent(
int arrayNum,
int component);
165 void ColorByArrayComponent(
const char* arrayName,
int component);
198 vtkGetMacro(TransformCoordinateUseDouble,
bool);
199 vtkSetMacro(TransformCoordinateUseDouble,
bool);
200 vtkBooleanMacro(TransformCoordinateUseDouble,
bool);
228 double ScalarRange[2];
#define VTK_SCALAR_MODE_DEFAULT
#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA
#define VTK_SCALAR_MODE_USE_POINT_DATA
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
draw vtkPolyData onto the image plane
#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
record modification and/or execution time
void SetScalarModeToUsePointFieldData()
vtkMTimeType GetMTime() override
Override Modifiedtime as we have added Clipping planes.
dynamic, self-adjusting array of unsigned char
void SetScalarModeToUsePointData()
vtkScalarsToColors * LookupTable
void SetScalarModeToUseCellFieldData()
#define VTK_SCALAR_MODE_USE_CELL_DATA
const char * GetArrayName()
Get the array name or number and component to color by.
bool TransformCoordinateUseDouble
a simple class to control print indentation
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
vtkTypeBool ScalarVisibility
vtkTypeBool UseLookupTableScalarRange
virtual void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
Superclass for mapping scalar values to colors.
abstract class specifies interface for objects which render 2D actors
vtkCoordinate * TransformCoordinate
static vtkAlgorithm * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetScalarModeToDefault()
void SetScalarModeToUseCellData()
vtkUnsignedCharArray * Colors
abstract class specifies interface to map data
vtkTypeUInt32 vtkMTimeType