#include <OctoMap.h>
Public Types | |
enum | OccupancyType { kTypeUnknown =-1, kTypeEmpty =0, kTypeGround =1, kTypeObstacle =100 } |
Public Types inherited from OcTreeDataNode< float > | |
typedef float | DataType |
Public Member Functions | |
bool | createChild (unsigned int i) |
void | expandNode () |
RtabmapColorOcTreeNode * | getChild (unsigned int i) |
const RtabmapColorOcTreeNode * | getChild (unsigned int i) const |
int | getNodeRefId () const |
int | getOccupancyType () const |
const octomap::point3d & | getPointRef () const |
bool | pruneNode () |
RtabmapColorOcTreeNode () | |
RtabmapColorOcTreeNode (const RtabmapColorOcTreeNode &rhs) | |
void | setNodeRefId (int nodeRefId) |
void | setOccupancyType (char type) |
void | setPointRef (const octomap::point3d &point) |
Public Member Functions inherited from octomap::ColorOcTreeNode | |
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 (uint8_t r, uint8_t g, uint8_t b) |
void | setColor (Color c) |
void | updateColorChildren () |
std::ostream & | writeData (std::ostream &s) const |
Public Member Functions inherited from octomap::OcTreeNode | |
void | addValue (const float &p) |
float | getLogOdds () const |
float | getMaxChildLogOdds () const |
double | getMeanChildLogOdds () const |
double | getOccupancy () const |
OcTreeNode () | |
void | setLogOdds (float l) |
void | updateOccupancyChildren () |
~OcTreeNode () | |
Public Member Functions inherited from OcTreeDataNode< float > | |
void | copyData (const OcTreeDataNode &from) |
float | getValue () const |
OCTOMAP_DEPRECATED (bool hasChildren() const) | |
OCTOMAP_DEPRECATED (bool childExists(unsigned int i) const) | |
OcTreeDataNode () | |
OcTreeDataNode (floatinitVal) | |
OcTreeDataNode (const OcTreeDataNode &rhs) | |
bool | operator== (const OcTreeDataNode &rhs) const |
std::istream & | readData (std::istream &s) |
void | setValue (floatv) |
std::ostream & | writeData (std::ostream &s) const |
~OcTreeDataNode () | |
Private Attributes | |
int | nodeRefId_ |
octomap::point3d | pointRef_ |
int | type_ |
Friends | |
class | RtabmapColorOcTree |
Additional Inherited Members | |
Protected Member Functions inherited from OcTreeDataNode< float > | |
void | allocChildren () |
Protected Attributes inherited from octomap::ColorOcTreeNode | |
Color | color |
Protected Attributes inherited from OcTreeDataNode< float > | |
AbstractOcTreeNode ** | children |
float | value |
|
inline |
|
inline |
bool rtabmap::RtabmapColorOcTreeNode::createChild | ( | unsigned int | i | ) |
Definition at line 96 of file OctoMap.cpp.
void rtabmap::RtabmapColorOcTreeNode::expandNode | ( | ) |
Definition at line 82 of file OctoMap.cpp.
RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTreeNode::getChild | ( | unsigned int | i | ) |
Definition at line 43 of file OctoMap.cpp.
const RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTreeNode::getChild | ( | unsigned int | i | ) | const |
Definition at line 51 of file OctoMap.cpp.
|
inline |
|
inline |
|
inline |
bool rtabmap::RtabmapColorOcTreeNode::pruneNode | ( | ) |
Definition at line 61 of file OctoMap.cpp.
|
inline |
|
inline |
|
inline |
|
friend |
|
private |