Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
octomap::MyOcTree Class Reference

#include <MyOcTree.h>

Inheritance diagram for octomap::MyOcTree:
Inheritance graph
[legend]

List of all members.

Classes

class  StaticMemberInitializer

Public Member Functions

MyOcTreeNodeaverageNodeColor (const OcTreeKey &key, const unsigned char &r, const unsigned char &g, const unsigned char &b)
MyOcTreeNodeaverageNodeColor (const float &x, const float &y, const float &z, const unsigned char &r, const unsigned char &g, const unsigned char &b)
double CalCurSqrtRecipStd (double dist)
MyOcTreecreate () const
double getModelNoiseStd (double dist)
double getNodeCurDist (const OcTreeKey &key)
double getNodeCurDist (const float &x, const float &y, const float &z)
double getNodeSqrtRecipStdt (const OcTreeKey &key)
double getNodeSqrtRecipStdt (const float &x, const float &y, const float &z)
int getNodeVisCount (const OcTreeKey &key)
int getNodeVisCount (const float &x, const float &y, const float &z)
std::string getTreeType () const
void groundColorMix (double *color, double x, double min, double max)
MyOcTreeNodeintegrateNodeColor (const OcTreeKey &key, const unsigned char &r, const unsigned char &g, const unsigned char &b)
MyOcTreeNodeintegrateNodeColor (const float &x, const float &y, const float &z, const unsigned char &r, const unsigned char &g, const unsigned char &b)
 MyOcTree (double resolution)
 Default constructor, sets resolution of leafs.
void setClampingVisCountThres (int max_visCount_)
MyOcTreeNodesetNodeColor (const OcTreeKey &key, const unsigned char &r, const unsigned char &g, const unsigned char &b)
MyOcTreeNodesetNodeColor (const float &x, const float &y, const float &z, const unsigned char &r, const unsigned char &g, const unsigned char &b)
MyOcTreeNodesetNodeCurDist (const OcTreeKey &key, const double &dist)
MyOcTreeNodesetNodeCurDist (const float &x, const float &y, const float &z, const double &dist)
MyOcTreeNodesetNodeSqrtRecipStd (const OcTreeKey &key, const double &sqrtRecipStd_)
MyOcTreeNodesetNodeSqrtRecipStd (const float &x, const float &y, const float &z, const double &sqrtRecipStd_)
void updateInnerOccupancy ()
void updateNodeSqrtRecipStd (const OcTreeKey &key, const double &sqrtRecipStd_update)
void updateNodeSqrtRecipStd (const float &x, const float &y, const float &z, const double &sqrtRecipStd_update)
void updateNodeVisCount (const OcTreeKey &key)
void updateNodeVisCount (const float &x, const float &y, const float &z)
void writeColorHistogram (std::string filename)

Protected Member Functions

void updateInnerOccupancyRecurs (MyOcTreeNode *node, unsigned int depth)

Protected Attributes

int claming_visCount_thres

Static Protected Attributes

static StaticMemberInitializer MyOcTreeMemberInit
 static member to ensure static initialization (only once)

Detailed Description

Definition at line 101 of file MyOcTree.h.


Constructor & Destructor Documentation

octomap::MyOcTree::MyOcTree ( double  resolution) [inline]

Default constructor, sets resolution of leafs.

Definition at line 105 of file MyOcTree.h.


Member Function Documentation

MyOcTreeNode * octomap::MyOcTree::averageNodeColor ( const OcTreeKey key,
const unsigned char &  r,
const unsigned char &  g,
const unsigned char &  b 
)

Definition at line 194 of file MyOcTree.cpp.

MyOcTreeNode* octomap::MyOcTree::averageNodeColor ( const float &  x,
const float &  y,
const float &  z,
const unsigned char &  r,
const unsigned char &  g,
const unsigned char &  b 
) [inline]

Definition at line 174 of file MyOcTree.h.

double octomap::MyOcTree::CalCurSqrtRecipStd ( double  dist) [inline]

Definition at line 218 of file MyOcTree.h.

MyOcTree* octomap::MyOcTree::create ( ) const [inline]

virtual constructor: creates a new object of same type (Covariant return type requires an up-to-date compiler)

Definition at line 109 of file MyOcTree.h.

double octomap::MyOcTree::getModelNoiseStd ( double  dist) [inline]

Definition at line 215 of file MyOcTree.h.

Definition at line 170 of file MyOcTree.cpp.

double octomap::MyOcTree::getNodeCurDist ( const float &  x,
const float &  y,
const float &  z 
) [inline]

Definition at line 146 of file MyOcTree.h.

Definition at line 177 of file MyOcTree.cpp.

double octomap::MyOcTree::getNodeSqrtRecipStdt ( const float &  x,
const float &  y,
const float &  z 
) [inline]

Definition at line 154 of file MyOcTree.h.

Definition at line 185 of file MyOcTree.cpp.

int octomap::MyOcTree::getNodeVisCount ( const float &  x,
const float &  y,
const float &  z 
) [inline]

Definition at line 163 of file MyOcTree.h.

std::string octomap::MyOcTree::getTreeType ( ) const [inline]

Reimplemented from octomap::OcTreeBaseImpl< MyOcTreeNode, AbstractOccupancyOcTree >.

Definition at line 111 of file MyOcTree.h.

void octomap::MyOcTree::groundColorMix ( double *  color,
double  x,
double  min,
double  max 
)

Definition at line 273 of file MyOcTree.cpp.

MyOcTreeNode * octomap::MyOcTree::integrateNodeColor ( const OcTreeKey key,
const unsigned char &  r,
const unsigned char &  g,
const unsigned char &  b 
)

Definition at line 211 of file MyOcTree.cpp.

MyOcTreeNode* octomap::MyOcTree::integrateNodeColor ( const float &  x,
const float &  y,
const float &  z,
const unsigned char &  r,
const unsigned char &  g,
const unsigned char &  b 
) [inline]

Definition at line 186 of file MyOcTree.h.

void octomap::MyOcTree::setClampingVisCountThres ( int  max_visCount_) [inline]

Definition at line 113 of file MyOcTree.h.

MyOcTreeNode * octomap::MyOcTree::setNodeColor ( const OcTreeKey key,
const unsigned char &  r,
const unsigned char &  g,
const unsigned char &  b 
)

Definition at line 144 of file MyOcTree.cpp.

MyOcTreeNode* octomap::MyOcTree::setNodeColor ( const float &  x,
const float &  y,
const float &  z,
const unsigned char &  r,
const unsigned char &  g,
const unsigned char &  b 
) [inline]

Definition at line 120 of file MyOcTree.h.

MyOcTreeNode * octomap::MyOcTree::setNodeCurDist ( const OcTreeKey key,
const double &  dist 
)

Definition at line 162 of file MyOcTree.cpp.

MyOcTreeNode* octomap::MyOcTree::setNodeCurDist ( const float &  x,
const float &  y,
const float &  z,
const double &  dist 
) [inline]

Definition at line 137 of file MyOcTree.h.

MyOcTreeNode * octomap::MyOcTree::setNodeSqrtRecipStd ( const OcTreeKey key,
const double &  sqrtRecipStd_ 
)

Definition at line 155 of file MyOcTree.cpp.

MyOcTreeNode* octomap::MyOcTree::setNodeSqrtRecipStd ( const float &  x,
const float &  y,
const float &  z,
const double &  sqrtRecipStd_ 
) [inline]

Definition at line 129 of file MyOcTree.h.

Reimplemented from octomap::OccupancyOcTreeBase< MyOcTreeNode >.

Definition at line 252 of file MyOcTree.cpp.

void octomap::MyOcTree::updateInnerOccupancyRecurs ( MyOcTreeNode node,
unsigned int  depth 
) [protected]

Reimplemented from octomap::OccupancyOcTreeBase< MyOcTreeNode >.

Definition at line 257 of file MyOcTree.cpp.

void octomap::MyOcTree::updateNodeSqrtRecipStd ( const OcTreeKey key,
const double &  sqrtRecipStd_update 
)

Definition at line 235 of file MyOcTree.cpp.

void octomap::MyOcTree::updateNodeSqrtRecipStd ( const float &  x,
const float &  y,
const float &  z,
const double &  sqrtRecipStd_update 
) [inline]

Definition at line 198 of file MyOcTree.h.

Definition at line 242 of file MyOcTree.cpp.

void octomap::MyOcTree::updateNodeVisCount ( const float &  x,
const float &  y,
const float &  z 
) [inline]

Definition at line 206 of file MyOcTree.h.

void octomap::MyOcTree::writeColorHistogram ( std::string  filename)

Definition at line 328 of file MyOcTree.cpp.


Member Data Documentation

Definition at line 241 of file MyOcTree.h.

static member to ensure static initialization (only once)

Definition at line 240 of file MyOcTree.h.


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


octomap_tensor_field
Author(s): Lintao Zheng
autogenerated on Thu Jun 6 2019 19:50:39