Public Member Functions | Protected Attributes | List of all members
octomap::OcTreeNodeStamped Class Reference

#include <OcTreeStamped.h>

Inheritance diagram for octomap::OcTreeNodeStamped:
Inheritance graph
[legend]

Public Member Functions

bool createChild (unsigned int i)
 
OcTreeNodeStampedgetChild (unsigned int i)
 
const OcTreeNodeStampedgetChild (unsigned int i) const
 
unsigned int getTimestamp () const
 
 OcTreeNodeStamped ()
 
 OcTreeNodeStamped (const OcTreeNodeStamped &rhs)
 
bool operator== (const OcTreeNodeStamped &rhs) const
 
void setTimestamp (unsigned int timestamp)
 
void updateOccupancyChildren ()
 
void updateTimestamp ()
 
- Public Member Functions inherited from octomap::OcTreeNode
void addValue (const float &p)
 adds p to the node's logOdds value (with no boundary / threshold checking!) More...
 
bool createChild (unsigned int i)
 
OcTreeNodegetChild (unsigned int i)
 
const OcTreeNodegetChild (unsigned int i) const
 
float getLogOdds () const
 
float getMaxChildLogOdds () const
 
double getMeanChildLogOdds () const
 
double getOccupancy () const
 
 OcTreeNode ()
 
void setLogOdds (float l)
 sets log odds occupancy of node More...
 
void updateOccupancyChildren ()
 update this node's occupancy according to its children's maximum occupancy More...
 
 ~OcTreeNode ()
 
- Public Member Functions inherited from octomap::OcTreeDataNode< float >
bool childExists (unsigned int i) const
 
bool collapsible () const
 
bool createChild (unsigned int i)
 initialize i-th child, allocate children array if needed More...
 
void deleteChild (unsigned int i)
 Deletes the i-th child of the node. More...
 
void expandNode ()
 
OcTreeDataNode< float > * getChild (unsigned int i)
 
const OcTreeDataNode< float > * getChild (unsigned int i) const
 
float getValue () const
 
bool hasChildren () const
 
 OcTreeDataNode ()
 
 OcTreeDataNode (floatinitVal)
 
 OcTreeDataNode (const OcTreeDataNode &rhs)
 Copy constructor, performs a recursive deep-copy of all children. More...
 
bool operator== (const OcTreeDataNode &rhs) const
 Equals operator, compares if the stored value is identical. More...
 
bool pruneNode ()
 
std::istream & readValue (std::istream &s)
 
void setValue (floatv)
 sets value to be stored in the node More...
 
std::ostream & writeValue (std::ostream &s) const
 
 ~OcTreeDataNode ()
 

Protected Attributes

unsigned int timestamp
 
- Protected Attributes inherited from octomap::OcTreeDataNode< float >
OcTreeDataNode< float > ** children
 pointer to array of children, may be NULL More...
 
float value
 stored data (payload) More...
 

Additional Inherited Members

- Public Types inherited from octomap::OcTreeDataNode< float >
typedef float DataType
 Make the templated data type available from the outside. More...
 
- Protected Member Functions inherited from octomap::OcTreeDataNode< float >
void allocChildren ()
 

Detailed Description

Definition at line 45 of file OcTreeStamped.h.

Constructor & Destructor Documentation

octomap::OcTreeNodeStamped::OcTreeNodeStamped ( )
inline

Definition at line 48 of file OcTreeStamped.h.

octomap::OcTreeNodeStamped::OcTreeNodeStamped ( const OcTreeNodeStamped rhs)
inline

Definition at line 50 of file OcTreeStamped.h.

Member Function Documentation

bool octomap::OcTreeNodeStamped::createChild ( unsigned int  i)
inline

Definition at line 64 of file OcTreeStamped.h.

OcTreeNodeStamped* octomap::OcTreeNodeStamped::getChild ( unsigned int  i)
inline

Definition at line 57 of file OcTreeStamped.h.

const OcTreeNodeStamped* octomap::OcTreeNodeStamped::getChild ( unsigned int  i) const
inline

Definition at line 60 of file OcTreeStamped.h.

unsigned int octomap::OcTreeNodeStamped::getTimestamp ( ) const
inline

Definition at line 71 of file OcTreeStamped.h.

bool octomap::OcTreeNodeStamped::operator== ( const OcTreeNodeStamped rhs) const
inline

Definition at line 52 of file OcTreeStamped.h.

void octomap::OcTreeNodeStamped::setTimestamp ( unsigned int  timestamp)
inline

Definition at line 73 of file OcTreeStamped.h.

void octomap::OcTreeNodeStamped::updateOccupancyChildren ( )
inline

Definition at line 76 of file OcTreeStamped.h.

void octomap::OcTreeNodeStamped::updateTimestamp ( )
inline

Definition at line 72 of file OcTreeStamped.h.

Member Data Documentation

unsigned int octomap::OcTreeNodeStamped::timestamp
protected

Definition at line 82 of file OcTreeStamped.h.


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


octomap
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Mon Jun 10 2019 14:00:13