VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
DataModel
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 "vtkCommonDataModelModule.h"
// For export macro
40
#include "
vtkImplicitFunction.h
"
41
42
class
VTKCOMMONDATAMODEL_EXPORT
vtkCone
:
public
vtkImplicitFunction
43
{
44
public
:
46
static
vtkCone
*
New
();
47
48
vtkTypeMacro(
vtkCone
,
vtkImplicitFunction
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
53
double
EvaluateFunction
(
double
x[3]);
54
double
EvaluateFunction
(
double
x,
double
y,
double
z)
55
{
return
this->
vtkImplicitFunction::EvaluateFunction
(x, y, z); } ;
57
59
void
EvaluateGradient
(
double
x[3],
double
g[3]);
60
62
63
vtkSetClampMacro(Angle,
double
,0.0,89.0);
64
vtkGetMacro(Angle,
double
);
66
67
protected
:
68
vtkCone
();
69
~vtkCone
() {};
70
71
double
Angle;
72
73
private
:
74
vtkCone
(
const
vtkCone
&);
// Not implemented.
75
void
operator=(
const
vtkCone
&);
// Not implemented.
76
};
77
78
#endif
79
80
Generated on Thu May 24 2012 22:22:09 for VTK by
1.8.1