1 #ifndef __CPPLUGINS__INTERFACE__OBJECT__H__
2 #define __CPPLUGINS__INTERFACE__OBJECT__H__
4 #include <cpPlugins/Interface/Macros.h>
8 #include <itkObjectFactory.h>
16 class cpPlugins_Interface_EXPORT Object
21 typedef itk::Object Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
27 itkTypeMacro( Object, itkObject );
28 cpPlugins_Id_Macro( Object, BaseObject );
30 itkGetStringMacro( Name );
31 itkGetConstMacro( ViewX, float );
32 itkGetConstMacro( ViewY, float );
34 itkSetStringMacro( Name );
35 itkSetMacro( ViewX, float );
36 itkSetMacro( ViewY, float );
39 inline float SetViewCoords( float x, float y )
50 // Purposely not implemented
51 Object( const Self& );
52 Self& operator=( const Self& );
56 float m_ViewX, m_ViewY;
63 #endif // __CPPLUGINS__INTERFACE__OBJECT__H__