VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
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 "
vtkParametricFunction.h
"
37
38
class
VTK_COMMON_EXPORT
vtkParametricTorus
:
public
vtkParametricFunction
39
{
40
41
public
:
42
vtkTypeMacro(
vtkParametricTorus
,
vtkParametricFunction
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
49
static
vtkParametricTorus
*
New
();
50
52
54
vtkSetMacro(RingRadius,
double
);
55
vtkGetMacro(RingRadius,
double
);
57
59
61
vtkSetMacro(CrossSectionRadius,
double
);
62
vtkGetMacro(CrossSectionRadius,
double
);
64
66
virtual
int
GetDimension
() {
return
2;}
67
72
virtual
void
Evaluate
(
double
uvw[3],
double
Pt[3],
double
Duvw[9]);
73
82
virtual
double
EvaluateScalar
(
double
uvw[3],
double
Pt[3],
double
Duvw[9]);
83
84
protected
:
85
vtkParametricTorus
();
86
~
vtkParametricTorus
();
87
88
// Variables
89
double
RingRadius
;
90
double
CrossSectionRadius
;
91
92
private
:
93
vtkParametricTorus
(
const
vtkParametricTorus
&);
// Not implemented.
94
void
operator=(
const
vtkParametricTorus
&);
// Not implemented.
95
};
96
97
#endif
Generated on Fri Aug 2 2013 12:19:46 for VTK by
1.8.4