#include <OcTreeNodePCL.h>
Public Member Functions | |
virtual bool | createChild (unsigned int i) |
std::vector< int > | get3DPointInliers () |
point3d | getCentroid () const |
virtual OcTreeNodePCL * | getChild (unsigned int i) |
virtual const OcTreeNodePCL * | getChild (unsigned int i) const |
int | getLabel () const |
double | getResolution () const |
OcTreeNodePCL () | |
std::istream & | readBinary (std::istream &s) |
void | set3DPointInliers (int inlier_index) |
void | setCentroid (point3d c) |
void | setLabel (int l) |
void | setResolution (double res) |
std::ostream & | writeBinary (std::ostream &s) const |
virtual | ~OcTreeNodePCL () |
Public Attributes | |
point3d | centroid |
std::vector< int > | inliers |
int | label |
double | resolution |
Node class storing a label as additional information
Definition at line 19 of file OcTreeNodePCL.h.
Definition at line 16 of file OcTreeNodePCL.cpp.
octomap::OcTreeNodePCL::~OcTreeNodePCL | ( | ) | [virtual] |
Definition at line 22 of file OcTreeNodePCL.cpp.
bool octomap::OcTreeNodePCL::createChild | ( | unsigned int | i | ) | [virtual] |
Definition at line 32 of file OcTreeNodePCL.cpp.
Definition at line 97 of file OcTreeNodePCL.cpp.
point3d octomap::OcTreeNodePCL::getCentroid | ( | ) | const |
Definition at line 77 of file OcTreeNodePCL.cpp.
OcTreeNodePCL * octomap::OcTreeNodePCL::getChild | ( | unsigned int | i | ) | [virtual] |
Definition at line 43 of file OcTreeNodePCL.cpp.
const OcTreeNodePCL * octomap::OcTreeNodePCL::getChild | ( | unsigned int | i | ) | const [virtual] |
Definition at line 50 of file OcTreeNodePCL.cpp.
int octomap::OcTreeNodePCL::getLabel | ( | ) | const |
Definition at line 67 of file OcTreeNodePCL.cpp.
double octomap::OcTreeNodePCL::getResolution | ( | ) | const |
Definition at line 87 of file OcTreeNodePCL.cpp.
std::istream & octomap::OcTreeNodePCL::readBinary | ( | std::istream & | s | ) |
Read node from binary stream (max-likelihood value), recursively continue with all children.
This will set the log_odds_occupancy value of all leaves to either free or occupied.
s |
Definition at line 106 of file OcTreeNodePCL.cpp.
void octomap::OcTreeNodePCL::set3DPointInliers | ( | int | inlier_index | ) |
set a Leaf Node inliers
Definition at line 92 of file OcTreeNodePCL.cpp.
void octomap::OcTreeNodePCL::setCentroid | ( | point3d | c | ) |
set a centroid
Definition at line 72 of file OcTreeNodePCL.cpp.
void octomap::OcTreeNodePCL::setLabel | ( | int | l | ) |
set a label
Definition at line 62 of file OcTreeNodePCL.cpp.
void octomap::OcTreeNodePCL::setResolution | ( | double | res | ) |
set a resolution
Definition at line 82 of file OcTreeNodePCL.cpp.
std::ostream & octomap::OcTreeNodePCL::writeBinary | ( | std::ostream & | s | ) | const |
Write node to binary stream (max-likelihood value), recursively continue with all children.
This will discard the log_odds_occupancy value, writing all leaves as either free or occupied.
s |
Definition at line 174 of file OcTreeNodePCL.cpp.
point3d octomap::OcTreeNodePCL::centroid |
Definition at line 24 of file OcTreeNodePCL.h.
Definition at line 26 of file OcTreeNodePCL.h.
Definition at line 23 of file OcTreeNodePCL.h.
Definition at line 25 of file OcTreeNodePCL.h.