Classes | Public Member Functions | Public Attributes | List of all members
octomap::OcTreeKey Class Reference

#include <OcTreeKey.h>

Classes

struct  KeyHash
 Provides a hash function on Keys. More...
 

Public Member Functions

 OcTreeKey ()
 
 OcTreeKey (key_type a, key_type b, key_type c)
 
 OcTreeKey (const OcTreeKey &other)
 
bool operator!= (const OcTreeKey &other) const
 
OcTreeKeyoperator= (const OcTreeKey &other)
 
bool operator== (const OcTreeKey &other) const
 
const key_typeoperator[] (unsigned int i) const
 
key_typeoperator[] (unsigned int i)
 

Public Attributes

key_type k [3]
 

Detailed Description

OcTreeKey is a container class for internal key addressing. The keys count the number of cells (voxels) from the origin as discrete address of a voxel.

See also
OcTreeBaseImpl::coordToKey() and OcTreeBaseImpl::keyToCoord() for conversions.

Definition at line 71 of file OcTreeKey.h.

Constructor & Destructor Documentation

octomap::OcTreeKey::OcTreeKey ( )
inline

Definition at line 74 of file OcTreeKey.h.

octomap::OcTreeKey::OcTreeKey ( key_type  a,
key_type  b,
key_type  c 
)
inline

Definition at line 75 of file OcTreeKey.h.

octomap::OcTreeKey::OcTreeKey ( const OcTreeKey other)
inline

Definition at line 81 of file OcTreeKey.h.

Member Function Documentation

bool octomap::OcTreeKey::operator!= ( const OcTreeKey other) const
inline

Definition at line 91 of file OcTreeKey.h.

OcTreeKey& octomap::OcTreeKey::operator= ( const OcTreeKey other)
inline

Definition at line 95 of file OcTreeKey.h.

bool octomap::OcTreeKey::operator== ( const OcTreeKey other) const
inline

Definition at line 87 of file OcTreeKey.h.

const key_type& octomap::OcTreeKey::operator[] ( unsigned int  i) const
inline

Definition at line 100 of file OcTreeKey.h.

key_type& octomap::OcTreeKey::operator[] ( unsigned int  i)
inline

Definition at line 104 of file OcTreeKey.h.

Member Data Documentation

key_type octomap::OcTreeKey::k[3]

Definition at line 108 of file OcTreeKey.h.


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


octomap
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Wed Jun 5 2019 19:26:28