#include <MyOcTree.h>
Classes | |
class | StaticMemberInitializer |
Public Member Functions | |
MyOcTreeNode * | averageNodeColor (const OcTreeKey &key, const unsigned char &r, const unsigned char &g, const unsigned char &b) |
MyOcTreeNode * | averageNodeColor (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) |
MyOcTree * | create () 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) |
MyOcTreeNode * | integrateNodeColor (const OcTreeKey &key, const unsigned char &r, const unsigned char &g, const unsigned char &b) |
MyOcTreeNode * | integrateNodeColor (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_) |
MyOcTreeNode * | setNodeColor (const OcTreeKey &key, const unsigned char &r, const unsigned char &g, const unsigned char &b) |
MyOcTreeNode * | setNodeColor (const float &x, const float &y, const float &z, const unsigned char &r, const unsigned char &g, const unsigned char &b) |
MyOcTreeNode * | setNodeCurDist (const OcTreeKey &key, const double &dist) |
MyOcTreeNode * | setNodeCurDist (const float &x, const float &y, const float &z, const double &dist) |
MyOcTreeNode * | setNodeSqrtRecipStd (const OcTreeKey &key, const double &sqrtRecipStd_) |
MyOcTreeNode * | setNodeSqrtRecipStd (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) |
Definition at line 101 of file MyOcTree.h.
octomap::MyOcTree::MyOcTree | ( | double | resolution | ) | [inline] |
Default constructor, sets resolution of leafs.
Definition at line 105 of file MyOcTree.h.
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.
double octomap::MyOcTree::getNodeCurDist | ( | const OcTreeKey & | key | ) |
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.
double octomap::MyOcTree::getNodeSqrtRecipStdt | ( | const OcTreeKey & | key | ) |
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.
int octomap::MyOcTree::getNodeVisCount | ( | const OcTreeKey & | key | ) |
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.
void octomap::MyOcTree::updateNodeVisCount | ( | const OcTreeKey & | key | ) |
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.
int octomap::MyOcTree::claming_visCount_thres [protected] |
Definition at line 241 of file MyOcTree.h.
MyOcTree::StaticMemberInitializer octomap::MyOcTree::MyOcTreeMemberInit [static, protected] |
static member to ensure static initialization (only once)
Definition at line 240 of file MyOcTree.h.