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

vtkUnstructuredGridVolumeRayIntegrator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkUnstructuredGridVolumeRayIntegrator.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 =========================================================================*/
00015 
00041 #ifndef __vtkUnstructuredGridVolumeRayIntegrator_h
00042 #define __vtkUnstructuredGridVolumeRayIntegrator_h
00043 
00044 #include "vtkObject.h"
00045 
00046 class vtkVolumeProperty;
00047 class vtkDoubleArray;
00048 class vtkDataArray;
00049 
00050 class VTK_RENDERING_EXPORT vtkUnstructuredGridVolumeRayIntegrator : public vtkObject
00051 {
00052 public:
00053   vtkTypeRevisionMacro(vtkUnstructuredGridVolumeRayIntegrator,vtkObject);
00054   virtual void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057 
00058   virtual void Initialize(vtkVolumeProperty *property,
00059                           vtkDataArray* scalars) = 0;
00061 
00063 
00070   virtual void Integrate(vtkDoubleArray *intersectionLengths,
00071                          vtkDataArray *nearIntersections,
00072                          vtkDataArray *farIntersections,
00073                          float color[4]) = 0;
00075 
00076 protected:
00077   vtkUnstructuredGridVolumeRayIntegrator();
00078   ~vtkUnstructuredGridVolumeRayIntegrator();
00079 
00080 private:
00081   vtkUnstructuredGridVolumeRayIntegrator(const vtkUnstructuredGridVolumeRayIntegrator&);  // Not implemented.
00082   void operator=(const vtkUnstructuredGridVolumeRayIntegrator&);  // Not implemented.
00083 };
00084 
00085 #endif
00086