38 #ifndef __vtkPolyDataMapper2D_h
39 #define __vtkPolyDataMapper2D_h
70 virtual void CreateDefaultLookupTable();
75 vtkSetMacro(ScalarVisibility,
int);
76 vtkGetMacro(ScalarVisibility,
int);
77 vtkBooleanMacro(ScalarVisibility,
int);
88 vtkSetMacro(ColorMode,
int);
89 vtkGetMacro(ColorMode,
int);
90 void SetColorModeToDefault();
91 void SetColorModeToMapScalars();
95 const char *GetColorModeAsString();
104 vtkSetMacro(UseLookupTableScalarRange,
int);
105 vtkGetMacro(UseLookupTableScalarRange,
int);
106 vtkBooleanMacro(UseLookupTableScalarRange,
int);
113 vtkSetVector2Macro(ScalarRange,
double);
114 vtkGetVectorMacro(ScalarRange,
double,2);
128 vtkSetMacro(ScalarMode,
int);
129 vtkGetMacro(ScalarMode,
int);
144 void ColorByArrayComponent(
int arrayNum,
int component);
145 void ColorByArrayComponent(
char* arrayName,
int component);
188 double ScalarRange[2];
virtual unsigned long GetMTime()
#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA
record modification and/or execution time
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetScalarModeToUseCellFieldData()
Superclass for mapping scalar values into colors.
void SetScalarModeToUseCellData()
int UseLookupTableScalarRange
#define VTK_SCALAR_MODE_USE_POINT_DATA
vtkScalarsToColors * LookupTable
a simple class to control print indentation
#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FillInputPortInformation(int port, vtkInformation *info)
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()
void ShallowCopy(vtkAbstractMapper *m)
static vtkAlgorithm * New()
#define VTK_SCALAR_MODE_USE_CELL_DATA
void SetScalarModeToDefault()
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()