VTK
dox
Rendering
Volume
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
34
#ifndef vtkUnstructuredGridVolumeRayIntegrator_h
35
#define vtkUnstructuredGridVolumeRayIntegrator_h
36
37
#include "vtkRenderingVolumeModule.h"
// For export macro
38
#include "
vtkObject.h
"
39
40
class
vtkVolume
;
41
class
vtkDoubleArray
;
42
class
vtkDataArray
;
43
44
class
VTKRENDERINGVOLUME_EXPORT
vtkUnstructuredGridVolumeRayIntegrator
:
public
vtkObject
45
{
46
public
:
47
vtkTypeMacro(
vtkUnstructuredGridVolumeRayIntegrator
,
vtkObject
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
49
53
virtual
void
Initialize(
vtkVolume
*volume,
54
vtkDataArray
* scalars) = 0;
55
65
virtual
void
Integrate(
vtkDoubleArray
*intersectionLengths,
66
vtkDataArray
*nearIntersections,
67
vtkDataArray
*farIntersections,
68
float
color
[4]) = 0;
69
70
protected
:
71
vtkUnstructuredGridVolumeRayIntegrator
();
72
~
vtkUnstructuredGridVolumeRayIntegrator
();
73
74
private
:
75
vtkUnstructuredGridVolumeRayIntegrator
(
const
vtkUnstructuredGridVolumeRayIntegrator
&) VTK_DELETE_FUNCTION;
76
void
operator=(
const
vtkUnstructuredGridVolumeRayIntegrator
&) VTK_DELETE_FUNCTION;
77
};
78
79
#endif
80
vtkUnstructuredGridVolumeRayIntegrator
a superclass for volume ray integration functions
Definition:
vtkUnstructuredGridVolumeRayIntegrator.h:44
vtkVolume
represents a volume (data & properties) in a rendered scene
Definition:
vtkVolume.h:50
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:54
vtkX3D::color
Definition:
vtkX3D.h:221
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkDoubleArray
dynamic, self-adjusting array of double
Definition:
vtkDoubleArray.h:41
Generated by
1.8.16