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

vtkVolumeRayCastIsosurfaceFunction.h

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