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);
145 void SetColorModeToDefault()
147 void SetColorModeToMapScalars()
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);
201 static void GlobalImmediateModeRenderingOn()
203 static void GlobalImmediateModeRenderingOff()
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();
294 static void SetResolveCoincidentTopologyToOff()
296 static void SetResolveCoincidentTopologyToPolygonOffset()
298 static void SetResolveCoincidentTopologyToShiftZBuffer()
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);
373 void SetScalarMaterialModeToDefault()
375 void SetScalarMaterialModeToAmbient()
377 void SetScalarMaterialModeToDiffuse()
379 void SetScalarMaterialModeToAmbientAndDiffuse()
384 const char *GetScalarMaterialModeAsString();
391 virtual bool GetSupportsSelection()
411 double ScalarRange[2];