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

Rendering/vtkUnstructuredGridVolumeRayCastFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkUnstructuredGridVolumeRayCastFunction.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 =========================================================================*/
00016 
00029 #ifndef __vtkUnstructuredGridVolumeRayCastFunction_h
00030 #define __vtkUnstructuredGridVolumeRayCastFunction_h
00031 
00032 #include "vtkObject.h"
00033 
00034 class vtkRenderer;
00035 class vtkVolume;
00036 
00037 class VTK_RENDERING_EXPORT vtkUnstructuredGridVolumeRayCastFunction : public vtkObject
00038 {
00039 public:
00040   vtkTypeRevisionMacro(vtkUnstructuredGridVolumeRayCastFunction,vtkObject);
00041   virtual void PrintSelf(ostream& os, vtkIndent indent);
00042 
00043 //BTX
00044   virtual void Initialize( vtkRenderer *ren, vtkVolume   *vol )=0;
00045   
00046   virtual void Finalize( )=0;
00047 
00048   virtual void CastRay( int x, int y, double bounds[2], float color[4] )=0;
00049 //ETX
00050 
00051 
00052 protected:
00053   vtkUnstructuredGridVolumeRayCastFunction() {};
00054   ~vtkUnstructuredGridVolumeRayCastFunction() {};
00055 
00056 private:
00057   vtkUnstructuredGridVolumeRayCastFunction(const vtkUnstructuredGridVolumeRayCastFunction&);  // Not implemented.
00058   void operator=(const vtkUnstructuredGridVolumeRayCastFunction&);  // Not implemented.
00059 };
00060 
00061 #endif
00062 
00063 
00064 
00065 
00066 
00067 
00068