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 
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
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:49
#define VTKRENDERINGVOLUME_EXPORT
An isosurface ray caster for volumes.
abstract specification for renderers
Definition: vtkRenderer.h:63
virtual float GetZeroOpacityThreshold(vtkVolume *vol)=0
a simple class to control print indentation
Definition: vtkIndent.h:38
a superclass for ray casting functions
A slow but accurate mapper for rendering volumes.
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void CastRay(vtkVolumeRayCastDynamicInfo *dynamicInfo, vtkVolumeRayCastStaticInfo *staticInfo)=0
virtual void SpecificFunctionInitialize(vtkRenderer *ren, vtkVolume *vol, vtkVolumeRayCastStaticInfo *staticInfo, vtkVolumeRayCastMapper *mapper)=0
static vtkObject * New()