VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkParametricSuperToroid.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkParametricSuperToroid.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
=========================================================================*/
46
#ifndef __vtkParametricSuperToroid_h
47
#define __vtkParametricSuperToroid_h
48
49
#include "
vtkParametricFunction.h
"
50
51
class
VTK_COMMON_EXPORT
vtkParametricSuperToroid
:
public
vtkParametricFunction
52
{
53
public
:
54
vtkTypeMacro(
vtkParametricSuperToroid
,
vtkParametricFunction
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
62
static
vtkParametricSuperToroid
*
New
();
63
65
virtual
int
GetDimension
() {
return
2;}
66
68
70
vtkSetMacro(RingRadius,
double
);
71
vtkGetMacro(RingRadius,
double
);
73
75
77
vtkSetMacro(CrossSectionRadius,
double
);
78
vtkGetMacro(CrossSectionRadius,
double
);
80
82
83
vtkSetMacro(XRadius,
double
);
84
vtkGetMacro(XRadius,
double
);
86
88
89
vtkSetMacro(YRadius,
double
);
90
vtkGetMacro(YRadius,
double
);
92
94
95
vtkSetMacro(ZRadius,
double
);
96
vtkGetMacro(ZRadius,
double
);
98
100
101
vtkSetMacro(
N1
,
double
);
102
vtkGetMacro(
N1
,
double
);
104
106
107
vtkSetMacro(
N2
,
double
);
108
vtkGetMacro(
N2
,
double
);
110
116
virtual
void
Evaluate
(
double
uvw[3],
double
Pt[3],
double
Duvw[9]);
117
126
virtual
double
EvaluateScalar
(
double
uvw[3],
double
Pt[3],
double
Duvw[9]);
127
128
protected
:
129
vtkParametricSuperToroid
();
130
~
vtkParametricSuperToroid
();
131
132
// Variables
133
double
RingRadius
;
134
double
CrossSectionRadius
;
135
double
XRadius
;
136
double
YRadius
;
137
double
ZRadius
;
138
double
N1
;
139
double
N2
;
140
141
private
:
142
vtkParametricSuperToroid
(
const
vtkParametricSuperToroid
&);
// Not implemented.
143
void
operator=(
const
vtkParametricSuperToroid
&);
// Not implemented.
144
146
double
Power (
double
x,
double
n );
147
148
};
149
150
#endif
151
Generated on Thu Mar 13 2014 08:09:48 for VTK by
1.8.1.2