Classes | Public Member Functions | Protected Attributes | Friends | List of all members
octomap::ColorOcTreeNode Class Reference

#include <ColorOcTree.h>

Inheritance diagram for octomap::ColorOcTreeNode:
Inheritance graph


class  Color

Public Member Functions

 ColorOcTreeNode ()
 ColorOcTreeNode (const ColorOcTreeNode &rhs)
void copyData (const ColorOcTreeNode &from)
ColorOcTreeNode::Color getAverageChildColor () const
Color getColor () const
ColorgetColor ()
bool isColorSet () const
bool operator== (const ColorOcTreeNode &rhs) const
std::istream & readData (std::istream &s)
void setColor (Color c)
void setColor (uint8_t r, uint8_t g, uint8_t b)
void updateColorChildren ()
std::ostream & writeData (std::ostream &s) const
- 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...
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 >
void copyData (const OcTreeDataNode &from)
float getValue () const
 OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const)
 OCTOMAP_DEPRECATED (bool hasChildren() const)
 OcTreeDataNode ()
 OcTreeDataNode (floatinitVal)
 OcTreeDataNode (const OcTreeDataNode &rhs)
bool operator== (const OcTreeDataNode &rhs) const
 Equals operator, compares if the stored value is identical. More...
std::istream & readData (std::istream &s)
 Read node payload (data only) from binary stream. More...
void setValue (floatv)
 sets value to be stored in the node More...
std::ostream & writeData (std::ostream &s) const
 Write node payload (data only) to binary stream. More...
 ~OcTreeDataNode ()

Protected Attributes

Color color
- Protected Attributes inherited from octomap::OcTreeDataNode< float >
AbstractOcTreeNode ** children
float value
 stored data (payload) More...


class ColorOcTree

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 48 of file ColorOcTree.h.

Constructor & Destructor Documentation

octomap::ColorOcTreeNode::ColorOcTreeNode ( )

Definition at line 67 of file ColorOcTree.h.

octomap::ColorOcTreeNode::ColorOcTreeNode ( const ColorOcTreeNode rhs)

Definition at line 69 of file ColorOcTree.h.

Member Function Documentation

void octomap::ColorOcTreeNode::copyData ( const ColorOcTreeNode from)

Definition at line 75 of file ColorOcTree.h.

ColorOcTreeNode::Color octomap::ColorOcTreeNode::getAverageChildColor ( ) const

Definition at line 54 of file ColorOcTree.cpp.

Color octomap::ColorOcTreeNode::getColor ( ) const

Definition at line 80 of file ColorOcTree.h.

Color& octomap::ColorOcTreeNode::getColor ( )

Definition at line 86 of file ColorOcTree.h.

bool octomap::ColorOcTreeNode::isColorSet ( ) const

Definition at line 89 of file ColorOcTree.h.

bool octomap::ColorOcTreeNode::operator== ( const ColorOcTreeNode rhs) const

Definition at line 71 of file ColorOcTree.h.

std::istream & octomap::ColorOcTreeNode::readData ( std::istream &  s)

Definition at line 47 of file ColorOcTree.cpp.

void octomap::ColorOcTreeNode::setColor ( Color  c)

Definition at line 81 of file ColorOcTree.h.

void octomap::ColorOcTreeNode::setColor ( uint8_t  r,
uint8_t  g,
uint8_t  b 

Definition at line 82 of file ColorOcTree.h.

void octomap::ColorOcTreeNode::updateColorChildren ( )

Definition at line 85 of file ColorOcTree.cpp.

std::ostream & octomap::ColorOcTreeNode::writeData ( std::ostream &  s) const

Definition at line 40 of file ColorOcTree.cpp.

Friends And Related Function Documentation

friend class ColorOcTree

Definition at line 50 of file ColorOcTree.h.

Member Data Documentation

Color octomap::ColorOcTreeNode::color

Definition at line 103 of file ColorOcTree.h.

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

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