VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
VolumeRendering
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
42
class
VTK_VOLUMERENDERING_EXPORT
vtkUnstructuredGridVolumeRayIntegrator
:
public
vtkObject
43
{
44
public
:
45
vtkTypeMacro(
vtkUnstructuredGridVolumeRayIntegrator
,
vtkObject
);
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
:
69
vtkUnstructuredGridVolumeRayIntegrator
();
70
~
vtkUnstructuredGridVolumeRayIntegrator
();
71
72
private
:
73
vtkUnstructuredGridVolumeRayIntegrator
(
const
vtkUnstructuredGridVolumeRayIntegrator
&);
// Not implemented.
74
void
operator=(
const
vtkUnstructuredGridVolumeRayIntegrator
&);
// Not implemented.
75
};
76
77
#endif
78
Generated on Wed Nov 21 2012 21:34:07 for VTK by
1.8.2