Definition at line 58 of file OcTreeStamped.h.
#include <mrpt/otherlibs/octomap/OcTreeStamped.h>

Public Types | |
| typedef float | DataType |
| Make the templated data type available from the outside. More... | |
Public Member Functions | |
| OcTreeNodeStamped () | |
| OcTreeNodeStamped (const OcTreeNodeStamped &rhs) | |
| bool | operator== (const OcTreeNodeStamped &rhs) const |
| OcTreeNodeStamped * | getChild (unsigned int i) |
| const OcTreeNodeStamped * | getChild (unsigned int i) const |
| bool | createChild (unsigned int i) |
| unsigned int | getTimestamp () const |
| void | updateTimestamp () |
| void | setTimestamp (unsigned int timestamp) |
| void | updateOccupancyChildren () |
| double | getOccupancy () const |
| float | getLogOdds () const |
| void | setLogOdds (float l) |
| sets log odds occupancy of node More... | |
| double | getMeanChildLogOdds () const |
| float | getMaxChildLogOdds () const |
| 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... | |
| bool | pruneNode () |
| Prunes a node when it is collapsible. More... | |
| void | expandNode () |
| Expands a node (reverse of pruning): All children are created and their occupancy probability is set to the node's value. More... | |
| float | getValue () const |
| void | setValue (floatv) |
| sets value to be stored in the node More... | |
| std::istream & | readValue (std::istream &s) |
| Read node from binary stream (incl. More... | |
| std::ostream & | writeValue (std::ostream &s) const |
| Write node to binary stream (incl float value), recursively continue with all children. More... | |
Protected Member Functions | |
| void | allocChildren () |
Protected Attributes | |
| unsigned int | timestamp |
| 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 61 of file OcTreeStamped.h.
Referenced by createChild().
|
inline |
Definition at line 63 of file OcTreeStamped.h.
|
inherited |
adds p to the node's logOdds value (with no boundary / threshold checking!)
|
protectedinherited |
Referenced by createChild(), and octomap::ColorOcTreeNode::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 77 of file OcTreeStamped.h.
References octomap::OcTreeDataNode< float >::allocChildren(), octomap::OcTreeDataNode< float >::children, and OcTreeNodeStamped().
|
inherited |
Deletes the i-th child of the node.
|
inherited |
Expands a node (reverse of pruning): All children are created and their occupancy probability is set to the node's value.
You need to verify that this is indeed a pruned node (i.e. not a leaf at the lowest level)
|
inline |
Definition at line 70 of file OcTreeStamped.h.
References octomap::OcTreeNode::getChild().
|
inline |
Definition at line 73 of file OcTreeStamped.h.
References octomap::OcTreeNode::getChild().
|
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 updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inherited |
|
inlineinherited |
Definition at line 86 of file OcTreeNode.h.
References octomap::probability(), and octomap::OcTreeDataNode< float >::value.
|
inline |
Definition at line 84 of file OcTreeStamped.h.
References timestamp.
|
inlineinherited |
Definition at line 129 of file OcTreeDataNode.h.
|
inherited |
|
inline |
Definition at line 65 of file OcTreeStamped.h.
References timestamp, octomap::OcTreeDataNode< T >::value, and octomap::OcTreeDataNode< float >::value.
|
inherited |
Equals operator, compares if the stored value is identical.
|
inherited |
Prunes a node when it is collapsible.
|
inherited |
Read node from binary stream (incl.
float value), recursively continue with all children.
| s |
|
inlineinherited |
sets log odds occupancy of node
Definition at line 91 of file OcTreeNode.h.
References octomap::OcTreeDataNode< float >::value.
Referenced by updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inline |
Definition at line 86 of file OcTreeStamped.h.
References timestamp.
|
inlineinherited |
sets value to be stored in the node
Definition at line 131 of file OcTreeDataNode.h.
|
inline |
Definition at line 89 of file OcTreeStamped.h.
References octomap::OcTreeNode::getMaxChildLogOdds(), octomap::OcTreeNode::setLogOdds(), and updateTimestamp().
|
inline |
Definition at line 85 of file OcTreeStamped.h.
References timestamp.
Referenced by updateOccupancyChildren().
|
inherited |
Write node to binary stream (incl float value), recursively continue with all children.
This preserves the complete state of the node.
| s |
|
protectedinherited |
pointer to array of children, may be NULL
Definition at line 163 of file OcTreeDataNode.h.
Referenced by createChild(), and octomap::ColorOcTreeNode::createChild().
|
protected |
Definition at line 95 of file OcTreeStamped.h.
Referenced by getTimestamp(), operator==(), setTimestamp(), and updateTimestamp().
|
protectedinherited |
stored data (payload)
Definition at line 165 of file OcTreeDataNode.h.
Referenced by octomap::OcTreeNode::getLogOdds(), octomap::OcTreeNode::getOccupancy(), operator==(), octomap::ColorOcTreeNode::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 |