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 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::point3d & getPointRef () const
 
bool pruneNode ()
 
 RtabmapColorOcTreeNode ()
 
 RtabmapColorOcTreeNode (const RtabmapColorOcTreeNode &rhs)
 
void setNodeRefId (int nodeRefId)
 
void setOccupancyType (char type)
 
void setPointRef (const octomap::point3d &point)
 
void updateOccupancyTypeChildren ()
 

Private Attributes

int nodeRefId_
 
octomap::point3d pointRef_
 
int type_
 

Friends

class RtabmapColorOcTree
 

Detailed Description

Definition at line 53 of file global_map/OctoMap.h.

Member Enumeration Documentation

◆ OccupancyType

Enumerator
kTypeUnknown 
kTypeEmpty 
kTypeGround 
kTypeObstacle 

Definition at line 56 of file global_map/OctoMap.h.

Constructor & Destructor Documentation

◆ RtabmapColorOcTreeNode() [1/2]

rtabmap::RtabmapColorOcTreeNode::RtabmapColorOcTreeNode ( )
inline

Definition at line 61 of file global_map/OctoMap.h.

◆ RtabmapColorOcTreeNode() [2/2]

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

Definition at line 62 of file global_map/OctoMap.h.

Member Function Documentation

◆ createChild()

bool rtabmap::RtabmapColorOcTreeNode::createChild ( unsigned int  i)

Definition at line 98 of file OctoMap.cpp.

◆ expandNode()

void rtabmap::RtabmapColorOcTreeNode::expandNode ( )

Definition at line 84 of file OctoMap.cpp.

◆ getChild() [1/2]

RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTreeNode::getChild ( unsigned int  i)

Definition at line 45 of file OctoMap.cpp.

◆ getChild() [2/2]

const RtabmapColorOcTreeNode * rtabmap::RtabmapColorOcTreeNode::getChild ( unsigned int  i) const

Definition at line 53 of file OctoMap.cpp.

◆ getNodeRefId()

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

Definition at line 67 of file global_map/OctoMap.h.

◆ getOccupancyType()

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

Definition at line 68 of file global_map/OctoMap.h.

◆ getPointRef()

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

Definition at line 69 of file global_map/OctoMap.h.

◆ pruneNode()

bool rtabmap::RtabmapColorOcTreeNode::pruneNode ( )

Definition at line 63 of file OctoMap.cpp.

◆ setNodeRefId()

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

Definition at line 64 of file global_map/OctoMap.h.

◆ setOccupancyType()

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

Definition at line 65 of file global_map/OctoMap.h.

◆ setPointRef()

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

Definition at line 66 of file global_map/OctoMap.h.

◆ updateOccupancyTypeChildren()

void rtabmap::RtabmapColorOcTreeNode::updateOccupancyTypeChildren ( )

Definition at line 109 of file OctoMap.cpp.

Friends And Related Function Documentation

◆ RtabmapColorOcTree

friend class RtabmapColorOcTree
friend

Definition at line 59 of file global_map/OctoMap.h.

Member Data Documentation

◆ nodeRefId_

int rtabmap::RtabmapColorOcTreeNode::nodeRefId_
private

Definition at line 81 of file global_map/OctoMap.h.

◆ pointRef_

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

Definition at line 83 of file global_map/OctoMap.h.

◆ type_

int rtabmap::RtabmapColorOcTreeNode::type_
private

Definition at line 82 of file global_map/OctoMap.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:28