#include <cpPlugins/Interface/Macros.h>
#include <string>
+
#include <itkObject.h>
#include <itkObjectFactory.h>
+#include <vtkSmartPointer.h>
+#include <vtkObjectBase.h>
+
namespace cpPlugins
{
namespace Interface
itkSetMacro( ViewY, float );
public:
- inline float SetViewCoords( float x, float y )
- {
- this->SetViewX( x );
- this->SetViewY( y );
- }
+ virtual void Modified( ) const;
+ float SetViewCoords( float x, float y );
+
+ template< class T >
+ inline T* GetITK( );
+
+ template< class T >
+ inline const T* GetITK( ) const;
+
+ template< class T >
+ inline T* GetVTK( );
+
+ template< class T >
+ inline const T* GetVTK( ) const;
protected:
Object( );
Self& operator=( const Self& );
protected:
- std::string m_Name;
- float m_ViewX, m_ViewY;
+ itk::LightObject::Pointer m_ITKObject;
+ vtkSmartPointer< vtkObjectBase > m_VTKObject;
+ std::string m_Name;
+
+ float m_ViewX;
+ float m_ViewY;
};
} // ecapseman
} // ecapseman
+#include <cpPlugins/Interface/Object.hxx>
+
#endif // __CPPLUGINS__INTERFACE__OBJECT__H__
// eof - $RCSfile$