]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ProcessObject.h
More on graph editor
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObject.h
index 3dfe118e4415046848050e337f0a3c460113a2ca..b6cf116e680d730dd7e35632673b64f6e1c2f1f8 100644 (file)
@@ -42,6 +42,7 @@ namespace cpPlugins
       typedef itk::SmartPointer< const Self > ConstPointer;
 
       typedef Parameters TParameters;
+      typedef std::set< vtkRenderWindowInteractor* > TInteractors;
 
       enum DialogResult
       {
@@ -52,7 +53,7 @@ namespace cpPlugins
 
     public:
       itkTypeMacro( ProcessObject, Object );
-      cpPlugins_Id_Macro( ProcessObject, "BaseObject" );
+      cpPlugins_Id_Macro( ProcessObject, BaseObject );
 
       itkBooleanMacro( Interactive );
 
@@ -71,6 +72,8 @@ namespace cpPlugins
 
       virtual void GetInputsNames( std::set< std::string >& names ) const;
       virtual void GetOutputsNames( std::set< std::string >& names ) const;
+      unsigned int GetNumberOfInputs( ) const;
+      unsigned int GetNumberOfOutputs( ) const;
 
       virtual bool SetOutputObjectName(
         const std::string& new_object_name,
@@ -137,6 +140,7 @@ namespace cpPlugins
 
       Parameters::Pointer m_Parameters;
       ParametersQtDialog* m_ParametersDialog;
+      TInteractors        m_Interactors;
       Plugins* m_Plugins;
       bool m_Interactive;