#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) | |
bool | createChild (unsigned int i) |
void | expandNode () |
ColorOcTreeNode::Color | getAverageChildColor () const |
ColorOcTreeNode * | getChild (unsigned int i) |
const ColorOcTreeNode * | getChild (unsigned int i) const |
Color | getColor () const |
Color & | getColor () |
bool | isColorSet () const |
bool | operator== (const ColorOcTreeNode &rhs) const |
bool | pruneNode () |
std::istream & | readValue (std::istream &s) |
void | setColor (unsigned char r, unsigned char g, unsigned char b) |
void | setColor (Color c) |
void | updateColorChildren () |
std::ostream & | writeValue (std::ostream &s) const |
Public Member Functions inherited from octomap::OcTreeNode | |
void | addValue (const float &p) |
bool | createChild (unsigned int i) |
const OcTreeNode * | getChild (unsigned int i) const |
OcTreeNode * | getChild (unsigned int i) |
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 > | |
bool | childExists (unsigned int i) const |
bool | collapsible () const |
bool | createChild (unsigned int i) |
void | deleteChild (unsigned int i) |
void | expandNode () |
OcTreeDataNode< float > * | getChild (unsigned int i) |
const OcTreeDataNode< float > * | getChild (unsigned int i) const |
float | getValue () const |
bool | hasChildren () const |
OcTreeDataNode (floatinitVal) | |
OcTreeDataNode () | |
OcTreeDataNode (const OcTreeDataNode &rhs) | |
bool | operator== (const OcTreeDataNode &rhs) const |
bool | pruneNode () |
std::istream & | readValue (std::istream &s) |
void | setValue (floatv) |
std::ostream & | writeValue (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 > | |
OcTreeDataNode< float > ** | children |
float | value |
|
inline |
|
inline |
bool rtabmap::RtabmapColorOcTreeNode::createChild | ( | unsigned int | i | ) |
Definition at line 97 of file OctoMap.cpp.
void rtabmap::RtabmapColorOcTreeNode::expandNode | ( | ) |
Definition at line 83 of file OctoMap.cpp.
RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTreeNode::getChild | ( | unsigned int | i | ) |
Definition at line 44 of file OctoMap.cpp.
const RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTreeNode::getChild | ( | unsigned int | i | ) | const |
Definition at line 52 of file OctoMap.cpp.
|
inline |
|
inline |
|
inline |
bool rtabmap::RtabmapColorOcTreeNode::pruneNode | ( | ) |
Definition at line 62 of file OctoMap.cpp.
|
inline |
|
inline |
|
inline |
|
friend |
|
private |