Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
hpp::fcl::CollisionObject Class Reference

the object for collision or distance computation, contains the geometry and the transform information More...

#include <collision_object.h>

Inheritance diagram for hpp::fcl::CollisionObject:
Inheritance graph
[legend]

Public Member Functions

const shared_ptr< CollisionGeometry > & collisionGeometry ()
 get shared pointer to collision geometry of the object instance More...
 
const shared_ptr< const CollisionGeometrycollisionGeometry () const
 get shared pointer to collision geometry of the object instance More...
 
CollisionGeometrycollisionGeometryPtr ()
 get raw pointer to collision geometry of the object instance More...
 
const CollisionGeometrycollisionGeometryPtr () const
 get raw pointer to collision geometry of the object instance More...
 
 CollisionObject (const shared_ptr< CollisionGeometry > &cgeom_, bool compute_local_aabb=true)
 
 CollisionObject (const shared_ptr< CollisionGeometry > &cgeom_, const Matrix3f &R, const Vec3f &T, bool compute_local_aabb=true)
 
 CollisionObject (const shared_ptr< CollisionGeometry > &cgeom_, const Transform3f &tf, bool compute_local_aabb=true)
 
void computeAABB ()
 compute the AABB in world space More...
 
AABBgetAABB ()
 get the AABB in world space More...
 
const AABBgetAABB () const
 get the AABB in world space More...
 
NODE_TYPE getNodeType () const
 get the node type More...
 
OBJECT_TYPE getObjectType () const
 get the type of the object More...
 
const Matrix3fgetRotation () const
 get matrix rotation of the object More...
 
const Transform3fgetTransform () const
 get object's transform More...
 
const Vec3fgetTranslation () const
 get translation of the object More...
 
void * getUserData () const
 get user data in object More...
 
bool isIdentityTransform () const
 whether the object is in local coordinate More...
 
bool operator!= (const CollisionObject &other) const
 
bool operator== (const CollisionObject &other) const
 
void setCollisionGeometry (const shared_ptr< CollisionGeometry > &collision_geometry, bool compute_local_aabb=true)
 Associate a new CollisionGeometry. More...
 
void setIdentityTransform ()
 set the object in local coordinate More...
 
void setRotation (const Matrix3f &R)
 set object's rotation matrix More...
 
void setTransform (const Matrix3f &R, const Vec3f &T)
 set object's transform More...
 
void setTransform (const Transform3f &tf)
 set object's transform More...
 
void setTranslation (const Vec3f &T)
 set object's translation More...
 
void setUserData (void *data)
 set user data in object More...
 
 ~CollisionObject ()
 

Protected Member Functions

void init (bool compute_local_aabb=true)
 

Protected Attributes

AABB aabb
 AABB in global coordinate. More...
 
shared_ptr< CollisionGeometrycgeom
 
Transform3f t
 
void * user_data
 pointer to user defined data specific to this object More...
 

Detailed Description

the object for collision or distance computation, contains the geometry and the transform information

Definition at line 215 of file collision_object.h.


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


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:16