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)
 
bool createChild (unsigned int i)
 
void expandNode ()
 
ColorOcTreeNode::Color getAverageChildColor () const
 
ColorOcTreeNodegetChild (unsigned int i)
 
const ColorOcTreeNodegetChild (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 OcTreeNodegetChild (unsigned int i) const
 
OcTreeNodegetChild (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
 

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 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.

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 62 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 Mon Dec 14 2020 03:37:09