Go to the documentation of this file.
39 #ifndef vtkPolyDataMapper2D_h
40 #define vtkPolyDataMapper2D_h
43 #include "vtkRenderingCoreModule.h"
78 virtual void CreateDefaultLookupTable();
85 vtkGetMacro(ScalarVisibility,
int);
104 vtkGetMacro(ColorMode,
int);
105 void SetColorModeToDefault();
106 void SetColorModeToMapScalars();
107 void SetColorModeToDirectScalars();
113 const char *GetColorModeAsString();
125 vtkGetMacro(UseLookupTableScalarRange,
int);
135 vtkSetVector2Macro(ScalarRange,
double);
136 vtkGetVectorMacro(ScalarRange,
double, 2);
153 vtkGetMacro(ScalarMode,
int);
170 void ColorByArrayComponent(
int arrayNum,
int component);
171 void ColorByArrayComponent(
char* arrayName,
int component);
204 vtkGetMacro(TransformCoordinateUseDouble,
bool);
234 double ScalarRange[2];
#define VTK_SCALAR_MODE_DEFAULT
#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
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
record modification and/or execution time
void SetScalarModeToUsePointFieldData()
dynamic, self-adjusting array of unsigned char
virtual vtkMTimeType GetMTime()
Override Modifiedtime as we have added Clipping planes.
void SetScalarModeToUsePointData()
vtkScalarsToColors * LookupTable
void SetScalarModeToUseCellFieldData()
vtkTypeUInt64 vtkMTimeType
char * GetArrayName()
Get the array name or number and component to color by.
#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
Superclass for mapping scalar values to colors.
abstract class specifies interface for objects which render 2D actors
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkCoordinate * TransformCoordinate
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkAlgorithm * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetScalarModeToDefault()
void SetScalarModeToUseCellData()
vtkUnsignedCharArray * Colors
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
abstract class specifies interface to map data