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 "vtkRenderingVolumeModule.h" // For export macro
37 #include "vtkObject.h"
38 
39 class vtkVolume;
40 class vtkDoubleArray;
41 class vtkDataArray;
42 
44 {
45 public:
47  virtual void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
51  virtual void Initialize(vtkVolume *volume,
52  vtkDataArray* scalars) = 0;
54 
56 
63  virtual void Integrate(vtkDoubleArray *intersectionLengths,
64  vtkDataArray *nearIntersections,
65  vtkDataArray *farIntersections,
66  float color[4]) = 0;
68 
69 protected:
72 
73 private:
75  void operator=(const vtkUnstructuredGridVolumeRayIntegrator&); // Not implemented.
76 };
77 
78 #endif
79 
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:49
abstract base class for most VTK objects
Definition: vtkObject.h:61
#define VTKRENDERINGVOLUME_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:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54