#ifndef __cpExtensions__QT__MPRInteractionCommand__h__ #define __cpExtensions__QT__MPRInteractionCommand__h__ #include #ifdef cpExtensions_QT4 #include #include #include #include // ------------------------------------------------------------------------- namespace cpExtensions { namespace QT { class ImageWidget; class MPR3DWidget; /** */ class cpExtensions_EXPORT MPRInteractionCommand : public vtkCommand { public: typedef MPRInteractionCommand Self; public: vtkTypeMacro( MPRInteractionCommand, vtkCommand ); public: static Self* New( ); void AddWidget( QWidget* w ); virtual void Execute( vtkObject* caller, unsigned long evId, void* data ) cpExtensions_OVERRIDE; protected: MPRInteractionCommand( ); virtual ~MPRInteractionCommand( ); private: // Purposely not implemented MPRInteractionCommand( const Self& ); Self& operator=( const Self& ); protected: std::set< cpExtensions::QT::ImageWidget* > m_ImageWidgets; std::set< cpExtensions::QT::MPR3DWidget* > m_MPR3DWidgets; }; } // ecapseman } // ecapseman #endif // cpExtensions_QT4 #endif // __cpExtensions__QT__MPRInteractionCommand__h__ // eof - $RCSfile$