diff --git a/Sofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/IdentityMapping.h b/Sofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/IdentityMapping.h index 19f37bf1ff7..5b926849ced 100644 --- a/Sofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/IdentityMapping.h +++ b/Sofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/IdentityMapping.h @@ -50,6 +50,8 @@ class IdentityMapping : public LinearMapping typedef typename In::Coord InCoord; typedef typename In::Deriv InDeriv; typedef typename In::MatrixDeriv InMatrixDeriv; + typedef Data InDataVecCoord; + typedef Data InDataVecDeriv; typedef typename Out::VecCoord VecCoord; typedef typename Out::VecDeriv VecDeriv; @@ -61,6 +63,8 @@ class IdentityMapping : public LinearMapping typedef typename OutDataTypes::Real OutReal; typedef typename OutDataTypes::VecCoord OutVecCoord; typedef typename OutDataTypes::VecDeriv OutVecDeriv; + typedef Data OutDataVecCoord; + typedef Data OutDataVecDeriv; enum { diff --git a/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.h b/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.h index 316b04215fd..5f61362a380 100644 --- a/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.h +++ b/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.h @@ -60,6 +60,8 @@ class RigidMapping : public core::Mapping, public NonLinearMappingDat typedef typename Out::VecCoord OutVecCoord; typedef typename Out::VecDeriv OutVecDeriv; typedef typename Out::MatrixDeriv OutMatrixDeriv; + typedef Data OutDataVecCoord; + typedef Data OutDataVecDeriv; typedef typename In::Real InReal; typedef typename In::Coord InCoord; @@ -67,6 +69,8 @@ class RigidMapping : public core::Mapping, public NonLinearMappingDat typedef typename In::VecCoord InVecCoord; typedef typename In::VecDeriv InVecDeriv; typedef typename In::MatrixDeriv InMatrixDeriv; + typedef Data InDataVecCoord; + typedef Data InDataVecDeriv; enum {