- 3.0.2 rigid body dynamics module.
TransformsBase.h
Go to the documentation of this file.
1 /* CPYHDR { */
2 /*
3  * This file is part of the 'iit-rbd' library.
4  * Copyright © 2015 2016, Marco Frigerio (marco.frigerio@iit.it)
5  *
6  * See the LICENSE file for more information.
7  */
8 /* } CPYHDR */
9 
10 #ifndef IIT_RBD_TRANSFORMSBASE_H_
11 #define IIT_RBD_TRANSFORMSBASE_H_
12 
13 #include "StateDependentMatrix.h"
14 
15 namespace iit {
16 namespace rbd {
17 
18 
23 template<class State, class ActualMatrix>
24 class RotationTransformBase : public StateDependentMatrix<State, 3, 3, ActualMatrix>
25 {
26 public:
27  RotationTransformBase() : StateDependentMatrix<State, 3, 3, ActualMatrix>() {}
28  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
29 };
30 
35 template<class State, class ActualMatrix>
36 class HomogeneousTransformBase : public StateDependentMatrix<State, 4, 4, ActualMatrix>
37 {
38 public:
39  HomogeneousTransformBase() : StateDependentMatrix<State, 4, 4, ActualMatrix>() {}
40  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
41 };
42 
47 template<class State, class ActualMatrix>
48 class SpatialTransformBase : public StateDependentMatrix<State, 6, 6, ActualMatrix>
49 {
50 public:
51  SpatialTransformBase() : StateDependentMatrix<State, 6, 6, ActualMatrix>() {}
52  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
53 };
54 
59 template<class State, int Cols, class ActualMatrix>
60 class JacobianBase : public StateDependentMatrix<State, 6, Cols, ActualMatrix>
61 {
62 public:
63  JacobianBase() : StateDependentMatrix<State, 6, Cols, ActualMatrix>() {}
64  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
65 };
66 
67 
68 
69 
70 }
71 }
72 
73 
74 
75 #endif /* IIT_RBD_TRANSFORMSBASE_H_ */
Definition: StateDependentMatrix.h:36
Definition: TransformsBase.h:36
Definition: TransformsBase.h:48
HomogeneousTransformBase()
Definition: TransformsBase.h:39
RotationTransformBase()
Definition: TransformsBase.h:27
Definition: TransformsBase.h:24
JacobianBase()
Definition: TransformsBase.h:63
Definition: TransformsBase.h:60
SpatialTransformBase()
Definition: TransformsBase.h:51