VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkImplicitVolume.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImplicitVolume.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
=========================================================================*/
39
#ifndef __vtkImplicitVolume_h
40
#define __vtkImplicitVolume_h
41
42
#include "
vtkImplicitFunction.h
"
43
44
class
vtkIdList
;
45
class
vtkImageData
;
46
47
class
VTK_FILTERING_EXPORT
vtkImplicitVolume
:
public
vtkImplicitFunction
48
{
49
public
:
50
vtkTypeMacro(
vtkImplicitVolume
,
vtkImplicitFunction
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent);
52
55
static
vtkImplicitVolume
*
New
();
56
60
unsigned
long
GetMTime
();
61
63
65
double
EvaluateFunction
(
double
x[3]);
66
double
EvaluateFunction
(
double
x,
double
y,
double
z)
67
{
return
this->
vtkImplicitFunction::EvaluateFunction
(x, y, z); } ;
69
71
void
EvaluateGradient
(
double
x[3],
double
n[3]);
72
74
75
virtual
void
SetVolume(
vtkImageData
*);
76
vtkGetObjectMacro(Volume,
vtkImageData
);
78
80
81
vtkSetMacro(OutValue,
double
);
82
vtkGetMacro(OutValue,
double
);
84
86
87
vtkSetVector3Macro(OutGradient,
double
);
88
vtkGetVector3Macro(OutGradient,
double
);
90
91
protected
:
92
vtkImplicitVolume
();
93
~
vtkImplicitVolume
();
94
95
vtkImageData
*
Volume
;
// the structured points
96
double
OutValue
;
97
double
OutGradient[3];
98
// to replace a static
99
vtkIdList
*
PointIds
;
100
101
private
:
102
vtkImplicitVolume
(
const
vtkImplicitVolume
&);
// Not implemented.
103
void
operator=(
const
vtkImplicitVolume
&);
// Not implemented.
104
};
105
106
#endif
107
108
Generated on Thu Mar 13 2014 08:09:55 for VTK by
1.8.1.2