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 310 of file TemplatedVocabulary.h.

Constructor & Destructor Documentation

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

Empty constructor

Definition at line 329 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 335 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 341 of file TemplatedVocabulary.h.

Member Data Documentation

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

Children.

Definition at line 317 of file TemplatedVocabulary.h.

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

Node descriptor.

Definition at line 321 of file TemplatedVocabulary.h.

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

Node id.

Definition at line 313 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 319 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 315 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 324 of file TemplatedVocabulary.h.


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


orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05