IGSTK
Main Page
Namespaces
Classes
Files
File List
File Members
Source
igstkConeObject.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Image Guided Surgery Software Toolkit
4
Module: $RCSfile: igstkConeObject.h,v $
5
Language: C++
6
Date: $Date: 2008-02-11 01:41:50 $
7
Version: $Revision: 1.5 $
8
9
Copyright (c) ISC Insight Software Consortium. All rights reserved.
10
See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
15
16
=========================================================================*/
17
18
#ifndef __igstkConeObject_h
19
#define __igstkConeObject_h
20
21
#include "
igstkMacros.h
"
22
#include "
igstkSpatialObject.h
"
23
#include <itkGroupSpatialObject.h>
24
25
namespace
igstk
26
{
27
38
class
ConeObject
39
:
public
SpatialObject
40
{
41
42
public
:
43
45
igstkStandardClassTraitsMacro
(
ConeObject
,
SpatialObject
)
46
47
public:
48
50
igstkSetMacro
(Radius,
double
);
51
53
igstkGetMacro
(Radius,
double
);
54
56
igstkSetMacro
(Height,
double
);
57
59
igstkGetMacro
(Height,
double
);
60
61
protected:
62
63
ConeObject
(
void
);
64
~
ConeObject
(
void
);
65
66
ConeObject
(const
Self
&);
//purposely not implemented
67
void
operator=(const Self&);
//purposely not implemented
68
70
virtual
void
PrintSelf
( std::ostream& os, itk::Indent indent ) const;
71
72
private:
73
75
typedef itk::GroupSpatialObject<3> ConeSpatialObjectType;
76
78
ConeSpatialObjectType::
Pointer
m_ConeSpatialObject;
79
80
double
m_Radius;
81
double
m_Height;
82
83
};
84
85
}
// end namespace igstk
86
87
#endif // __igstkConeObject_h
Generated on Thu Mar 20 2014 13:04:04 for IGSTK by
1.8.1.2