Public Types | Public Member Functions | Private Attributes | Friends | List of all members
rtabmap::RtabmapColorOcTreeNode Class Reference

#include <OctoMap.h>

Inheritance diagram for rtabmap::RtabmapColorOcTreeNode:
Inheritance graph
[legend]

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 ()
 
RtabmapColorOcTreeNodegetChild (unsigned int i)
 
const RtabmapColorOcTreeNodegetChild (unsigned int i) const
 
int getNodeRefId () const
 
int getOccupancyType () const
 
const octomap::point3dgetPointRef () 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
 

Detailed Description

Definition at line 50 of file OctoMap.h.

Member Enumeration Documentation

Enumerator
kTypeUnknown 
kTypeEmpty 
kTypeGround 
kTypeObstacle 

Definition at line 53 of file OctoMap.h.

Constructor & Destructor Documentation

rtabmap::RtabmapColorOcTreeNode::RtabmapColorOcTreeNode ( )
inline

Definition at line 58 of file OctoMap.h.

rtabmap::RtabmapColorOcTreeNode::RtabmapColorOcTreeNode ( const RtabmapColorOcTreeNode rhs)
inline

Definition at line 59 of file OctoMap.h.

Member Function Documentation

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.

int rtabmap::RtabmapColorOcTreeNode::getNodeRefId ( ) const
inline

Definition at line 64 of file OctoMap.h.

int rtabmap::RtabmapColorOcTreeNode::getOccupancyType ( ) const
inline

Definition at line 65 of file OctoMap.h.

const octomap::point3d& rtabmap::RtabmapColorOcTreeNode::getPointRef ( ) const
inline

Definition at line 66 of file OctoMap.h.

bool rtabmap::RtabmapColorOcTreeNode::pruneNode ( )

Definition at line 61 of file OctoMap.cpp.

void rtabmap::RtabmapColorOcTreeNode::setNodeRefId ( int  nodeRefId)
inline

Definition at line 61 of file OctoMap.h.

void rtabmap::RtabmapColorOcTreeNode::setOccupancyType ( char  type)
inline

Definition at line 62 of file OctoMap.h.

void rtabmap::RtabmapColorOcTreeNode::setPointRef ( const octomap::point3d point)
inline

Definition at line 63 of file OctoMap.h.

Friends And Related Function Documentation

friend class RtabmapColorOcTree
friend

Definition at line 56 of file OctoMap.h.

Member Data Documentation

int rtabmap::RtabmapColorOcTreeNode::nodeRefId_
private

Definition at line 76 of file OctoMap.h.

octomap::point3d rtabmap::RtabmapColorOcTreeNode::pointRef_
private

Definition at line 78 of file OctoMap.h.

int rtabmap::RtabmapColorOcTreeNode::type_
private

Definition at line 77 of file OctoMap.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43