]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Algorithms/PolyLineParametricPathToSimple3DCurve.cxx
...
[cpPlugins.git] / lib / cpExtensions / Algorithms / PolyLineParametricPathToSimple3DCurve.cxx
index c3d575d4315ea1f98233ebc2c16c43f024439b7a..9eecda129f9085ecd29c9df96094a33dd2d3202f 100644 (file)
@@ -25,7 +25,7 @@ template< class _TPolyLine, class _TCurve >
 void cpExtensions::Algorithms::PolyLineParametricPathToSimple3DCurve< _TPolyLine, _TCurve >::
 SetInput( _TPolyLine* pl )
 {
-  this->Superclass::SetInput( 0, pl );
+  this->Superclass::SetNthInput( 0, pl );
 }
 
 // -------------------------------------------------------------------------
@@ -54,7 +54,7 @@ PolyLineParametricPathToSimple3DCurve( )
   this->SetNumberOfRequiredInputs( 1 );
   this->SetNumberOfRequiredOutputs( 1 );
   typename _TCurve::Pointer curve = _TCurve::New( );
-  this->Superclass::SetOutput( 0, curve );
+  this->Superclass::SetNthOutput( 0, curve );
 }
 
 // -------------------------------------------------------------------------