|
octomap
1.9.7
|
Inheritance diagram for octomap::ColorOcTreeNode:
Collaboration diagram for octomap::ColorOcTreeNode:Data Structures | |
| class | Color |
Public Types | |
| typedef float | DataType |
| Make the templated data type available from the outside. More... | |
Public Member Functions | |
| void | addValue (const float &p) |
| adds p to the node's logOdds value (with no boundary / threshold checking!) More... | |
| ColorOcTreeNode () | |
| ColorOcTreeNode (const ColorOcTreeNode &rhs) | |
| void | copyData (const ColorOcTreeNode &from) |
| void | copyData (const OcTreeDataNode &from) |
| Copy the payload (data in "value") from rhs into this node Opposed to copy ctor, this does not clone the children as well. More... | |
| ColorOcTreeNode::Color | getAverageChildColor () const |
| Color & | getColor () |
| Color | getColor () const |
| float | getLogOdds () const |
| float | getMaxChildLogOdds () const |
| double | getMeanChildLogOdds () const |
| double | getOccupancy () const |
| float | getValue () const |
| bool | isColorSet () const |
| OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const) | |
| Test whether the i-th child exists. More... | |
| OCTOMAP_DEPRECATED (bool hasChildren() const) | |
| bool | operator== (const ColorOcTreeNode &rhs) const |
| bool | operator== (const OcTreeDataNode &rhs) const |
| Equals operator, compares if the stored value is identical. More... | |
| std::istream & | readData (std::istream &s) |
| void | setColor (Color c) |
| void | setColor (uint8_t r, uint8_t g, uint8_t b) |
| void | setLogOdds (float l) |
| sets log odds occupancy of node More... | |
| void | setValue (float v) |
| sets value to be stored in the node More... | |
| void | updateColorChildren () |
| void | updateOccupancyChildren () |
| update this node's occupancy according to its children's maximum occupancy More... | |
| std::ostream & | writeData (std::ostream &s) const |
Protected Member Functions | |
| void | allocChildren () |
Protected Attributes | |
| AbstractOcTreeNode ** | children |
| pointer to array of children, may be NULL More... | |
| Color | color |
| float | value |
| stored data (payload) More... | |
Friends | |
| class | ColorOcTree |
|
inherited |
Make the templated data type available from the outside.
|
inline |
|
inline |
|
inherited |
adds p to the node's logOdds value (with no boundary / threshold checking!)
References octomap::OcTreeDataNode< float >::value.
|
protectedinherited |
|
inline |
References color, octomap::OcTreeDataNode< float >::copyData(), and getColor().
Referenced by octomap::ColorOcTree::pruneNode().
|
inherited |
Copy the payload (data in "value") from rhs into this node Opposed to copy ctor, this does not clone the children as well.
| ColorOcTreeNode::Color octomap::ColorOcTreeNode::getAverageChildColor | ( | ) | const |
|
inline |
References color.
Referenced by octomap::ColorOcTree::averageNodeColor(), copyData(), getAverageChildColor(), octomap::ColorOcTree::integrateNodeColor(), main(), and print_query_info().
|
inlineinherited |
References octomap::OcTreeDataNode< float >::value.
Referenced by octomap::OcTreeNode::getMaxChildLogOdds(), octomap::AbstractOccupancyOcTree::isNodeAtThreshold(), octomap::AbstractOccupancyOcTree::isNodeOccupied(), and main().
|
inherited |
References octomap::OcTreeDataNode< float >::children, and octomap::OcTreeNode::getLogOdds().
Referenced by octomap::OcTreeNodeStamped::updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inherited |
References octomap::OcTreeDataNode< float >::children, and octomap::OcTreeNode::getOccupancy().
|
inlineinherited |
References octomap::probability(), and octomap::OcTreeDataNode< float >::value.
Referenced by octomap::OcTreeNode::getMeanChildLogOdds(), octomap::ColorOcTree::integrateNodeColor(), main(), and print_query_info().
|
inlineinherited |
|
inline |
|
inherited |
Test whether the i-th child exists.
|
inherited |
|
inline |
References color, octomap::OcTreeDataNode< T >::value, and octomap::OcTreeDataNode< float >::value.
|
inherited |
Equals operator, compares if the stored value is identical.
| std::istream & octomap::ColorOcTreeNode::readData | ( | std::istream & | s | ) |
References color, and octomap::OcTreeDataNode< float >::value.
|
inline |
|
inline |
References color.
|
inlineinherited |
sets log odds occupancy of node
References octomap::OcTreeDataNode< float >::value.
Referenced by octomap::OcTreeNodeStamped::updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inlineinherited |
sets value to be stored in the node
| void octomap::ColorOcTreeNode::updateColorChildren | ( | ) |
References color, and getAverageChildColor().
Referenced by octomap::ColorOcTree::updateInnerOccupancyRecurs().
|
inlineinherited |
update this node's occupancy according to its children's maximum occupancy
References octomap::OcTreeNode::getMaxChildLogOdds(), and octomap::OcTreeNode::setLogOdds().
Referenced by octomap::ColorOcTree::updateInnerOccupancyRecurs().
| std::ostream & octomap::ColorOcTreeNode::writeData | ( | std::ostream & | s | ) | const |
References color, and octomap::OcTreeDataNode< float >::value.
|
friend |
|
protectedinherited |
pointer to array of children, may be NULL
|
protected |
Referenced by copyData(), getColor(), isColorSet(), operator==(), readData(), setColor(), updateColorChildren(), and writeData().
|
protectedinherited |
stored data (payload)