typedef.hpp
Go to the documentation of this file.
1 
20 #ifndef MYTYPEDEF_HPP_
21 #define MYTYPEDEF_HPP_
22 
23 #include <eigen3/Eigen/Dense>
24 #include <voxel_grid/voxel_grid.h>
25 #include <set>
26 #include <vector>
27 
31 namespace robot_model_services {
32  // the used precision in all calculations
33  typedef float Precision;
34 
35  // matrix types
36  typedef Eigen::Matrix<Precision, 2, 2> SimpleMatrix2;
37  typedef Eigen::Matrix<Precision, 3, 3> SimpleMatrix3;
38  typedef Eigen::Matrix<Precision, 4, 4> SimpleMatrix4;
39  typedef Eigen::Matrix<Precision, Eigen::Dynamic, Eigen::Dynamic> SimpleMatrixX;
40 
41  // matrix list types
42  typedef std::vector<SimpleMatrix3, Eigen::aligned_allocator<SimpleMatrix3> > SimpleMatrix3Collection;
44 
45  typedef std::vector<SimpleMatrix4, Eigen::aligned_allocator<SimpleMatrix4> > SimpleMatrix4Collection;
47 
48  // vector types
49  typedef Eigen::Matrix<Precision, 2, 1> SimpleVector2;
50  typedef Eigen::Matrix<Precision, 3, 1> SimpleVector3;
51  typedef SimpleVector3 SimpleSphereCoordinates;
52  typedef Eigen::Matrix<Precision, 4, 1> SimpleVector4;
53  typedef Eigen::Matrix<Precision, Eigen::Dynamic, 1> SimpleVectorX;
54  typedef Eigen::Matrix<int, 3, 1> GridVector3;
55 
56  // vector list types
57  typedef std::vector<SimpleVector3, Eigen::aligned_allocator<SimpleVector3> > SimpleVector3Collection;
59 
60  typedef std::vector<SimpleVector4, Eigen::aligned_allocator<SimpleVector4> > SimpleVector4Collection;
62 
63  // quaternion type
64  typedef Eigen::Quaternion<Precision> SimpleQuaternion;
65 
66  // quaternion list types
67  typedef std::vector<SimpleQuaternion, Eigen::aligned_allocator<SimpleQuaternion> > SimpleQuaternionCollection;
69 
70  // forward declaration for point types
71  struct RealObjectPoint;
72  struct SpaceSamplePoint;
73  struct DefaultViewportPoint;
74 
75  // create aliases for actually used point types
76  typedef RealObjectPoint ObjectPoint;
77  typedef SpaceSamplePoint SamplePoint;
78  typedef DefaultViewportPoint ViewportPoint;
79 
80  // defining squared distances type used in kdtree
81  typedef std::vector<float> SquaredDistances;
82 
83  // defining indices types
84  typedef std::vector<int> Indices;
87 
88  // the list of object types
89  typedef std::vector<std::string> ObjectTypeList;
91  typedef std::set<std::string> ObjectTypeSet;
93  typedef std::set<ObjectTypeSetPtr> ObjectTypePowerSet;
95 
96  // voxel grid types
99 
100 }
101 
102 #endif /* MYTYPEDEF_HPP_ */
std::vector< SimpleMatrix4, Eigen::aligned_allocator< SimpleMatrix4 > > SimpleMatrix4Collection
Definition: typedef.hpp:45
boost::shared_ptr< VoxelGrid > VoxelGridPtr
Definition: typedef.hpp:98
Eigen::Matrix< Precision, 2, 1 > SimpleVector2
Definition: typedef.hpp:49
boost::shared_ptr< ObjectTypeList > ObjectTypeListPtr
Definition: typedef.hpp:90
boost::shared_ptr< SimpleQuaternionCollection > SimpleQuaternionCollectionPtr
Definition: typedef.hpp:68
boost::shared_ptr< ObjectTypeSet > ObjectTypeSetPtr
Definition: typedef.hpp:92
boost::shared_ptr< SimpleMatrix3Collection > SimpleMatrix3CollectionPtr
Definition: typedef.hpp:43
boost::shared_ptr< SimpleVector4Collection > SimpleVector4CollectionPtr
Definition: typedef.hpp:61
RealObjectPoint ObjectPoint
Definition: typedef.hpp:73
Eigen::Matrix< Precision, 3, 1 > SimpleVector3
Definition: typedef.hpp:50
std::vector< SimpleMatrix3, Eigen::aligned_allocator< SimpleMatrix3 > > SimpleMatrix3Collection
Definition: typedef.hpp:42
std::set< ObjectTypeSetPtr > ObjectTypePowerSet
Definition: typedef.hpp:93
std::vector< std::string > ObjectTypeList
Definition: typedef.hpp:89
SimpleVector3 SimpleSphereCoordinates
Definition: typedef.hpp:51
DefaultViewportPoint ViewportPoint
Definition: typedef.hpp:78
std::vector< float > SquaredDistances
Definition: typedef.hpp:81
std::vector< int > Indices
Definition: typedef.hpp:84
std::vector< SimpleVector3, Eigen::aligned_allocator< SimpleVector3 > > SimpleVector3Collection
Definition: typedef.hpp:57
Eigen::Matrix< Precision, Eigen::Dynamic, 1 > SimpleVectorX
Definition: typedef.hpp:53
std::set< std::string > ObjectTypeSet
Definition: typedef.hpp:91
std::vector< SimpleQuaternion, Eigen::aligned_allocator< SimpleQuaternion > > SimpleQuaternionCollection
Definition: typedef.hpp:67
boost::shared_ptr< SimpleMatrix4Collection > SimpleMatrix4CollectionPtr
Definition: typedef.hpp:46
this namespace contains all generally usable classes.
Definition: DebugHelper.hpp:27
Eigen::Matrix< Precision, Eigen::Dynamic, Eigen::Dynamic > SimpleMatrixX
Definition: typedef.hpp:39
Eigen::Matrix< Precision, 4, 4 > SimpleMatrix4
Definition: typedef.hpp:38
std::vector< SimpleVector4, Eigen::aligned_allocator< SimpleVector4 > > SimpleVector4Collection
Definition: typedef.hpp:60
voxel_grid::VoxelGrid VoxelGrid
Definition: typedef.hpp:97
boost::shared_ptr< ObjectTypePowerSet > ObjectTypePowerSetPtr
Definition: typedef.hpp:94
Eigen::Matrix< Precision, 3, 3 > SimpleMatrix3
Definition: typedef.hpp:37
boost::shared_ptr< Indices > IndicesPtr
Definition: typedef.hpp:85
Eigen::Matrix< Precision, 2, 2 > SimpleMatrix2
Definition: typedef.hpp:36
boost::shared_ptr< const IndicesPtr > IndicesConstPtr
Definition: typedef.hpp:86
boost::shared_ptr< SimpleVector3Collection > SimpleVector3CollectionPtr
Definition: typedef.hpp:58
Eigen::Matrix< int, 3, 1 > GridVector3
Definition: typedef.hpp:54
SpaceSamplePoint SamplePoint
Definition: typedef.hpp:77
Eigen::Quaternion< Precision > SimpleQuaternion
Definition: typedef.hpp:64
Eigen::Matrix< Precision, 4, 1 > SimpleVector4
Definition: typedef.hpp:52


asr_robot_model_services
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:49:59