]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ParametersQtDialog.h
MPR finished
[cpPlugins.git] / lib / cpPlugins / Interface / ParametersQtDialog.h
index 9e9b73a3a5ebf8dbf5fa0fbf7514220409499faf..d19d31450323814a4ceec7f3ae11cd8d12110784 100644 (file)
@@ -32,6 +32,8 @@ namespace cpPlugins
     public:
       typedef cpExtensions::Interaction::ImageInteractorStyle TStyle;
 
+      typedef std::set< vtkRenderWindowInteractor* > TInteractors;
+
     public:
       ParametersQtDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 );
       virtual ~ParametersQtDialog( );
@@ -39,6 +41,8 @@ namespace cpPlugins
       bool IsModal( ) const;
       Parameters* getParameters( ) const;
       void addInteractor( vtkRenderWindowInteractor* interactor );
+      TInteractors& getInteractors( );
+      const TInteractors& getInteractors( ) const;
       bool setParameters( Parameters* parameters );
       void setTitle( const std::string& title );
 
@@ -53,7 +57,7 @@ namespace cpPlugins
       QVBoxLayout* m_ToolsLayout;
       bool m_IsModal;
 
-      std::set< vtkRenderWindowInteractor* > m_Interactors;
+      TInteractors m_Interactors;
     };
 
   } // ecapseman