X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FPolyLineParametricPathToSimple3DCurve.cxx;h=9eecda129f9085ecd29c9df96094a33dd2d3202f;hb=cd024359dba23dd50e197abf1ed7d70737deb7fd;hp=c3d575d4315ea1f98233ebc2c16c43f024439b7a;hpb=aee3cafa7e93f996580777976636ed625dbc43f5;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/PolyLineParametricPathToSimple3DCurve.cxx b/lib/cpExtensions/Algorithms/PolyLineParametricPathToSimple3DCurve.cxx index c3d575d..9eecda1 100644 --- a/lib/cpExtensions/Algorithms/PolyLineParametricPathToSimple3DCurve.cxx +++ b/lib/cpExtensions/Algorithms/PolyLineParametricPathToSimple3DCurve.cxx @@ -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 ); } // -------------------------------------------------------------------------