VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkCylinder.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCylinder.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
=========================================================================*/
32
#ifndef __vtkCylinder_h
33
#define __vtkCylinder_h
34
35
#include "
vtkImplicitFunction.h
"
36
37
class
VTK_FILTERING_EXPORT
vtkCylinder
:
public
vtkImplicitFunction
38
{
39
public
:
40
vtkTypeMacro(
vtkCylinder
,
vtkImplicitFunction
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
static
vtkCylinder
*
New
();
45
47
48
double
EvaluateFunction
(
double
x[3]);
49
double
EvaluateFunction
(
double
x,
double
y,
double
z)
50
{
return
this->
vtkImplicitFunction::EvaluateFunction
(x, y, z); } ;
52
54
void
EvaluateGradient
(
double
x[3],
double
g[3]);
55
57
58
vtkSetMacro(Radius,
double
);
59
vtkGetMacro(Radius,
double
);
61
63
64
vtkSetVector3Macro(Center,
double
);
65
vtkGetVectorMacro(Center,
double
,3);
66
protected
:
67
vtkCylinder
();
68
~vtkCylinder
() {};
70
71
double
Radius;
72
double
Center[3];
73
74
private
:
75
vtkCylinder
(
const
vtkCylinder
&);
// Not implemented.
76
void
operator=(
const
vtkCylinder
&);
// Not implemented.
77
};
78
79
#endif
80
81
Generated on Wed May 30 2012 13:21:54 for VTK by
1.8.1