octomap
1.9.7
|
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... | |
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... | |
void | copyData (const OcTreeNodeStamped &from) |
float | getLogOdds () const |
float | getMaxChildLogOdds () const |
double | getMeanChildLogOdds () const |
double | getOccupancy () const |
unsigned int | getTimestamp () const |
float | getValue () const |
OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const) | |
Test whether the i-th child exists. More... | |
OCTOMAP_DEPRECATED (bool hasChildren() const) | |
OcTreeNodeStamped () | |
OcTreeNodeStamped (const OcTreeNodeStamped &rhs) | |
bool | operator== (const OcTreeDataNode &rhs) const |
Equals operator, compares if the stored value is identical. More... | |
bool | operator== (const OcTreeNodeStamped &rhs) const |
std::istream & | readData (std::istream &s) |
Read node payload (data only) from binary stream. More... | |
void | setLogOdds (float l) |
sets log odds occupancy of node More... | |
void | setTimestamp (unsigned int t) |
void | setValue (float v) |
sets value to be stored in the node More... | |
void | updateOccupancyChildren () |
void | updateTimestamp () |
std::ostream & | writeData (std::ostream &s) const |
Write node payload (data only) to binary stream. More... | |
Protected Member Functions | |
void | allocChildren () |
Protected Attributes | |
AbstractOcTreeNode ** | children |
pointer to array of children, may be NULL More... | |
unsigned int | timestamp |
float | value |
stored data (payload) More... | |
|
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 |
|
inherited |
Copy the payload (data in "value") from rhs into this node Opposed to copy ctor, this does not clone the children as well.
|
inline |
References octomap::OcTreeDataNode< float >::copyData(), getTimestamp(), and timestamp.
|
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 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().
|
inline |
References timestamp.
Referenced by copyData(), octomap::OcTreeStamped::getLastUpdateTime(), and main().
|
inlineinherited |
|
inherited |
Test whether the i-th child exists.
|
inherited |
|
inherited |
Equals operator, compares if the stored value is identical.
|
inline |
|
inherited |
Read node payload (data only) from binary stream.
|
inlineinherited |
sets log odds occupancy of node
References octomap::OcTreeDataNode< float >::value.
Referenced by updateOccupancyChildren(), and octomap::OcTreeNode::updateOccupancyChildren().
|
inline |
References timestamp.
|
inlineinherited |
sets value to be stored in the node
|
inline |
|
inline |
References timestamp.
Referenced by octomap::OcTreeStamped::updateNodeLogOdds(), and updateOccupancyChildren().
|
inherited |
Write node payload (data only) to binary stream.
|
protectedinherited |
pointer to array of children, may be NULL
|
protected |
Referenced by copyData(), getTimestamp(), operator==(), setTimestamp(), and updateTimestamp().
|
protectedinherited |
stored data (payload)