|
| OcTree (Scalar resolution) |
| construct octree with a given resolution
|
|
| OcTree (const shared_ptr< const octomap::OcTree > &tree_) |
| construct octree from octomap
|
|
| OcTree (const OcTree &other) |
|
|
|
OcTree * | clone () const |
| Clone *this into a new Octree.
|
|
shared_ptr< const octomap::OcTree > | getTree () const |
| Returns the tree associated to the underlying octomap OcTree.
|
|
void | exportAsObjFile (const std::string &filename) const |
|
void | computeLocalAABB () |
| compute the AABB for the octree in its local coordinate system
|
|
AABB | getRootBV () const |
| get the bounding volume for the root
|
|
unsigned int | getTreeDepth () const |
| Returns the depth of the octree.
|
|
unsigned long | size () const |
| Returns the size of the octree.
|
|
Scalar | getResolution () const |
| Returns the resolution of the octree.
|
|
OcTreeNode * | getRoot () const |
| get the root node of the octree
|
|
bool | isNodeOccupied (const OcTreeNode *node) const |
| whether one node is completely occupied
|
|
bool | isNodeFree (const OcTreeNode *node) const |
| whether one node is completely free
|
|
bool | isNodeUncertain (const OcTreeNode *node) const |
| whether one node is uncertain
|
|
std::vector< Vec6s > | toBoxes () const |
| transform the octree into a bunch of boxes; uncertainty information is kept in the boxes. However, we only keep the occupied boxes (i.e., the boxes whose occupied probability is higher enough).
|
|
std::vector< uint8_t > | tobytes () const |
| Returns a byte description of *this.
|
|
Scalar | getOccupancyThres () const |
| the threshold used to decide whether one node is occupied, this is NOT the octree occupied_thresold
|
|
Scalar | getFreeThres () const |
| the threshold used to decide whether one node is free, this is NOT the octree free_threshold
|
|
Scalar | getDefaultOccupancy () const |
|
void | setCellDefaultOccupancy (Scalar d) |
|
void | setOccupancyThres (Scalar d) |
|
void | setFreeThres (Scalar d) |
|
OcTreeNode * | getNodeChild (OcTreeNode *node, unsigned int childIdx) |
|
const OcTreeNode * | getNodeChild (const OcTreeNode *node, unsigned int childIdx) const |
|
bool | nodeChildExists (const OcTreeNode *node, unsigned int childIdx) const |
| return true if the child at childIdx exists
|
|
bool | nodeHasChildren (const OcTreeNode *node) const |
| return true if node has at least one child
|
|
OBJECT_TYPE | getObjectType () const |
| return object type, it is an octree
|
|
NODE_TYPE | getNodeType () const |
| return node type, it is an octree
|
|
| CollisionGeometry () |
|
| CollisionGeometry (const CollisionGeometry &other)=default |
| Copy constructor.
|
|
virtual | ~CollisionGeometry () |
|
bool | operator== (const CollisionGeometry &other) const |
| Equality operator.
|
|
bool | operator!= (const CollisionGeometry &other) const |
| Difference operator.
|
|
void * | getUserData () const |
| get user data in geometry
|
|
void | setUserData (void *data) |
| set user data in geometry
|
|
bool | isOccupied () const |
| whether the object is completely occupied
|
|
bool | isFree () const |
| whether the object is completely free
|
|
bool | isUncertain () const |
| whether the object has some uncertainty
|
|
virtual Vec3s | computeCOM () const |
| compute center of mass
|
|
virtual Matrix3s | computeMomentofInertia () const |
| compute the inertia matrix, related to the origin
|
|
virtual Scalar | computeVolume () const |
| compute the volume
|
|
virtual Matrix3s | computeMomentofInertiaRelatedToCOM () const |
| compute the inertia matrix, related to the com
|
|
shared_ptr< const octomap::OcTree > | tree |
|
Scalar | default_occupancy |
|
Scalar | occupancy_threshold |
|
Scalar | free_threshold |
|