SaDVIO
typedefs.h
Go to the documentation of this file.
1 #ifndef TYPEDEFS_H
2 #define TYPEDEFS_H
3 
4 #include <vector>
5 #include <memory>
6 #include <utility>
7 
8 #include <Eigen/Core>
9 #include <Eigen/Geometry>
10 #include <Eigen/StdVector>
11 #include <unordered_map>
12 
13 
14 namespace isae {
15  class AFeature;
16  class ALandmark;
17 
19 typedef Eigen::Matrix<double, 6, 1> Vector6d;
20 
22 typedef std::pair<std::shared_ptr<isae::AFeature>,std::shared_ptr<isae::AFeature>> feature_pair;
24 typedef std::vector<feature_pair> vec_match;
26 typedef std::unordered_map<std::string, vec_match> typed_vec_match;
28 typedef std::unordered_map<std::string, std::vector<std::shared_ptr<isae::AFeature> >> typed_vec_features;
30 typedef std::unordered_map<std::string, std::vector<std::shared_ptr<isae::ALandmark> >> typed_vec_landmarks;
31 }
32 
33 #endif //TYPEDEFS_H
isae::typed_vec_match
std::unordered_map< std::string, vec_match > typed_vec_match
An unordered map to link match vector with their type.
Definition: typedefs.h:26
isae::typed_vec_features
std::unordered_map< std::string, std::vector< std::shared_ptr< isae::AFeature > > > typed_vec_features
A typed vector of features to handle hetereogeneous feature sets.
Definition: typedefs.h:28
isae::vec_match
std::vector< feature_pair > vec_match
A vector of feature pairs i.e. matches.
Definition: typedefs.h:24
isae
Definition: AFeature2D.h:8
isae::typed_vec_landmarks
std::unordered_map< std::string, std::vector< std::shared_ptr< isae::ALandmark > > > typed_vec_landmarks
A typed vector of landmarks to handle hetereogeneous landmark sets.
Definition: typedefs.h:30
isae::feature_pair
std::pair< std::shared_ptr< isae::AFeature >, std::shared_ptr< isae::AFeature > > feature_pair
A pair of feature, useful to represent matches.
Definition: typedefs.h:22
isae::ALandmark
Abstract class for 3D Landmarks.
Definition: ALandmark.h:17
isae::Vector6d
Eigen::Matrix< double, 6, 1 > Vector6d
A double Eigen vector in 6D.
Definition: typedefs.h:16