VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkImplicitDataSet.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImplicitDataSet.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
=========================================================================*/
42
#ifndef __vtkImplicitDataSet_h
43
#define __vtkImplicitDataSet_h
44
45
#include "
vtkImplicitFunction.h
"
46
47
class
vtkDataSet
;
48
49
class
VTK_FILTERING_EXPORT
vtkImplicitDataSet
:
public
vtkImplicitFunction
50
{
51
public
:
52
vtkTypeMacro(
vtkImplicitDataSet
,
vtkImplicitFunction
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
57
static
vtkImplicitDataSet
*
New
();
58
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
SetDataSet(
vtkDataSet
*);
76
vtkGetObjectMacro(DataSet,
vtkDataSet
);
78
80
82
vtkSetMacro(OutValue,
double
);
83
vtkGetMacro(OutValue,
double
);
85
87
89
vtkSetVector3Macro(OutGradient,
double
);
90
vtkGetVector3Macro(OutGradient,
double
);
92
93
protected
:
94
vtkImplicitDataSet
();
95
~
vtkImplicitDataSet
();
96
97
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
98
99
vtkDataSet
*
DataSet
;
100
double
OutValue
;
101
double
OutGradient[3];
102
103
double
*
Weights
;
//used to compute interpolation weights
104
int
Size
;
//keeps track of length of weights array
105
106
private
:
107
vtkImplicitDataSet
(
const
vtkImplicitDataSet
&);
// Not implemented.
108
void
operator=(
const
vtkImplicitDataSet
&);
// Not implemented.
109
};
110
111
#endif
112
113
Generated on Wed Nov 21 2012 21:33:45 for VTK by
1.8.2