#include <ColorOcTree.h>
Classes | |
class | Color |
Public Member Functions | |
ColorOcTreeNode () | |
ColorOcTreeNode (const ColorOcTreeNode &rhs) | |
void | copyData (const ColorOcTreeNode &from) |
ColorOcTreeNode::Color | getAverageChildColor () const |
Color | getColor () const |
Color & | getColor () |
bool | isColorSet () const |
bool | operator== (const ColorOcTreeNode &rhs) const |
std::istream & | readData (std::istream &s) |
void | setColor (Color c) |
void | setColor (uint8_t r, uint8_t g, uint8_t b) |
void | updateColorChildren () |
std::ostream & | writeData (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... | |
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 > | |
void | copyData (const OcTreeDataNode &from) |
float | getValue () const |
OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const) | |
OCTOMAP_DEPRECATED (bool hasChildren() const) | |
OcTreeDataNode () | |
OcTreeDataNode (float initVal) | |
OcTreeDataNode (const OcTreeDataNode &rhs) | |
bool | operator== (const OcTreeDataNode &rhs) const |
Equals operator, compares if the stored value is identical. More... | |
std::istream & | readData (std::istream &s) |
Read node payload (data only) from binary stream. More... | |
void | setValue (float v) |
sets value to be stored in the node More... | |
std::ostream & | writeData (std::ostream &s) const |
Write node payload (data only) to binary stream. More... | |
~OcTreeDataNode () | |
Protected Attributes | |
Color | color |
Protected Attributes inherited from octomap::OcTreeDataNode< float > | |
AbstractOcTreeNode ** | children |
float | value |
stored data (payload) More... | |
Friends | |
class | ColorOcTree |
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 48 of file ColorOcTree.h.
|
inline |
Definition at line 67 of file ColorOcTree.h.
|
inline |
Definition at line 69 of file ColorOcTree.h.
|
inline |
Definition at line 75 of file ColorOcTree.h.
ColorOcTreeNode::Color octomap::ColorOcTreeNode::getAverageChildColor | ( | ) | const |
Definition at line 54 of file ColorOcTree.cpp.
|
inline |
Definition at line 80 of file ColorOcTree.h.
|
inline |
Definition at line 86 of file ColorOcTree.h.
|
inline |
Definition at line 89 of file ColorOcTree.h.
|
inline |
Definition at line 71 of file ColorOcTree.h.
std::istream & octomap::ColorOcTreeNode::readData | ( | std::istream & | s | ) |
Definition at line 47 of file ColorOcTree.cpp.
|
inline |
Definition at line 81 of file ColorOcTree.h.
|
inline |
Definition at line 82 of file ColorOcTree.h.
void octomap::ColorOcTreeNode::updateColorChildren | ( | ) |
Definition at line 85 of file ColorOcTree.cpp.
std::ostream & octomap::ColorOcTreeNode::writeData | ( | std::ostream & | s | ) | const |
Definition at line 40 of file ColorOcTree.cpp.
|
friend |
Definition at line 50 of file ColorOcTree.h.
|
protected |
Definition at line 103 of file ColorOcTree.h.