DBoW2::FeatureVector Class Reference

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

#include <FeatureVector.h>

List of all members.

Public Member Functions

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

Friends

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

Detailed Description

Vector of nodes with indexes of local features.


Constructor & Destructor Documentation

DBoW2::FeatureVector::FeatureVector ( void   ) 

Constructor

DBoW2::FeatureVector::~FeatureVector ( void   ) 

Destructor


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:
id node id to add or to modify
i_feature index of feature to add to the given node

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:
out stream
v feature vector

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated on Thu Feb 7 19:47:43 2013 by  doxygen 1.6.3