]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Object.h
Project cleanup towards version 0.1.0
[cpPlugins.git] / lib / cpPlugins / Interface / Object.h
diff --git a/lib/cpPlugins/Interface/Object.h b/lib/cpPlugins/Interface/Object.h
deleted file mode 100644 (file)
index 34810d5..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-#ifndef __CPPLUGINS__INTERFACE__OBJECT__H__
-#define __CPPLUGINS__INTERFACE__OBJECT__H__
-
-#include <cpPlugins/Interface/Macros.h>
-
-#include <string>
-
-#include <itkObject.h>
-#include <itkObjectFactory.h>
-
-#include <vtkSmartPointer.h>
-#include <vtkObjectBase.h>
-
-#ifdef cpPlugins_Interface_QT4
-#include <QPointF>
-#endif // cpPlugins_Interface_QT4
-
-namespace cpPlugins
-{
-  namespace Interface
-  {
-    /**
-     */
-    class cpPlugins_Interface_EXPORT Object
-      : public itk::Object
-    {
-    public:
-      typedef Object                          Self;
-      typedef itk::Object                     Superclass;
-      typedef itk::SmartPointer< Self >       Pointer;
-      typedef itk::SmartPointer< const Self > ConstPointer;
-
-    public:
-      itkNewMacro( Self );
-      itkTypeMacro( Object, itkObject );
-      cpPlugins_Id_Macro( Object, BaseObject );
-
-      itkGetConstMacro( ViewX, float );
-      itkGetConstMacro( ViewY, float );
-
-    public:
-      void SetViewCoords( float x, float y );
-
-#ifdef cpPlugins_Interface_QT4
-      void SetViewCoords( const QPointF& coords );
-      QPointF GetViewCoords( ) const;
-#endif // cpPlugins_Interface_QT4
-
-      virtual void Modified( ) const;
-      virtual itk::ModifiedTimeType GetMTime( ) const;
-
-      virtual void SetITK( itk::LightObject* o );
-      virtual void SetVTK( vtkObjectBase* o );
-
-      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( );
-      virtual ~Object( );
-
-    private:
-      // Purposely not implemented
-      Object( const Self& );
-      Self& operator=( const Self& );
-
-    protected:
-      itk::LightObject::Pointer        m_ITKObject;
-      vtkSmartPointer< vtkObjectBase > m_VTKObject;
-
-      float m_ViewX;
-      float m_ViewY;
-    };
-
-  } // ecapseman
-
-} // ecapseman
-
-#include <cpPlugins/Interface/Object.hxx>
-
-#endif // __CPPLUGINS__INTERFACE__OBJECT__H__
-
-// eof - $RCSfile$