]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ProcessObject.h
Getting ready for interactive initialization.
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObject.h
index 5fc98f399f605b624bcdd1155e65b67f1be823e0..6f388143cbb376cd837b207f8aaf64acf33ab167 100644 (file)
@@ -22,6 +22,8 @@ typedef char QWidget;
 #include <vtkSmartPointer.h>
 #include <vtkAlgorithm.h>
 
+class vtkRenderWindowInteractor;
+
 namespace cpPlugins
 {
   namespace Interface
@@ -45,6 +47,13 @@ namespace cpPlugins
 
       typedef Parameters TParameters;
 
+      enum DialogResult
+      {
+        DialogResult_NoModal = 0,
+        DialogResult_Modal,
+        DialogResult_Cancel
+      };
+
     public:
       itkTypeMacro( ProcessObject, Object );
       cpPlugins_Id_Macro(
@@ -69,7 +78,8 @@ namespace cpPlugins
       virtual std::string Update( );
       virtual void DisconnectOutputs( );
 
-      virtual bool ExecConfigurationDialog( QWidget* parent );
+      virtual void AddInteractor( vtkRenderWindowInteractor* interactor );
+      virtual DialogResult ExecConfigurationDialog( QWidget* parent );
 
       template< class T >
         inline T* GetITK( );