67 #define VTK_RESOLVE_OFF 0
68 #define VTK_RESOLVE_POLYGON_OFFSET 1
69 #define VTK_RESOLVE_SHIFT_ZBUFFER 2
71 #define VTK_GET_ARRAY_BY_ID 0
72 #define VTK_GET_ARRAY_BY_NAME 1
74 #define VTK_MATERIALMODE_DEFAULT 0
75 #define VTK_MATERIALMODE_AMBIENT 1
76 #define VTK_MATERIALMODE_DIFFUSE 2
77 #define VTK_MATERIALMODE_AMBIENT_AND_DIFFUSE 3
116 virtual void CreateDefaultLookupTable();
121 vtkSetMacro(ScalarVisibility,
int);
122 vtkGetMacro(ScalarVisibility,
int);
123 vtkBooleanMacro(ScalarVisibility,
int);
131 vtkSetMacro(Static,
int);
132 vtkGetMacro(Static,
int);
133 vtkBooleanMacro(Static,
int);
144 vtkSetMacro(ColorMode,
int);
145 vtkGetMacro(ColorMode,
int);
153 const char *GetColorModeAsString();
159 vtkSetMacro(InterpolateScalarsBeforeMapping,
int);
160 vtkGetMacro(InterpolateScalarsBeforeMapping,
int);
161 vtkBooleanMacro(InterpolateScalarsBeforeMapping,
int);
171 vtkSetMacro(UseLookupTableScalarRange,
int);
172 vtkGetMacro(UseLookupTableScalarRange,
int);
173 vtkBooleanMacro(UseLookupTableScalarRange,
int);
180 vtkSetVector2Macro(ScalarRange,
double);
181 vtkGetVectorMacro(ScalarRange,
double, 2);
190 vtkSetMacro(ImmediateModeRendering,
int);
191 vtkGetMacro(ImmediateModeRendering,
int);
192 vtkBooleanMacro(ImmediateModeRendering,
int);
201 static void SetGlobalImmediateModeRendering(
int val);
206 static int GetGlobalImmediateModeRendering();
218 vtkGetMacro(ForceCompileOnly,
int);
219 void SetForceCompileOnly(
int value);
239 vtkSetMacro(ScalarMode,
int);
240 vtkGetMacro(ScalarMode,
int);
259 void SelectColorArray(
int arrayNum);
260 void SelectColorArray(
const char* arrayName);
266 void ColorByArrayComponent(
int arrayNum,
int component);
267 void ColorByArrayComponent(
const char* arrayName,
int component);
279 const char *GetScalarModeAsString();
292 static void SetResolveCoincidentTopology(
int val);
293 static int GetResolveCoincidentTopology();
294 static void SetResolveCoincidentTopologyToDefault();
307 static void SetResolveCoincidentTopologyPolygonOffsetParameters(
308 double factor,
double units);
309 static void GetResolveCoincidentTopologyPolygonOffsetParameters(
310 double& factor,
double& units);
319 static void SetResolveCoincidentTopologyPolygonOffsetFaces(
int faces);
320 static int GetResolveCoincidentTopologyPolygonOffsetFaces();
326 static void SetResolveCoincidentTopologyZShift(
double val);
327 static double GetResolveCoincidentTopologyZShift();
343 vtkGetMacro(RenderTime,
double);
360 {
return this->GetInput(); }
372 vtkSetMacro(ScalarMaterialMode,
int);
373 vtkGetMacro(ScalarMaterialMode,
int);
385 const char *GetScalarMaterialModeAsString();
424 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()
GLsizei const GLfloat * value
virtual bool GetIsOpaque()
vtkUnsignedCharArray * Colors
#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
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
GLboolean GLboolean GLboolean GLboolean a
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()
GLclampf GLclampf GLclampf alpha
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