VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkCone.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCone.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
=========================================================================*/
36
#ifndef __vtkCone_h
37
#define __vtkCone_h
38
39
#include "
vtkImplicitFunction.h
"
40
41
class
VTK_FILTERING_EXPORT
vtkCone
:
public
vtkImplicitFunction
42
{
43
public
:
45
static
vtkCone
*
New
();
46
47
vtkTypeMacro(
vtkCone
,
vtkImplicitFunction
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
52
double
EvaluateFunction
(
double
x[3]);
53
double
EvaluateFunction
(
double
x,
double
y,
double
z)
54
{
return
this->
vtkImplicitFunction::EvaluateFunction
(x, y, z); } ;
56
58
void
EvaluateGradient
(
double
x[3],
double
g[3]);
59
61
62
vtkSetClampMacro(Angle,
double
,0.0,89.0);
63
vtkGetMacro(Angle,
double
);
65
66
protected
:
67
vtkCone
();
68
~vtkCone
() {};
69
70
double
Angle;
71
72
private
:
73
vtkCone
(
const
vtkCone
&);
// Not implemented.
74
void
operator=(
const
vtkCone
&);
// Not implemented.
75
};
76
77
#endif
78
79
Generated on Sun Sep 9 2012 13:03:27 for VTK by
1.8.1.2