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 
58  float GetZeroOpacityThreshold( vtkVolume *vol );
59 
61 
64  vtkSetMacro( IsoValue, double );
65  vtkGetMacro( IsoValue, double );
67 
68 
72  double IsoValue;
73 
77  float Color[3];
78 
79  void CastRay( vtkVolumeRayCastDynamicInfo *dynamicInfo,
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
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:50
An isosurface ray caster for volumes.
abstract specification for renderers
Definition: vtkRenderer.h:63
double IsoValue
This is the isovalue at which to view a surface.
virtual float GetZeroOpacityThreshold(vtkVolume *vol)=0
Get the value below which all scalar values are considered to have 0 opacity.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
a superclass for ray casting functions
A slow but accurate mapper for rendering volumes.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void CastRay(vtkVolumeRayCastDynamicInfo *dynamicInfo, vtkVolumeRayCastStaticInfo *staticInfo)=0
virtual void SpecificFunctionInitialize(vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper)=0
This method gives the subclass a chance to do any special initialization that it may need to do...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...