IGSTK
igstkCylinderObject.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkCylinderObject.h,v $
5  Language: C++
6  Date: $Date: 2008-02-11 01:41:50 $
7  Version: $Revision: 1.9 $
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 __igstkCylinderObject_h
19 #define __igstkCylinderObject_h
20 
21 #include "igstkMacros.h"
22 #include "igstkSpatialObject.h"
23 #include <itkCylinderSpatialObject.h>
24 
25 namespace igstk
26 {
27 
38 : public SpatialObject
39 {
40 
41 public:
42 
45 
46 public:
47 
49  typedef itk::CylinderSpatialObject CylinderSpatialObjectType;
50 
52  void SetRadius( double radius );
53 
55  double GetRadius() const;
56 
58  void SetHeight( double height );
59 
61  double GetHeight() const;
62 
63 protected:
64 
65  CylinderObject( void );
66  ~CylinderObject( void );
67 
69  virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
70 
71 private:
72 
74  CylinderSpatialObjectType::Pointer m_CylinderSpatialObject;
75 
76 };
77 
78 } // end namespace igstk
79 
80 #endif // __igstkCylinderObject_h