Go to the documentation of this file.
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];
void SetColorModeToDirectScalars()
#define VTK_SCALAR_MODE_DEFAULT
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
int UseLookupTableScalarRange
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()
virtual vtkMTimeType GetMTime()
Overload standard modified time function.
void SetLookupTable(vtkScalarsToColors *lut)
Specify a lookup table for the mapper to use.
dynamic, self-adjusting array of unsigned char
static vtkPolyDataMapper2D * New()
void SetScalarModeToUsePointData()
vtkScalarsToColors * LookupTable
vtkUnsignedCharArray * MapScalars(double alpha)
Map the scalars (if there are any scalars and ScalarVisibility is on) through the lookup table,...
void SetScalarModeToUseCellFieldData()
vtkTypeUInt64 vtkMTimeType
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.
#define VTK_SCALAR_MODE_USE_CELL_DATA
bool TransformCoordinateUseDouble
a simple class to control print indentation
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
void SetColorModeToDefault()
Superclass for mapping scalar values to colors.
abstract class specifies interface for objects which render 2D actors
virtual void CreateDefaultLookupTable()
Create default lookup table.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkCoordinate * TransformCoordinate
vtkScalarsToColors * GetLookupTable()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetColorModeToMapScalars()
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
void SetScalarModeToDefault()
virtual void SetTransformCoordinate(vtkCoordinate *)
Specify a vtkCoordinate object to be used to transform the vtkPolyData point coordinates.
void SetScalarModeToUseCellData()
vtkUnsignedCharArray * Colors
void ColorByArrayComponent(char *arrayName, int component)
abstract class specifies interface to map data
const char * GetColorModeAsString()
Return the method of coloring scalar data.