X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FPipeline%2FWidget.h;fp=lib%2FcpPlugins%2FPipeline%2FWidget.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=5d355943d0d37af09c927094182f492f9eb38aa6;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpPlugins/Pipeline/Widget.h b/lib/cpPlugins/Pipeline/Widget.h deleted file mode 100644 index 5d35594..0000000 --- a/lib/cpPlugins/Pipeline/Widget.h +++ /dev/null @@ -1,65 +0,0 @@ -#ifndef __cpPlugins__Pipeline__Widget__h__ -#define __cpPlugins__Pipeline__Widget__h__ - -#include -#include - -// ------------------------------------------------------------------------- -namespace cpPlugins -{ - namespace Pipeline - { - /** - */ - class cpPlugins_EXPORT Widget - : public ProcessObject - { - public: - typedef Widget Self; - typedef ProcessObject Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - public: - itkTypeMacro( Widget, ProcessObject ); - cpPlugins_Id_Macro( Widget, Object ); - - public: - virtual void AddInteractor( vtkRenderWindowInteractor* i ) override; - virtual bool IsInteractive( ) override; - - virtual void EnabledOn( ); - virtual void EnabledOff( ); - virtual void Clear( ) = 0; - virtual void SetEnabled( bool v ) = 0; - virtual bool GetEnabled( ) const = 0; - - protected: - Widget( ); - virtual ~Widget( ); - - private: - // Purposely not implemented - Widget( const Self& ); - Self& operator=( const Self& ); - - protected: - typedef vtkSmartPointer< vtkRenderWindowInteractor > _TInteractor; - struct _TInteractorCmp - { - bool operator()( - const _TInteractor& a, const _TInteractor& b - ) const - { return( a.GetPointer( ) < b.GetPointer( ) ); } - }; - std::set< _TInteractor, _TInteractorCmp > m_Interactors; - - }; - - } // ecapseman - -} // ecapseman - -#endif // __cpPlugins__Pipeline__Widget__h__ - -// eof - $RCSfile$