Public Member Functions | Friends | List of all members
DBoW2::FeatureVector Class Reference

Vector of nodes with indexes of local features. More...

#include <FeatureVector.h>

Inheritance diagram for DBoW2::FeatureVector:
Inheritance graph
[legend]

Public Member Functions

void addFeature (NodeId id, unsigned int i_feature)
 
 FeatureVector (void)
 
 ~FeatureVector (void)
 

Friends

std::ostream & operator<< (std::ostream &out, const FeatureVector &v)
 

Detailed Description

Vector of nodes with indexes of local features.

Definition at line 21 of file FeatureVector.h.

Constructor & Destructor Documentation

DBoW2::FeatureVector::FeatureVector ( void  )

Constructor

Definition at line 19 of file FeatureVector.cpp.

DBoW2::FeatureVector::~FeatureVector ( void  )

Destructor

Definition at line 25 of file FeatureVector.cpp.

Member Function Documentation

void DBoW2::FeatureVector::addFeature ( NodeId  id,
unsigned int  i_feature 
)

Adds a feature to an existing node, or adds a new node with an initial feature

Parameters
idnode id to add or to modify
i_featureindex of feature to add to the given node

Definition at line 31 of file FeatureVector.cpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FeatureVector v 
)
friend

Sends a string versions of the feature vector through the stream

Parameters
outstream
vfeature vector

Definition at line 49 of file FeatureVector.cpp.


The documentation for this class was generated from the following files:


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