00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __igstkCylinderObject_h
00019 #define __igstkCylinderObject_h
00020
00021 #include "igstkMacros.h"
00022 #include "igstkSpatialObject.h"
00023 #include <itkCylinderSpatialObject.h>
00024
00025 namespace igstk
00026 {
00027
00037 class CylinderObject
00038 : public SpatialObject
00039 {
00040
00041 public:
00042
00044 igstkStandardClassTraitsMacro( CylinderObject, SpatialObject )
00045
00046 public:
00047
00049 typedef itk::CylinderSpatialObject CylinderSpatialObjectType;
00050
00052 void SetRadius( double radius );
00053
00055 double GetRadius() const;
00056
00058 void SetHeight( double height );
00059
00061 double GetHeight() const;
00062
00063 protected:
00064
00065 CylinderObject( void );
00066 ~CylinderObject( void );
00067
00069 virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
00070
00071 private:
00072
00074 CylinderSpatialObjectType::Pointer m_CylinderSpatialObject;
00075
00076 };
00077
00078 }
00079
00080 #endif // __igstkCylinderObject_h