VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
ComputationalGeometry
vtkParametricTorus.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkParametricTorus.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
=========================================================================*/
33
#ifndef __vtkParametricTorus_h
34
#define __vtkParametricTorus_h
35
36
#include "vtkCommonComputationalGeometryModule.h"
// For export macro
37
#include "
vtkParametricFunction.h
"
38
39
class
VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT
vtkParametricTorus
:
public
vtkParametricFunction
40
{
41
42
public
:
43
vtkTypeMacro(
vtkParametricTorus
,
vtkParametricFunction
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
50
static
vtkParametricTorus
*
New
();
51
53
55
vtkSetMacro(RingRadius,
double
);
56
vtkGetMacro(RingRadius,
double
);
58
60
62
vtkSetMacro(CrossSectionRadius,
double
);
63
vtkGetMacro(CrossSectionRadius,
double
);
65
67
virtual
int
GetDimension
() {
return
2;}
68
73
virtual
void
Evaluate
(
double
uvw[3],
double
Pt[3],
double
Duvw[9]);
74
83
virtual
double
EvaluateScalar
(
double
uvw[3],
double
Pt[3],
double
Duvw[9]);
84
85
protected
:
86
vtkParametricTorus
();
87
~
vtkParametricTorus
();
88
89
// Variables
90
double
RingRadius
;
91
double
CrossSectionRadius
;
92
93
private
:
94
vtkParametricTorus
(
const
vtkParametricTorus
&);
// Not implemented.
95
void
operator=(
const
vtkParametricTorus
&);
// Not implemented.
96
};
97
98
#endif
Generated on Thu May 24 2012 22:22:08 for VTK by
1.8.1