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 
39 
41 {
42 public:
44  void PrintSelf( ostream& os, vtkIndent indent );
45 
48 
50  float GetZeroOpacityThreshold( vtkVolume *vol );
51 
53 
54  vtkSetMacro( IsoValue, double );
55  vtkGetMacro( IsoValue, double );
57 
58 
60  double IsoValue;
61 
63  float Color[3];
64 
65 //BTX
66  void CastRay( vtkVolumeRayCastDynamicInfo *dynamicInfo,
67  vtkVolumeRayCastStaticInfo *staticInfo);
68 //ETX
69 
70 protected:
73 
74 //BTX
76  vtkVolume *vol,
77  vtkVolumeRayCastStaticInfo *staticInfo,
78  vtkVolumeRayCastMapper *mapper );
79 //ETX
80 private:
82  void operator=(const vtkVolumeRayCastIsosurfaceFunction&); // Not implemented.
83 };
84 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:48
An isosurface ray caster for volumes.
#define VTK_VOLUMERENDERING_EXPORT
abstract specification for renderers
Definition: vtkRenderer.h:69
virtual float GetZeroOpacityThreshold(vtkVolume *vol)=0
a simple class to control print indentation
Definition: vtkIndent.h:37
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()