#include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
#include <cpPlugins/Interface/Parameters.h>
-#include <cpExtensions/Interaction/ImageInteractorStyle.h>
#include <set>
+#include <vtkInteractorObserver.h>
+#include <vtkSmartPointer.h>
+
#include <QDialog>
#include <QDialogButtonBox>
#include <QGridLayout>
Q_OBJECT;
public:
- typedef cpExtensions::Interaction::ImageInteractorStyle TStyle;
-
typedef std::set< vtkRenderWindowInteractor* > TInteractors;
+ typedef
+ std::map< std::string, vtkSmartPointer< vtkInteractorObserver > >
+ TWidgets;
public:
ParametersQtDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 );
void addInteractor( vtkRenderWindowInteractor* interactor );
TInteractors& getInteractors( );
const TInteractors& getInteractors( ) const;
+ bool isInteractive( ) const;
+ void setInteractive( bool i );
+ void interactiveOn( );
+ void interactiveOff( );
bool setParameters( Parameters* parameters );
virtual int exec( );
QDialogButtonBox* m_Buttons;
TInteractors m_Interactors;
+ TWidgets m_Widgets;
+ bool m_Interactive;
};
} // ecapseman