]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/BaseObjects/Parameters.h
Cast image filter added. ROI filter modified.
[cpPlugins.git] / lib / cpPlugins / BaseObjects / Parameters.h
index fd6764bb55fd823a20305efcb3dab26fe0f9f6c6..0414a72a3ebcfb126d793609e38b2188a89686fd 100644 (file)
@@ -7,6 +7,7 @@
 #include <ostream>
 #include <sstream>
 #include <typeinfo>
+#include <vector>
 #include <itkTimeStamp.h>
 
 // Some forward declarations
@@ -44,6 +45,8 @@ namespace cpPlugins
 
   namespace BaseObjects
   {
+    class ProcessObject;
+
     /**
      */
     class cpPlugins_EXPORT Parameters
@@ -129,8 +132,10 @@ namespace cpPlugins
       Parameters( );
       virtual ~Parameters( );
 
+      ProcessObject* GetProcessObject( );
+      const ProcessObject* GetProcessObject( ) const;
+      void SetProcessObject( ProcessObject* po );
       virtual void Modified( ) const;
-      virtual itk::ModifiedTimeType GetMTime( ) const;
 
       // Parameters container configuration
       void Clear( );
@@ -152,6 +157,9 @@ namespace cpPlugins
       void ConfigureAsChoices(
         const std::string& name, const std::vector< std::string >& choices
         );
+      void ConfigureAsRealTypesChoices( const std::string& name );
+      void ConfigureAsIntTypesChoices( const std::string& name );
+      void ConfigureAsScalarTypesChoices( const std::string& name );
       std::vector< std::string > GetChoices( const std::string& name ) const;
       std::string GetSelectedChoice( const std::string& name ) const;
       bool SetSelectedChoice(
@@ -201,7 +209,7 @@ namespace cpPlugins
       Self& operator=( const Self& other );
 
     protected:
-      mutable itk::TimeStamp               m_TimeStamp;
+      ProcessObject*                       m_ProcessObject;
       TParameters                          m_Parameters;
       std::map< std::string, std::string > m_AcceptedFileExtensions;
     };