Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Rendering/vtkVolumeRayCastIsosurfaceFunction.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkVolumeRayCastIsosurfaceFunction.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00039 #ifndef __vtkVolumeRayCastIsosurfaceFunction_h 00040 #define __vtkVolumeRayCastIsosurfaceFunction_h 00041 00042 #include "vtkVolumeRayCastFunction.h" 00043 00044 class VTK_RENDERING_EXPORT vtkVolumeRayCastIsosurfaceFunction : public vtkVolumeRayCastFunction 00045 { 00046 public: 00047 vtkTypeRevisionMacro(vtkVolumeRayCastIsosurfaceFunction,vtkVolumeRayCastFunction); 00048 void PrintSelf( ostream& os, vtkIndent indent ); 00049 00051 static vtkVolumeRayCastIsosurfaceFunction *New(); 00052 00054 float GetZeroOpacityThreshold( vtkVolume *vol ); 00055 00057 00058 vtkSetMacro( IsoValue, float ); 00059 vtkGetMacro( IsoValue, float ); 00061 00062 00064 float IsoValue; 00065 00067 float Color[3]; 00068 00069 //BTX 00070 void CastRay( vtkVolumeRayCastDynamicInfo *dynamicInfo, 00071 vtkVolumeRayCastStaticInfo *staticInfo); 00072 //ETX 00073 00074 protected: 00075 vtkVolumeRayCastIsosurfaceFunction(); 00076 ~vtkVolumeRayCastIsosurfaceFunction(); 00077 00078 //BTX 00079 void SpecificFunctionInitialize( vtkRenderer *ren, 00080 vtkVolume *vol, 00081 vtkVolumeRayCastStaticInfo *staticInfo, 00082 vtkVolumeRayCastMapper *mapper ); 00083 //ETX 00084 private: 00085 vtkVolumeRayCastIsosurfaceFunction(const vtkVolumeRayCastIsosurfaceFunction&); // Not implemented. 00086 void operator=(const vtkVolumeRayCastIsosurfaceFunction&); // Not implemented. 00087 }; 00088 #endif