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
31
#ifndef vtkUnstructuredGridVolumeRayIntegrator_h
32
#define vtkUnstructuredGridVolumeRayIntegrator_h
33
34
#include "vtkRenderingVolumeModule.h"
// For export macro
35
#include "
vtkObject.h
"
36
37
class
vtkVolume
;
38
class
vtkDoubleArray
;
39
class
vtkDataArray
;
40
41
class
VTKRENDERINGVOLUME_EXPORT
vtkUnstructuredGridVolumeRayIntegrator
:
public
vtkObject
42
{
43
public
:
44
vtkTypeMacro(
vtkUnstructuredGridVolumeRayIntegrator
,
vtkObject
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
50
virtual
void
Initialize(
vtkVolume
*volume,
51
vtkDataArray
* scalars) = 0;
52
62
virtual
void
Integrate(
vtkDoubleArray
*intersectionLengths,
63
vtkDataArray
*nearIntersections,
64
vtkDataArray
*farIntersections,
65
float
color
[4]) = 0;
66
67
protected
:
68
vtkUnstructuredGridVolumeRayIntegrator
();
69
~
vtkUnstructuredGridVolumeRayIntegrator
()
override
;
70
71
private
:
72
vtkUnstructuredGridVolumeRayIntegrator
(
const
vtkUnstructuredGridVolumeRayIntegrator
&) =
delete
;
73
void
operator=(
const
vtkUnstructuredGridVolumeRayIntegrator
&) =
delete
;
74
};
75
76
#endif
77
vtkUnstructuredGridVolumeRayIntegrator
a superclass for volume ray integration functions
Definition:
vtkUnstructuredGridVolumeRayIntegrator.h:41
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