Commit a6ca508e authored by Cyril Poupon's avatar Cyril Poupon
Browse files

bug fix in getInverse(à method

parent 415e0499
...@@ -147,19 +147,19 @@ void gkg::VectorFieldTransform3d< T >::getInverse( ...@@ -147,19 +147,19 @@ void gkg::VectorFieldTransform3d< T >::getInverse(
gkg::Vector3d< T > deformation; gkg::Vector3d< T > deformation;
_resampler->resample( _directAndInverseVectorFields, _resampler->resample( _directAndInverseVectorFields,
T( 0 ), T( 0 ),
from, to,
deformation.x, deformation.x,
&_resolution, &_resolution,
3 ); 3 );
_resampler->resample( _directAndInverseVectorFields, _resampler->resample( _directAndInverseVectorFields,
T( 0 ), T( 0 ),
from, to,
deformation.y, deformation.y,
&_resolution, &_resolution,
4 ); 4 );
_resampler->resample( _directAndInverseVectorFields, _resampler->resample( _directAndInverseVectorFields,
T( 0 ), T( 0 ),
from, to,
deformation.z, deformation.z,
&_resolution, &_resolution,
5 ); 5 );
...@@ -170,8 +170,8 @@ void gkg::VectorFieldTransform3d< T >::getInverse( ...@@ -170,8 +170,8 @@ void gkg::VectorFieldTransform3d< T >::getInverse(
} }
GKG_CATCH( "template < class T > " GKG_CATCH( "template < class T > "
"void gkg::VectorFieldTransform3d< T >::getInverse( " "void gkg::VectorFieldTransform3d< T >::getInverse( "
"const gkg::Vector3d< T >& from, " "const gkg::Vector3d< T >& to, "
"gkg::Vector3d< T >& to ) const" ); "gkg::Vector3d< T >& from ) const" );
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment