#include <MyOcTree.h>
Classes | |
class | Color |
Public Member Functions | |
void | addSqrtRecipStd (const double &sqrtRecipStd_update) |
bool | createChild (unsigned int i) |
void | expandNode () |
MyOcTreeNode::Color | getAverageChildColor () const |
MyOcTreeNode * | getChild (unsigned int i) |
const MyOcTreeNode * | getChild (unsigned int i) const |
Color | getColor () const |
Color & | getColor () |
double | getCurDist () const |
double | getMaxChildSqrtRecipStd () const |
double | getMeanChildSqrtRecipStd () const |
double | getSqrtRecipStd () const |
double | getVisCount () const |
bool | isColorSet () const |
MyOcTreeNode () | |
MyOcTreeNode (const MyOcTreeNode &rhs) | |
bool | operator== (const MyOcTreeNode &rhs) const |
bool | pruneNode () |
std::istream & | readValue (std::istream &s) |
void | setColor (Color c) |
void | setColor (unsigned char r, unsigned char g, unsigned char b) |
double | setCurDist (double dist) |
double | setSqrtRecipStd (double sqrtRecipStd_) |
double | setVisCount (int visCount_) |
void | updateColorChildren () |
void | updateSqrtRecipStdChildren () |
std::ostream & | writeValue (std::ostream &s) const |
Protected Attributes | |
Color | color |
float | curDist |
double | sqrtRecipStd |
int | visCount |
Definition at line 12 of file MyOcTree.h.
octomap::MyOcTreeNode::MyOcTreeNode | ( | ) | [inline] |
Definition at line 30 of file MyOcTree.h.
octomap::MyOcTreeNode::MyOcTreeNode | ( | const MyOcTreeNode & | rhs | ) | [inline] |
Definition at line 32 of file MyOcTree.h.
void octomap::MyOcTreeNode::addSqrtRecipStd | ( | const double & | sqrtRecipStd_update | ) |
Definition at line 137 of file MyOcTree.cpp.
bool octomap::MyOcTreeNode::createChild | ( | unsigned int | i | ) | [inline] |
Reimplemented from octomap::OcTreeNode.
Definition at line 46 of file MyOcTree.h.
void octomap::MyOcTreeNode::expandNode | ( | ) |
Reimplemented from octomap::OcTreeDataNode< float >.
Definition at line 128 of file MyOcTree.cpp.
Definition at line 47 of file MyOcTree.cpp.
MyOcTreeNode* octomap::MyOcTreeNode::getChild | ( | unsigned int | i | ) | [inline] |
Reimplemented from octomap::OcTreeNode.
Definition at line 39 of file MyOcTree.h.
const MyOcTreeNode* octomap::MyOcTreeNode::getChild | ( | unsigned int | i | ) | const [inline] |
Reimplemented from octomap::OcTreeNode.
Definition at line 42 of file MyOcTree.h.
Color octomap::MyOcTreeNode::getColor | ( | ) | const [inline] |
Definition at line 55 of file MyOcTree.h.
Color& octomap::MyOcTreeNode::getColor | ( | ) | [inline] |
Definition at line 61 of file MyOcTree.h.
double octomap::MyOcTreeNode::getCurDist | ( | ) | const [inline] |
Definition at line 82 of file MyOcTree.h.
double octomap::MyOcTreeNode::getMaxChildSqrtRecipStd | ( | ) | const |
Definition at line 86 of file MyOcTree.cpp.
double octomap::MyOcTreeNode::getMeanChildSqrtRecipStd | ( | ) | const |
Definition at line 68 of file MyOcTree.cpp.
double octomap::MyOcTreeNode::getSqrtRecipStd | ( | ) | const [inline] |
Definition at line 80 of file MyOcTree.h.
double octomap::MyOcTreeNode::getVisCount | ( | ) | const [inline] |
Definition at line 84 of file MyOcTree.h.
bool octomap::MyOcTreeNode::isColorSet | ( | ) | const [inline] |
Definition at line 64 of file MyOcTree.h.
bool octomap::MyOcTreeNode::operator== | ( | const MyOcTreeNode & | rhs | ) | const [inline] |
Definition at line 34 of file MyOcTree.h.
bool octomap::MyOcTreeNode::pruneNode | ( | ) |
Reimplemented from octomap::OcTreeDataNode< float >.
Definition at line 111 of file MyOcTree.cpp.
std::istream & octomap::MyOcTreeNode::readValue | ( | std::istream & | s | ) |
Reimplemented from octomap::OcTreeDataNode< float >.
Definition at line 28 of file MyOcTree.cpp.
void octomap::MyOcTreeNode::setColor | ( | Color | c | ) | [inline] |
Definition at line 56 of file MyOcTree.h.
void octomap::MyOcTreeNode::setColor | ( | unsigned char | r, |
unsigned char | g, | ||
unsigned char | b | ||
) | [inline] |
Definition at line 57 of file MyOcTree.h.
double octomap::MyOcTreeNode::setCurDist | ( | double | dist | ) | [inline] |
Definition at line 83 of file MyOcTree.h.
double octomap::MyOcTreeNode::setSqrtRecipStd | ( | double | sqrtRecipStd_ | ) | [inline] |
Definition at line 81 of file MyOcTree.h.
double octomap::MyOcTreeNode::setVisCount | ( | int | visCount_ | ) | [inline] |
Definition at line 85 of file MyOcTree.h.
Definition at line 102 of file MyOcTree.cpp.
Definition at line 105 of file MyOcTree.cpp.
std::ostream & octomap::MyOcTreeNode::writeValue | ( | std::ostream & | s | ) | const |
Reimplemented from octomap::OcTreeDataNode< float >.
Definition at line 7 of file MyOcTree.cpp.
Color octomap::MyOcTreeNode::color [protected] |
Definition at line 93 of file MyOcTree.h.
float octomap::MyOcTreeNode::curDist [protected] |
Definition at line 95 of file MyOcTree.h.
double octomap::MyOcTreeNode::sqrtRecipStd [protected] |
Definition at line 94 of file MyOcTree.h.
int octomap::MyOcTreeNode::visCount [protected] |
Definition at line 96 of file MyOcTree.h.