VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
VolumeRendering
vtkUnstructuredGridHomogeneousRayIntegrator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkUnstructuredGridHomogeneousRayIntegrator.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
16
/*
17
* Copyright 2004 Sandia Corporation.
18
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
19
* license for use of this work by or on behalf of the
20
* U.S. Government. Redistribution and use in source and binary forms, with
21
* or without modification, are permitted provided that this Notice and any
22
* statement of authorship are reproduced on all copies.
23
*/
24
39
#ifndef __vtkUnstructuredGridHomogeneousRayIntegrator_h
40
#define __vtkUnstructuredGridHomogeneousRayIntegrator_h
41
42
#include "
vtkUnstructuredGridVolumeRayIntegrator.h
"
43
44
class
vtkVolumeProperty
;
45
46
class
VTK_VOLUMERENDERING_EXPORT
vtkUnstructuredGridHomogeneousRayIntegrator
:
public
vtkUnstructuredGridVolumeRayIntegrator
47
{
48
public
:
49
vtkTypeMacro(
vtkUnstructuredGridHomogeneousRayIntegrator
,
50
vtkUnstructuredGridVolumeRayIntegrator
);
51
static
vtkUnstructuredGridHomogeneousRayIntegrator
*
New
();
52
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
53
54
virtual
void
Initialize
(
vtkVolume
*volume,
vtkDataArray
*scalars);
55
56
virtual
void
Integrate
(
vtkDoubleArray
*intersectionLengths,
57
vtkDataArray
*nearIntersections,
58
vtkDataArray
*farIntersections,
59
float
color
[4]);
60
62
65
vtkSetMacro(TransferFunctionTableSize,
int
);
66
vtkGetMacro(TransferFunctionTableSize,
int
);
68
69
protected
:
70
vtkUnstructuredGridHomogeneousRayIntegrator
();
71
~
vtkUnstructuredGridHomogeneousRayIntegrator
();
72
73
vtkVolume
*
Volume
;
74
vtkVolumeProperty
*
Property
;
75
76
int
NumComponents
;
77
float
**
ColorTable
;
78
float
**
AttenuationTable
;
79
double
*
TableShift
;
80
double
*
TableScale
;
81
vtkTimeStamp
TablesBuilt
;
82
83
int
UseAverageColor
;
84
int
TransferFunctionTableSize
;
85
86
virtual
void
GetTransferFunctionTables(
vtkDataArray
*scalars);
87
88
private
:
89
vtkUnstructuredGridHomogeneousRayIntegrator
(
const
vtkUnstructuredGridHomogeneousRayIntegrator
&);
// Not implemented.
90
void
operator=(
const
vtkUnstructuredGridHomogeneousRayIntegrator
&);
// Not implemented
91
};
92
93
#endif //__vtkUnstructuredGridHomogeneousRayIntegrator_h
Generated on Sun Sep 9 2012 13:03:49 for VTK by
1.8.1.2