Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Classes | Public Member Functions | Public Attributes
octomap::OcTreeKey Class Reference

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 68 of file OcTreeKey.h.

#include <mrpt/otherlibs/octomap/OcTreeKey.h>

Classes

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

Public Member Functions

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

Public Attributes

unsigned short int k [3]
 

Constructor & Destructor Documentation

octomap::OcTreeKey::OcTreeKey ( )
inline

Definition at line 71 of file OcTreeKey.h.

octomap::OcTreeKey::OcTreeKey ( unsigned short int  a,
unsigned short int  b,
unsigned short int  c 
)
inline

Definition at line 72 of file OcTreeKey.h.

References k.

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

Definition at line 74 of file OcTreeKey.h.

References k.

Member Function Documentation

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

Definition at line 80 of file OcTreeKey.h.

References k.

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

Definition at line 83 of file OcTreeKey.h.

References k.

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

Definition at line 77 of file OcTreeKey.h.

References k.

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

Definition at line 87 of file OcTreeKey.h.

References k.

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

Definition at line 90 of file OcTreeKey.h.

References k.

Member Data Documentation

unsigned short int octomap::OcTreeKey::k[3]



Page generated by Doxygen 1.8.11 for MRPT 1.4.0 SVN:Unversioned directory at Tue Jun 28 11:46:25 UTC 2016