]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/ExtractSliceImageFilter.cxx
More on graph editor
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / ExtractSliceImageFilter.cxx
index 65a70809a3cd136e660a245349d10cd80703f8db..5a65ca67da587acbbb6536b53a544ffb61c56cb3 100644 (file)
@@ -11,8 +11,11 @@ ExtractSliceImageFilter( )
   this->_AddInput( "Input" );
   this->_MakeOutput< cpPlugins::Interface::Image >( "Output" );
 
-  this->m_Parameters->ConfigureAsUint( "Axis", 0 );
-  this->m_Parameters->ConfigureAsInt( "Slice", 0 );
+  this->m_Parameters->ConfigureAsUint( "Axis" );
+  this->m_Parameters->ConfigureAsInt( "Slice" );
+
+  this->m_Parameters->SetUint( "Axis", 0 );
+  this->m_Parameters->SetInt( "Slice", 0 );
 }
 
 // -------------------------------------------------------------------------