FeatureVector.h
Go to the documentation of this file.
1 
10 #ifndef __D_T_FEATURE_VECTOR__
11 #define __D_T_FEATURE_VECTOR__
12 
13 #include "BowVector.h"
14 #include <map>
15 #include <vector>
16 #include <iostream>
17 
18 namespace DBoW2 {
19 
22  public std::map<NodeId, std::vector<unsigned int> >
23 {
24 public:
25 
29  FeatureVector(void);
30 
34  ~FeatureVector(void);
35 
42  void addFeature(NodeId id, unsigned int i_feature);
43 
49  friend std::ostream& operator<<(std::ostream &out, const FeatureVector &v);
50 
51 };
52 
53 } // namespace DBoW2
54 
55 #endif
56 
friend std::ostream & operator<<(std::ostream &out, const FeatureVector &v)
Vector of nodes with indexes of local features.
Definition: FeatureVector.h:21
void addFeature(NodeId id, unsigned int i_feature)
unsigned int NodeId
Id of nodes in the vocabulary treee.
Definition: BowVector.h:26


orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47