1 #ifndef __cpExtensions__QT__MPRInteractionCommand__h__
2 #define __cpExtensions__QT__MPRInteractionCommand__h__
4 #include <cpExtensions/Config.h>
6 #ifdef cpExtensions_QT4
8 #include <cpExtensions/Interaction/BaseStyle.h>
9 #include <vtkCommand.h>
10 #include <vtkSmartPointer.h>
13 // -------------------------------------------------------------------------
14 namespace cpExtensions
23 class cpExtensions_EXPORT MPRInteractionCommand
27 typedef MPRInteractionCommand Self;
30 vtkTypeMacro( MPRInteractionCommand, vtkCommand );
35 void AddWidget( QWidget* w );
38 vtkObject* caller, unsigned long evId, void* data
39 ) cpExtensions_OVERRIDE;
42 MPRInteractionCommand( );
43 virtual ~MPRInteractionCommand( );
46 // Purposely not implemented
47 MPRInteractionCommand( const Self& );
48 Self& operator=( const Self& );
51 std::set< cpExtensions::QT::ImageWidget* > m_ImageWidgets;
52 std::set< cpExtensions::QT::MPR3DWidget* > m_MPR3DWidgets;
59 #endif // cpExtensions_QT4
61 #endif // __cpExtensions__QT__MPRInteractionCommand__h__