00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __igstkConeObject_h
00019 #define __igstkConeObject_h
00020
00021 #include "igstkMacros.h"
00022 #include "igstkSpatialObject.h"
00023 #include <itkGroupSpatialObject.h>
00024
00025 namespace igstk
00026 {
00027
00038 class ConeObject
00039 : public SpatialObject
00040 {
00041
00042 public:
00043
00045 igstkStandardClassTraitsMacro( ConeObject, SpatialObject )
00046
00047 public:
00048
00050 igstkSetMacro(Radius,double);
00051
00053 igstkGetMacro(Radius,double);
00054
00056 igstkSetMacro(Height,double);
00057
00059 igstkGetMacro(Height,double);
00060
00061 protected:
00062
00063 ConeObject( void );
00064 ~ConeObject( void );
00065
00066 ConeObject(const Self&);
00067 void operator=(const Self&);
00068
00070 virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
00071
00072 private:
00073
00075 typedef itk::GroupSpatialObject<3> ConeSpatialObjectType;
00076
00078 ConeSpatialObjectType::Pointer m_ConeSpatialObject;
00079
00080 double m_Radius;
00081 double m_Height;
00082
00083 };
00084
00085 }
00086
00087 #endif // __igstkConeObject_h