 |
VTK
9.1.0
|
Go to the documentation of this file.
142 #ifndef vtkPolyDataMapper2D_h
143 #define vtkPolyDataMapper2D_h
146 #include "vtkRenderingCoreModule.h"
205 vtkSetMacro(ColorMode,
int);
206 vtkGetMacro(ColorMode,
int);
237 vtkSetVector2Macro(ScalarRange,
double);
238 vtkGetVectorMacro(ScalarRange,
double, 2);
254 vtkSetMacro(ScalarMode,
int);
255 vtkGetMacro(ScalarMode,
int);
307 vtkGetMacro(TransformCoordinateUseDouble,
bool);
308 vtkSetMacro(TransformCoordinateUseDouble,
bool);
309 vtkBooleanMacro(TransformCoordinateUseDouble,
bool);
337 double ScalarRange[2];
void SetColorModeToDirectScalars()
Control how the scalar data is mapped to colors.
#define VTK_SCALAR_MODE_DEFAULT
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetInputData(vtkPolyData *in)
Set the input to the mapper.
#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA
#define VTK_SCALAR_MODE_USE_POINT_DATA
draw vtkPolyData onto the image plane
#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA
void ColorByArrayComponent(int arrayNum, int component)
Choose which component of which field data array to color by.
record modification and/or execution time
void SetScalarModeToUsePointFieldData()
Control how the filter works with scalar point data and cell attribute data.
void SetLookupTable(vtkScalarsToColors *lut)
Specify a lookup table for the mapper to use.
dynamic, self-adjusting array of unsigned char
vtkMTimeType GetMTime() override
Overload standard modified time function.
static vtkPolyDataMapper2D * New()
void ColorByArrayComponent(const char *arrayName, int component)
Choose which component of which field data array to color by.
void SetScalarModeToUsePointData()
Control how the filter works with scalar point data and cell attribute data.
vtkScalarsToColors * LookupTable
~vtkPolyDataMapper2D() override
vtkUnsignedCharArray * MapScalars(double alpha)
Map the scalars (if there are any scalars and ScalarVisibility is on) through the lookup table,...
void SetScalarModeToUseCellFieldData()
Control how the filter works with scalar point data and cell attribute data.
#define VTK_SCALAR_MODE_USE_CELL_DATA
const char * GetArrayName()
Get the array name or number and component to color by.
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
bool TransformCoordinateUseDouble
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
vtkTypeBool ScalarVisibility
vtkTypeBool UseLookupTableScalarRange
void SetColorModeToDefault()
Control how the scalar data is mapped to colors.
Superclass for mapping scalar values to colors.
abstract class specifies interface for objects which render 2D actors
virtual void CreateDefaultLookupTable()
Create default lookup table.
vtkCoordinate * TransformCoordinate
vtkScalarsToColors * GetLookupTable()
Specify a lookup table for the mapper to use.
void SetColorModeToMapScalars()
Control how the scalar data is mapped to colors.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyData * GetInput()
Set the input to the mapper.
void SetScalarModeToDefault()
Control how the filter works with scalar point data and cell attribute data.
virtual void SetTransformCoordinate(vtkCoordinate *)
Specify a vtkCoordinate object to be used to transform the vtkPolyData point coordinates.
void SetScalarModeToUseCellData()
Control how the filter works with scalar point data and cell attribute data.
vtkUnsignedCharArray * Colors
abstract class specifies interface to map data
vtkTypeUInt32 vtkMTimeType
const char * GetColorModeAsString()
Return the method of coloring scalar data.