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 =========================================================================*/
35 #ifndef __vtkVolumeRayCastIsosurfaceFunction_h
36 #define __vtkVolumeRayCastIsosurfaceFunction_h
37 
38 #include "vtkRenderingVolumeModule.h" // For export macro
40 
41 class VTKRENDERINGVOLUME_EXPORT vtkVolumeRayCastIsosurfaceFunction : public vtkVolumeRayCastFunction
42 {
43 public:
45  void PrintSelf( ostream& os, vtkIndent indent );
46 
49 
51  float GetZeroOpacityThreshold( vtkVolume *vol );
52 
54 
55  vtkSetMacro( IsoValue, double );
56  vtkGetMacro( IsoValue, double );
58 
59 
61  double IsoValue;
62 
64  float Color[3];
65 
66 //BTX
67  void CastRay( vtkVolumeRayCastDynamicInfo *dynamicInfo,
68  vtkVolumeRayCastStaticInfo *staticInfo);
69 //ETX
70 
71 protected:
74 
75 //BTX
77  vtkVolume *vol,
78  vtkVolumeRayCastStaticInfo *staticInfo,
79  vtkVolumeRayCastMapper *mapper );
80 //ETX
81 private:
83  void operator=(const vtkVolumeRayCastIsosurfaceFunction&); // Not implemented.
84 };
85 #endif