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 =========================================================================*/
34 #ifndef vtkVolumeRayCastIsosurfaceFunction_h
35 #define vtkVolumeRayCastIsosurfaceFunction_h
36 
37 #include "vtkRenderingVolumeModule.h" // For export macro
39 
40 #if !defined(VTK_LEGACY_REMOVE)
41 class VTKRENDERINGVOLUME_EXPORT vtkVolumeRayCastIsosurfaceFunction : public vtkVolumeRayCastFunction
42 {
43 public:
45  void PrintSelf( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
46 
51 
55  float GetZeroOpacityThreshold( vtkVolume *vol ) VTK_OVERRIDE;
56 
58 
61  vtkSetMacro( IsoValue, double );
62  vtkGetMacro( IsoValue, double );
64 
65 
69  double IsoValue;
70 
74  float Color[3];
75 
76  void CastRay( vtkVolumeRayCastDynamicInfo *dynamicInfo,
77  vtkVolumeRayCastStaticInfo *staticInfo) VTK_OVERRIDE;
78 
79 protected:
81  ~vtkVolumeRayCastIsosurfaceFunction() VTK_OVERRIDE;
82 
83  void SpecificFunctionInitialize( vtkRenderer *ren,
84  vtkVolume *vol,
85  vtkVolumeRayCastStaticInfo *staticInfo,
86  vtkVolumeRayCastMapper *mapper ) VTK_OVERRIDE;
87 
88 private:
90  void operator=(const vtkVolumeRayCastIsosurfaceFunction&) VTK_DELETE_FUNCTION;
91 };
92 #endif // VTK_LEGACY_REMOVE
93 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:44
An isosurface ray caster for volumes.
abstract specification for renderers
Definition: vtkRenderer.h:57
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:33
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
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...