Go to the documentation of this file.
6 #ifndef __pinocchio_spatial_force_hpp__
7 #define __pinocchio_spatial_force_hpp__
13 #define FORCE_TYPEDEF_GENERIC(Derived, TYPENAME) \
14 typedef TYPENAME traits<Derived>::Scalar Scalar; \
15 typedef TYPENAME traits<Derived>::Vector3 Vector3; \
16 typedef TYPENAME traits<Derived>::Vector6 Vector6; \
17 typedef TYPENAME traits<Derived>::Matrix6 Matrix6; \
18 typedef TYPENAME traits<Derived>::ToVectorReturnType ToVectorReturnType; \
19 typedef TYPENAME traits<Derived>::ToVectorConstReturnType ToVectorConstReturnType; \
20 typedef TYPENAME traits<Derived>::AngularType AngularType; \
21 typedef TYPENAME traits<Derived>::LinearType LinearType; \
22 typedef TYPENAME traits<Derived>::ConstAngularType ConstAngularType; \
23 typedef TYPENAME traits<Derived>::ConstLinearType ConstLinearType; \
24 typedef TYPENAME traits<Derived>::ForcePlain ForcePlain; \
27 LINEAR = traits<Derived>::LINEAR, \
28 ANGULAR = traits<Derived>::ANGULAR \
31 #define FORCE_TYPEDEF_TPL(Derived) FORCE_TYPEDEF_GENERIC(Derived, typename)
33 #define FORCE_TYPEDEF(Derived) FORCE_TYPEDEF_GENERIC(Derived, PINOCCHIO_MACRO_EMPTY_ARG)
40 #endif // ifndef __pinocchio_spatial_force_hpp__
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:09