Public Member Functions | Public Attributes | List of all members
DBoW2::TemplatedVocabulary< TDescriptor, F >::Node Struct Reference

Tree node. More...

#include <TemplatedVocabulary.h>

Public Member Functions

bool isLeaf () const
 
 Node ()
 
 Node (NodeId _id)
 

Public Attributes

vector< NodeIdchildren
 Children. More...
 
TDescriptor descriptor
 Node descriptor. More...
 
NodeId id
 Node id. More...
 
NodeId parent
 Parent node (undefined in case of root) More...
 
WordValue weight
 Weight if the node is a word. More...
 
WordId word_id
 Word id if the node is a word. More...
 

Detailed Description

template<class TDescriptor, class F>
struct DBoW2::TemplatedVocabulary< TDescriptor, F >::Node

Tree node.

Definition at line 297 of file TemplatedVocabulary.h.

Constructor & Destructor Documentation

template<class TDescriptor, class F>
DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::Node ( )
inline

Empty constructor

Definition at line 316 of file TemplatedVocabulary.h.

template<class TDescriptor, class F>
DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::Node ( NodeId  _id)
inline

Constructor

Parameters
_idnode id

Definition at line 322 of file TemplatedVocabulary.h.

Member Function Documentation

template<class TDescriptor, class F>
bool DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::isLeaf ( ) const
inline

Returns whether the node is a leaf node

Returns
true iff the node is a leaf

Definition at line 328 of file TemplatedVocabulary.h.

Member Data Documentation

template<class TDescriptor, class F>
vector<NodeId> DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::children

Children.

Definition at line 304 of file TemplatedVocabulary.h.

template<class TDescriptor, class F>
TDescriptor DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::descriptor

Node descriptor.

Definition at line 308 of file TemplatedVocabulary.h.

template<class TDescriptor, class F>
NodeId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::id

Node id.

Definition at line 300 of file TemplatedVocabulary.h.

template<class TDescriptor, class F>
NodeId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::parent

Parent node (undefined in case of root)

Definition at line 306 of file TemplatedVocabulary.h.

template<class TDescriptor, class F>
WordValue DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::weight

Weight if the node is a word.

Definition at line 302 of file TemplatedVocabulary.h.

template<class TDescriptor, class F>
WordId DBoW2::TemplatedVocabulary< TDescriptor, F >::Node::word_id

Word id if the node is a word.

Definition at line 311 of file TemplatedVocabulary.h.


The documentation for this struct was generated from the following file:


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