#include <ColorOcTree.h>

Classes | |
| class | Color |
Public Member Functions | |
| ColorOcTreeNode () | |
| ColorOcTreeNode (const ColorOcTreeNode &rhs) | |
| bool | createChild (unsigned int i) |
| void | expandNode () |
| ColorOcTreeNode::Color | getAverageChildColor () const |
| ColorOcTreeNode * | getChild (unsigned int i) |
| const ColorOcTreeNode * | getChild (unsigned int i) const |
| Color | getColor () const |
| Color & | getColor () |
| bool | isColorSet () const |
| bool | operator== (const ColorOcTreeNode &rhs) const |
| bool | pruneNode () |
| std::istream & | readValue (std::istream &s) |
| void | setColor (Color c) |
| void | setColor (unsigned char r, unsigned char g, unsigned char b) |
| void | updateColorChildren () |
| std::ostream & | writeValue (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... | |
| bool | createChild (unsigned int i) |
| OcTreeNode * | getChild (unsigned int i) |
| const OcTreeNode * | getChild (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 | |
| Color | color |
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 () |
Definition at line 45 of file ColorOcTree.h.
|
inline |
Definition at line 63 of file ColorOcTree.h.
|
inline |
Definition at line 65 of file ColorOcTree.h.
|
inline |
Definition at line 79 of file ColorOcTree.h.
| void octomap::ColorOcTreeNode::expandNode | ( | ) |
Definition at line 123 of file ColorOcTree.cpp.
| ColorOcTreeNode::Color octomap::ColorOcTreeNode::getAverageChildColor | ( | ) | const |
Definition at line 78 of file ColorOcTree.cpp.
|
inline |
Definition at line 72 of file ColorOcTree.h.
|
inline |
Definition at line 75 of file ColorOcTree.h.
|
inline |
Definition at line 88 of file ColorOcTree.h.
|
inline |
Definition at line 94 of file ColorOcTree.h.
|
inline |
Definition at line 97 of file ColorOcTree.h.
|
inline |
Definition at line 67 of file ColorOcTree.h.
| bool octomap::ColorOcTreeNode::pruneNode | ( | ) |
Definition at line 107 of file ColorOcTree.cpp.
| std::istream & octomap::ColorOcTreeNode::readValue | ( | std::istream & | s | ) |
Definition at line 60 of file ColorOcTree.cpp.
|
inline |
Definition at line 89 of file ColorOcTree.h.
|
inline |
Definition at line 90 of file ColorOcTree.h.
| void octomap::ColorOcTreeNode::updateColorChildren | ( | ) |
Definition at line 101 of file ColorOcTree.cpp.
| std::ostream & octomap::ColorOcTreeNode::writeValue | ( | std::ostream & | s | ) | const |
Definition at line 40 of file ColorOcTree.cpp.
|
protected |
Definition at line 111 of file ColorOcTree.h.