coal 3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
boost::serialization::internal::OcTreeAccessor Struct Reference

#include <coal/serialization/octree.h>

Inheritance diagram for boost::serialization::internal::OcTreeAccessor:
Collaboration diagram for boost::serialization::internal::OcTreeAccessor:

Public Types

typedef coal::OcTree Base
 
- Public Types inherited from coal::OcTree
typedef octomap::OcTreeNode OcTreeNode
 

Public Attributes

Scalar default_occupancy
 
Scalar free_threshold
 
Scalar occupancy_threshold
 
shared_ptr< const octomap::OcTree > tree
 
- Public Attributes inherited from coal::CollisionGeometry
Vec3s aabb_center
 AABB center in local coordinate.
 
Scalar aabb_radius
 AABB radius.
 
AABB aabb_local
 AABB in local coordinate, used for tight AABB when only translation transform.
 
void * user_data
 pointer to user defined data specific to this object
 
Scalar cost_density
 collision cost for unit volume
 
Scalar threshold_occupied
 threshold for occupied ( >= is occupied)
 
Scalar threshold_free
 threshold for free (<= is free)
 

Additional Inherited Members

- Public Member Functions inherited from coal::OcTree
 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)
  
 
OcTreeclone () 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.
 
OcTreeNodegetRoot () 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< Vec6stoBoxes () 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)
 
OcTreeNodegetNodeChild (OcTreeNode *node, unsigned int childIdx)
 
const OcTreeNodegetNodeChild (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
 
- Public Member Functions inherited from coal::CollisionGeometry
 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
 
- Protected Attributes inherited from coal::OcTree
shared_ptr< const octomap::OcTree > tree
 
Scalar default_occupancy
 
Scalar occupancy_threshold
 
Scalar free_threshold
 

Member Typedef Documentation

◆ Base

Member Data Documentation

◆ default_occupancy

Scalar coal::OcTree::default_occupancy

◆ free_threshold

Scalar coal::OcTree::free_threshold

◆ occupancy_threshold

Scalar coal::OcTree::occupancy_threshold

◆ tree

shared_ptr<const octomap::OcTree> coal::OcTree::tree

The documentation for this struct was generated from the following file: