66 #define VTK_RESOLVE_OFF 0
67 #define VTK_RESOLVE_POLYGON_OFFSET 1
68 #define VTK_RESOLVE_SHIFT_ZBUFFER 2
70 #define VTK_GET_ARRAY_BY_ID 0
71 #define VTK_GET_ARRAY_BY_NAME 1
73 #define VTK_MATERIALMODE_DEFAULT 0
74 #define VTK_MATERIALMODE_AMBIENT 1
75 #define VTK_MATERIALMODE_DIFFUSE 2
76 #define VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE 3
115 virtual void CreateDefaultLookupTable();
120 vtkSetMacro(ScalarVisibility,
int);
121 vtkGetMacro(ScalarVisibility,
int);
122 vtkBooleanMacro(ScalarVisibility,
int);
130 vtkSetMacro(Static,
int);
131 vtkGetMacro(Static,
int);
132 vtkBooleanMacro(Static,
int);
143 vtkSetMacro(ColorMode,
int);
144 vtkGetMacro(ColorMode,
int);
152 const char *GetColorModeAsString();
158 vtkSetMacro(InterpolateScalarsBeforeMapping,
int);
159 vtkGetMacro(InterpolateScalarsBeforeMapping,
int);
160 vtkBooleanMacro(InterpolateScalarsBeforeMapping,
int);
170 vtkSetMacro(UseLookupTableScalarRange,
int);
171 vtkGetMacro(UseLookupTableScalarRange,
int);
172 vtkBooleanMacro(UseLookupTableScalarRange,
int);
179 vtkSetVector2Macro(ScalarRange,
double);
180 vtkGetVectorMacro(ScalarRange,
double,2);
189 vtkSetMacro(ImmediateModeRendering,
int);
190 vtkGetMacro(ImmediateModeRendering,
int);
191 vtkBooleanMacro(ImmediateModeRendering,
int);
200 static void SetGlobalImmediateModeRendering(
int val);
205 static int GetGlobalImmediateModeRendering();
217 vtkGetMacro(ForceCompileOnly,
int);
218 void SetForceCompileOnly(
int value);
238 vtkSetMacro(ScalarMode,
int);
239 vtkGetMacro(ScalarMode,
int);
258 void SelectColorArray(
int arrayNum);
259 void SelectColorArray(
const char* arrayName);
265 void ColorByArrayComponent(
int arrayNum,
int component);
266 void ColorByArrayComponent(
const char* arrayName,
int component);
278 const char *GetScalarModeAsString();
291 static void SetResolveCoincidentTopology(
int val);
292 static int GetResolveCoincidentTopology();
293 static void SetResolveCoincidentTopologyToDefault();
306 static void SetResolveCoincidentTopologyPolygonOffsetParameters(
307 double factor,
double units);
308 static void GetResolveCoincidentTopologyPolygonOffsetParameters(
309 double& factor,
double& units);
318 static void SetResolveCoincidentTopologyPolygonOffsetFaces(
int faces);
319 static int GetResolveCoincidentTopologyPolygonOffsetFaces();
325 static void SetResolveCoincidentTopologyZShift(
double val);
326 static double GetResolveCoincidentTopologyZShift();
342 vtkGetMacro(RenderTime,
double);
359 {
return this->GetInput();}
371 vtkSetMacro(ScalarMaterialMode,
int);
372 vtkGetMacro(ScalarMaterialMode,
int);
384 const char *GetScalarMaterialModeAsString();
411 double ScalarRange[2];
virtual unsigned long GetMTime()
void SetScalarModeToUsePointData()
void SetScalarModeToDefault()
static void SetResolveCoincidentTopologyToShiftZBuffer()
represents an object (geometry & properties) in a rendered scene
#define VTK_SCALAR_MODE_USE_CELL_FIELD_DATA
void SetScalarMaterialModeToAmbientAndDiffuse()
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkDataSet * GetInputAsDataSet()
abstract class to specify dataset behavior
static void SetResolveCoincidentTopologyToOff()
record modification and/or execution time
void SetScalarModeToUseCellData()
dynamic, self-adjusting array of float
vtkImageData * ColorTextureMap
#define VTK_RESOLVE_SHIFT_ZBUFFER
void SetScalarMaterialModeToDiffuse()
static void GlobalImmediateModeRenderingOff()
void SetColorModeToDefault()
abstract specification for renderers
static void SetResolveCoincidentTopologyToPolygonOffset()
void SetScalarModeToUseFieldData()
vtkUnsignedCharArray * Colors
#define VTK_MATERIALMODE_DIFFUSE
Superclass for mapping scalar values into colors.
window superclass for vtkRenderWindow
void SetScalarMaterialModeToAmbient()
void SetRenderTime(double time)
#define VTK_COLOR_MODE_MAP_SCALARS
#define VTK_SCALAR_MODE_USE_POINT_DATA
a simple class to control print indentation
void SetScalarModeToUsePointFieldData()
topologically and geometrically regular array of data
#define VTK_SCALAR_MODE_USE_POINT_FIELD_DATA
abstract superclass for arrays of numeric data
#define VTK_MATERIALMODE_AMBIENT
static void SetGlobalImmediateModeRendering(int val)
int ImmediateModeRendering
virtual double * GetBounds()=0
abstract class specifies interface to map 3D data
int InterpolateScalarsBeforeMapping
#define VTK_COLOR_MODE_DEFAULT
#define VTK_SCALAR_MODE_USE_FIELD_DATA
abstract class specifies interface to map data to graphics primitives
dynamic, self-adjusting array of unsigned char
virtual void GetBounds(double bounds[6])
abstract class specifies interface to map data
void SetColorModeToMapScalars()
#define VTK_MATERIALMODE_DEFAULT
void PrintSelf(ostream &os, vtkIndent indent)
void ShallowCopy(vtkAbstractMapper *m)
vtkFloatArray * ColorCoordinates
int UseLookupTableScalarRange
virtual bool GetSupportsSelection()
void SetScalarMaterialModeToDefault()
#define VTK_SCALAR_MODE_USE_CELL_DATA
#define VTK_RESOLVE_POLYGON_OFFSET
void SetScalarModeToUseCellFieldData()
vtkScalarsToColors * LookupTable
static void GlobalImmediateModeRenderingOn()
#define VTK_SCALAR_MODE_DEFAULT
#define VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE