--- /dev/null
+#ifndef __cpExtensions__QT__MPRInteractionCommand__h__
+#define __cpExtensions__QT__MPRInteractionCommand__h__
+
+#include <cpExtensions/Config.h>
+#include <cpExtensions/Interaction/BaseStyle.h>
+#include <vtkCommand.h>
+#include <vtkSmartPointer.h>
+#include <set>
+
+// -------------------------------------------------------------------------
+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__QT__MPRInteractionCommand__h__
+
+// eof - $RCSfile$