]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ProcessObject.cxx
Major refactoring: API-HCI bug corrected.
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObject.cxx
index 61eaf96e661763080ed48470bfabf069bca4e8b5..c6271ca6635e1f3421669be85ddc46dfb050baf3 100644 (file)
@@ -1,19 +1,5 @@
 #include <cpPlugins/Interface/ProcessObject.h>
 
-// -------------------------------------------------------------------------
-std::string cpPlugins::Interface::ProcessObject::
-GetClassName( ) const
-{
-  return( "cpPlugins::Interface::ProcessObject" );
-}
-
-// -------------------------------------------------------------------------
-std::string cpPlugins::Interface::ProcessObject::
-GetClassType( ) const
-{
-  return( "ProcessObject" );
-}
-
 // -------------------------------------------------------------------------
 const cpPlugins::Interface::Parameters&
 cpPlugins::Interface::ProcessObject::
@@ -121,6 +107,8 @@ cpPlugins::Interface::ProcessObject::
 ProcessObject( )
   : Superclass( )
 {
+  this->m_ClassName = "cpPlugins::Interface::ProcessObject";
+  this->m_ClassCategory = "BasicObject";
 }
 
 // -------------------------------------------------------------------------
@@ -130,22 +118,24 @@ cpPlugins::Interface::ProcessObject::
 }
 
 // -------------------------------------------------------------------------
-itk::DataObject* cpPlugins::Interface::ProcessObject::
-_GetInput( unsigned int idx )
-{
-  if( idx < this->m_Inputs.size( ) )
-    return( this->m_Inputs[ idx ]->GetRealDataObject( ) );
-  else
-    return( NULL );
-}
+/* TODO
+   itk::DataObject* cpPlugins::Interface::ProcessObject::
+   _GetInput( unsigned int idx )
+   {
+   if( idx < this->m_Inputs.size( ) )
+   return( this->m_Inputs[ idx ]->GetRealDataObject( ) );
+   else
+   return( NULL );
+   }
 
-// -------------------------------------------------------------------------
-void cpPlugins::Interface::ProcessObject::
-_SetOutput( unsigned int idx, itk::DataObject* dobj )
-{
-  if( idx < this->m_Outputs.size( ) )
-    if( this->m_Outputs[ idx ].IsNotNull( ) )
-      this->m_Outputs[ idx ]->SetRealDataObject( dobj );
-}
+   // -------------------------------------------------------------------------
+   void cpPlugins::Interface::ProcessObject::
+   _SetOutput( unsigned int idx, itk::DataObject* dobj )
+   {
+   if( idx < this->m_Outputs.size( ) )
+   if( this->m_Outputs[ idx ].IsNotNull( ) )
+   this->m_Outputs[ idx ]->SetRealDataObject( dobj );
+   }
+*/
 
 // eof - $RCSfile$