VTK
vtkUnstructuredGridVolumeRayIntegrator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridVolumeRayIntegrator.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 =========================================================================*/
15 
33 #ifndef __vtkUnstructuredGridVolumeRayIntegrator_h
34 #define __vtkUnstructuredGridVolumeRayIntegrator_h
35 
36 #include "vtkObject.h"
37 
38 class vtkVolume;
39 class vtkDoubleArray;
40 class vtkDataArray;
41 
43 {
44 public:
46  virtual void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  virtual void Initialize(vtkVolume *volume,
51  vtkDataArray* scalars) = 0;
53 
55 
62  virtual void Integrate(vtkDoubleArray *intersectionLengths,
63  vtkDataArray *nearIntersections,
64  vtkDataArray *farIntersections,
65  float color[4]) = 0;
67 
68 protected:
71 
72 private:
74  void operator=(const vtkUnstructuredGridVolumeRayIntegrator&); // Not implemented.
75 };
76 
77 #endif
78 
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:48
abstract base class for most VTK objects
Definition: vtkObject.h:60
#define VTK_VOLUMERENDERING_EXPORT
dynamic, self-adjusting array of double
a superclass for volume ray integration functions
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53