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