39 #ifndef vtkPolyDataMapper2D_h
40 #define vtkPolyDataMapper2D_h
43 #include "vtkRenderingCoreModule.h"
85 vtkGetMacro(ScalarVisibility,
int);
104 vtkGetMacro(ColorMode,
int);
125 vtkGetMacro(UseLookupTableScalarRange,
int);
135 vtkSetVector2Macro(ScalarRange,
double);
136 vtkGetVectorMacro(ScalarRange,
double, 2);
153 vtkGetMacro(ScalarMode,
int);
204 vtkGetMacro(TransformCoordinateUseDouble,
bool);
234 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
vtkScalarsToColors * LookupTable
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
void ColorByArrayComponent(char *arrayName, int component)
virtual vtkMTimeType GetMTime()
Overload standard modified time function.
void SetInputData(vtkPolyData *in)
Set the input to the mapper.
void SetScalarModeToUsePointData()
int UseLookupTableScalarRange
void SetScalarModeToUseCellData()
void SetLookupTable(vtkScalarsToColors *lut)
Specify a lookup table for the mapper to use.
void SetScalarModeToDefault()
vtkUnsignedCharArray * Colors
virtual void SetTransformCoordinate(vtkCoordinate *)
Specify a vtkCoordinate object to be used to transform the vtkPolyData point coordinates.
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
vtkScalarsToColors * GetLookupTable()
static vtkPolyDataMapper2D * New()
void ColorByArrayComponent(int arrayNum, int component)
Choose which component of which field data array to color by.
void SetColorModeToDirectScalars()
void SetScalarModeToUsePointFieldData()
char * GetArrayName()
Get the array name or number and component to color by.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
const char * GetColorModeAsString()
Return the method of coloring scalar data.
virtual void CreateDefaultLookupTable()
Create default lookup table.
void SetScalarModeToUseCellFieldData()
void SetColorModeToDefault()
vtkCoordinate * TransformCoordinate
void SetColorModeToMapScalars()
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType