27#ifndef vtkPolyDataMapper2D_h 
   28#define vtkPolyDataMapper2D_h 
   31#include "vtkRenderingCoreModule.h"  
   33VTK_ABI_NAMESPACE_BEGIN
 
   91  vtkSetMacro(ColorMode, 
int);
 
   92  vtkGetMacro(ColorMode, 
int);
 
  123  vtkSetVector2Macro(ScalarRange, 
double);
 
  124  vtkGetVectorMacro(ScalarRange, 
double, 2);
 
  140  vtkSetMacro(ScalarMode, 
int);
 
  141  vtkGetMacro(ScalarMode, 
int);
 
  193  vtkGetMacro(TransformCoordinateUseDouble, 
bool);
 
  194  vtkSetMacro(TransformCoordinateUseDouble, 
bool);
 
  195  vtkBooleanMacro(TransformCoordinateUseDouble, 
bool);
 
  223  double ScalarRange[2];
 
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
 
const char * GetArrayName()
Get the array name or number and component to color by.
 
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