IGSTK
igstkEllipsoidObject.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkEllipsoidObject.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 __igstkEllipsoidObject_h
19 #define __igstkEllipsoidObject_h
20 
21 #include "igstkMacros.h"
22 #include "igstkSpatialObject.h"
23 #include "itkEllipseSpatialObject.h"
24 
25 namespace igstk
26 {
27 
39 : public SpatialObject
40 {
41 
42 public:
43 
46 
47 public:
48 
50  typedef itk::EllipseSpatialObject<3> EllipseSpatialObjectType;
51  typedef EllipseSpatialObjectType::ArrayType ArrayType;
52 
54  void SetRadius( double rx, double ry, double rz );
55  void SetRadius( const ArrayType & radius );
56 
58  const ArrayType & GetRadius() const;
59 
60 protected:
61 
62  EllipsoidObject( void );
63  ~EllipsoidObject( void );
64 
66  virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
67 
68 private:
69 
71  EllipseSpatialObjectType::Pointer m_EllipseSpatialObject;
72 
73 };
74 
75 } // end namespace igstk
76 
77 #endif // __igstkEllipsoidObject_h