Definition at line 59 of file ColorOcTree.h.
#include <mrpt/otherlibs/octomap/ColorOcTree.h>

Classes | |
| class | Color |
Public Types | |
| typedef float | DataType |
| Make the templated data type available from the outside. More... | |
Public Member Functions | |
| ColorOcTreeNode () | |
| ColorOcTreeNode (const ColorOcTreeNode &rhs) | |
| bool | operator== (const ColorOcTreeNode &rhs) const |
| ColorOcTreeNode * | getChild (unsigned int i) |
| const ColorOcTreeNode * | getChild (unsigned int i) const |
| bool | createChild (unsigned int i) |
| bool | pruneNode () |
| void | expandNode () |
| Color | getColor () const |
| void | setColor (Color c) |
| void | setColor (unsigned char r, unsigned char g, unsigned char b) |
| Color & | getColor () |
| bool | isColorSet () const |
| void | updateColorChildren () |
| ColorOcTreeNode::Color | getAverageChildColor () const |
| std::istream & | readValue (std::istream &s) |
| std::ostream & | writeValue (std::ostream &s) const |
| double | getOccupancy () const |
| float | getLogOdds () const |
| void | setLogOdds (float l) |
| sets log odds occupancy of node More... | |
| double | getMeanChildLogOdds () const |
| float | getMaxChildLogOdds () const |
| void | updateOccupancyChildren () |
| update this node's occupancy according to its children's maximum occupancy More... | |
| void | addValue (const float &p) |
| adds p to the node's logOdds value (with no boundary / threshold checking!) More... | |
| bool | operator== (const OcTreeDataNode &rhs) const |
| Equals operator, compares if the stored value is identical. More... | |
| bool | childExists (unsigned int i) const |
| bool | hasChildren () const |
| bool | collapsible () const |
| A node is collapsible if all children exist, don't have children of their own and have the same occupancy value. More... | |
| void | deleteChild (unsigned int i) |
| Deletes the i-th child of the node. More... | |
| float | getValue () const |
| void | setValue (floatv) |
| sets value to be stored in the node More... | |
Protected Member Functions | |
| void | allocChildren () |
Protected Attributes | |
| Color | color |
| OcTreeDataNode< float > ** | children |
| pointer to array of children, may be NULL More... | |
| float | value |
| stored data (payload) More... | |
|
inherited |
Make the templated data type available from the outside.
Definition at line 156 of file OcTreeDataNode.h.
|
inline |
Definition at line 77 of file ColorOcTree.h.
Referenced by createChild().
|
inline |
Definition at line 79 of file ColorOcTree.h.
|
inherited |
adds p to the node's logOdds value (with no boundary / threshold checking!)
|
protectedinherited |
Referenced by octomap::OcTreeNodeStamped::createChild(), and createChild().
|
inherited |
|
inherited |
A node is collapsible if all children exist, don't have children of their own and have the same occupancy value.
|
inline |
Definition at line 93 of file ColorOcTree.h.
References octomap::OcTreeDataNode< float >::allocChildren(), octomap::OcTreeDataNode< float >::children, and ColorOcTreeNode().
|
inherited |
Deletes the i-th child of the node.
| void octomap::ColorOcTreeNode::expandNode | ( | ) |
| ColorOcTreeNode::Color octomap::ColorOcTreeNode::getAverageChildColor | ( | ) | const |
|
inline |
Definition at line 86 of file ColorOcTree.h.
References octomap::OcTreeNode::getChild().
|
inline |
Definition at line 89 of file ColorOcTree.h.
References octomap::OcTreeNode::getChild().
|
inline |
Definition at line 102 of file ColorOcTree.h.
References color.
|
inline |
Definition at line 108 of file ColorOcTree.h.
References color.
|
inlineinherited |
Definition at line 89 of file OcTreeNode.h.
References octomap::OcTreeDataNode< float >::value.
Referenced by octomap::AbstractOccupancyOcTree::isNodeAtThreshold(), and octomap::AbstractOccupancyOcTree::isNodeOccupied().
|
inherited |
Referenced by octomap::OcTreeNodeStamped::updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inherited |
|
inlineinherited |
Definition at line 86 of file OcTreeNode.h.
References octomap::probability(), and octomap::OcTreeDataNode< float >::value.
|
inlineinherited |
Definition at line 129 of file OcTreeDataNode.h.
|
inherited |
|
inline |
Definition at line 111 of file ColorOcTree.h.
References octomap::ColorOcTreeNode::Color::b, color, octomap::ColorOcTreeNode::Color::g, and octomap::ColorOcTreeNode::Color::r.
|
inline |
Definition at line 81 of file ColorOcTree.h.
References color, octomap::OcTreeDataNode< T >::value, and octomap::OcTreeDataNode< float >::value.
|
inherited |
Equals operator, compares if the stored value is identical.
| bool octomap::ColorOcTreeNode::pruneNode | ( | ) |
| std::istream& octomap::ColorOcTreeNode::readValue | ( | std::istream & | s | ) |
|
inline |
Definition at line 103 of file ColorOcTree.h.
References color.
|
inline |
Definition at line 104 of file ColorOcTree.h.
References color.
|
inlineinherited |
sets log odds occupancy of node
Definition at line 91 of file OcTreeNode.h.
References octomap::OcTreeDataNode< float >::value.
Referenced by octomap::OcTreeNodeStamped::updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inlineinherited |
sets value to be stored in the node
Definition at line 131 of file OcTreeDataNode.h.
| void octomap::ColorOcTreeNode::updateColorChildren | ( | ) |
|
inlineinherited |
update this node's occupancy according to its children's maximum occupancy
Definition at line 104 of file OcTreeNode.h.
References octomap::OcTreeNode::getMaxChildLogOdds(), and octomap::OcTreeNode::setLogOdds().
| std::ostream& octomap::ColorOcTreeNode::writeValue | ( | std::ostream & | s | ) | const |
|
protectedinherited |
pointer to array of children, may be NULL
Definition at line 163 of file OcTreeDataNode.h.
Referenced by octomap::OcTreeNodeStamped::createChild(), and createChild().
|
protected |
Definition at line 125 of file ColorOcTree.h.
Referenced by getColor(), isColorSet(), operator==(), and setColor().
|
protectedinherited |
stored data (payload)
Definition at line 165 of file OcTreeDataNode.h.
Referenced by octomap::OcTreeNode::getLogOdds(), octomap::OcTreeNode::getOccupancy(), octomap::OcTreeNodeStamped::operator==(), operator==(), and octomap::OcTreeNode::setLogOdds().
| Page generated by Doxygen 1.8.9.1 for MRPT 1.3.2 SVN:Unversioned directory at Thu Dec 10 00:07:55 UTC 2015 |