VTK
vtkVolumeRayCastIsosurfaceFunction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkVolumeRayCastIsosurfaceFunction.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
37 #ifndef vtkVolumeRayCastIsosurfaceFunction_h
38 #define vtkVolumeRayCastIsosurfaceFunction_h
39 
40 #include "vtkRenderingVolumeModule.h" // For export macro
42 
43 #if !defined(VTK_LEGACY_REMOVE)
44 class VTKRENDERINGVOLUME_EXPORT vtkVolumeRayCastIsosurfaceFunction : public vtkVolumeRayCastFunction
45 {
46 public:
48  void PrintSelf( ostream& os, vtkIndent indent );
49 
54 
59 
61 
64  vtkSetMacro( IsoValue, double );
65  vtkGetMacro( IsoValue, double );
67 
68 
72  double IsoValue;
73 
77  float Color[3];
78 
80  vtkVolumeRayCastStaticInfo *staticInfo);
81 
82 protected:
85 
87  vtkVolume *vol,
88  vtkVolumeRayCastStaticInfo *staticInfo,
89  vtkVolumeRayCastMapper *mapper );
90 
91 private:
93  void operator=(const vtkVolumeRayCastIsosurfaceFunction&) VTK_DELETE_FUNCTION;
94 };
95 #endif // VTK_LEGACY_REMOVE
96 #endif
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract specification for renderers
Definition: vtkRenderer.h:64
a superclass for ray casting functions
An isosurface ray caster for volumes.
float GetZeroOpacityThreshold(vtkVolume *vol)
Get the scalar value below which all scalar values have 0 opacity.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SpecificFunctionInitialize(vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper)
This method gives the subclass a chance to do any special initialization that it may need to do.
double IsoValue
This is the isovalue at which to view a surface.
static vtkVolumeRayCastIsosurfaceFunction * New()
Construct a new vtkVolumeRayCastIsosurfaceFunction.
void CastRay(vtkVolumeRayCastDynamicInfo *dynamicInfo, vtkVolumeRayCastStaticInfo *staticInfo)
A slow but accurate mapper for rendering volumes.
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:51
@ Color
Definition: vtkX3D.h:46
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.