68 #define VTK_RESOLVE_OFF 0
69 #define VTK_RESOLVE_POLYGON_OFFSET 1
70 #define VTK_RESOLVE_SHIFT_ZBUFFER 2
72 #define VTK_GET_ARRAY_BY_ID 0
73 #define VTK_GET_ARRAY_BY_NAME 1
75 #define VTK_MATERIALMODE_DEFAULT 0
76 #define VTK_MATERIALMODE_AMBIENT 1
77 #define VTK_MATERIALMODE_DIFFUSE 2
78 #define VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE 3
119 virtual void CreateDefaultLookupTable();
124 vtkSetMacro(ScalarVisibility,
int);
125 vtkGetMacro(ScalarVisibility,
int);
126 vtkBooleanMacro(ScalarVisibility,
int);
134 vtkSetMacro(Static,
int);
135 vtkGetMacro(Static,
int);
136 vtkBooleanMacro(Static,
int);
149 vtkSetMacro(ColorMode,
int);
150 vtkGetMacro(ColorMode,
int);
160 const char *GetColorModeAsString();
166 vtkSetMacro(InterpolateScalarsBeforeMapping,
int);
167 vtkGetMacro(InterpolateScalarsBeforeMapping,
int);
168 vtkBooleanMacro(InterpolateScalarsBeforeMapping,
int);
178 vtkSetMacro(UseLookupTableScalarRange,
int);
179 vtkGetMacro(UseLookupTableScalarRange,
int);
180 vtkBooleanMacro(UseLookupTableScalarRange,
int);
187 vtkSetVector2Macro(ScalarRange,
double);
188 vtkGetVectorMacro(ScalarRange,
double, 2);
197 vtkSetMacro(ImmediateModeRendering,
int);
198 vtkGetMacro(ImmediateModeRendering,
int);
199 vtkBooleanMacro(ImmediateModeRendering,
int);
208 static void SetGlobalImmediateModeRendering(
int val);
213 static int GetGlobalImmediateModeRendering();
225 vtkGetMacro(ForceCompileOnly,
int);
226 void SetForceCompileOnly(
int value);
253 vtkSetMacro(ScalarMode,
int);
254 vtkGetMacro(ScalarMode,
int);
272 void SelectColorArray(
int arrayNum);
273 void SelectColorArray(
const char* arrayName);
283 vtkSetMacro(FieldDataTupleId,
vtkIdType);
284 vtkGetMacro(FieldDataTupleId,
vtkIdType);
289 void ColorByArrayComponent(
int arrayNum,
int component);
290 void ColorByArrayComponent(
const char* arrayName,
int component);
302 const char *GetScalarModeAsString();
315 static void SetResolveCoincidentTopology(
int val);
316 static int GetResolveCoincidentTopology();
317 static void SetResolveCoincidentTopologyToDefault();
330 static void SetResolveCoincidentTopologyPolygonOffsetParameters(
331 double factor,
double units);
332 static void GetResolveCoincidentTopologyPolygonOffsetParameters(
333 double& factor,
double& units);
342 static void SetResolveCoincidentTopologyPolygonOffsetFaces(
int faces);
343 static int GetResolveCoincidentTopologyPolygonOffsetFaces();
349 static void SetResolveCoincidentTopologyZShift(
double val);
350 static double GetResolveCoincidentTopologyZShift();
366 vtkGetMacro(RenderTime,
double);
383 {
return this->GetInput(); }
399 vtkSetMacro(ScalarMaterialMode,
int);
400 vtkGetMacro(ScalarMaterialMode,
int);
412 const char *GetScalarMaterialModeAsString();
441 virtual int CanUseTextureMapForColoring(
vtkDataObject* input);
460 double ScalarRange[2];
vtkIdType FieldDataTupleId
virtual unsigned long GetMTime()
#define VTK_COLOR_MODE_DIRECT_SCALARS
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
Abstract superclass for all arrays.
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()
virtual bool GetIsOpaque()
vtkUnsignedCharArray * Colors
void SetColorModeToDirectScalars()
#define VTK_MATERIALMODE_DIFFUSE
Superclass for mapping scalar values to 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
#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
#define VTKRENDERINGCORE_EXPORT
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
general representation of visualization data
void SetScalarModeToUseCellFieldData()
vtkScalarsToColors * LookupTable
static void GlobalImmediateModeRenderingOn()
#define VTK_SCALAR_MODE_DEFAULT
#define VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE