VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
DataModel
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 "vtkCommonDataModelModule.h"
// For export macro
46
#include "
vtkImplicitFunction.h
"
47
48
class
vtkDataSet
;
49
50
class
VTKCOMMONDATAMODEL_EXPORT
vtkImplicitDataSet
:
public
vtkImplicitFunction
51
{
52
public
:
53
vtkTypeMacro(
vtkImplicitDataSet
,
vtkImplicitFunction
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
58
static
vtkImplicitDataSet
*
New
();
59
61
unsigned
long
GetMTime
();
62
64
66
double
EvaluateFunction
(
double
x[3]);
67
double
EvaluateFunction
(
double
x,
double
y,
double
z)
68
{
return
this->
vtkImplicitFunction::EvaluateFunction
(x, y, z); } ;
70
72
void
EvaluateGradient
(
double
x[3],
double
n[3]);
73
75
76
virtual
void
SetDataSet(
vtkDataSet
*);
77
vtkGetObjectMacro(DataSet,
vtkDataSet
);
79
81
83
vtkSetMacro(OutValue,
double
);
84
vtkGetMacro(OutValue,
double
);
86
88
90
vtkSetVector3Macro(OutGradient,
double
);
91
vtkGetVector3Macro(OutGradient,
double
);
93
94
protected
:
95
vtkImplicitDataSet
();
96
~
vtkImplicitDataSet
();
97
98
virtual
void
ReportReferences
(
vtkGarbageCollector
*);
99
100
vtkDataSet
*
DataSet
;
101
double
OutValue
;
102
double
OutGradient[3];
103
104
double
*
Weights
;
//used to compute interpolation weights
105
int
Size
;
//keeps track of length of weights array
106
107
private
:
108
vtkImplicitDataSet
(
const
vtkImplicitDataSet
&);
// Not implemented.
109
void
operator=(
const
vtkImplicitDataSet
&);
// Not implemented.
110
};
111
112
#endif
113
114
Generated on Thu May 24 2012 22:22:10 for VTK by
1.8.1