the object for collision or distance computation, contains the geometry and the transform information More...
#include <collision_object.h>
Public Member Functions | |
const std::shared_ptr< const CollisionGeometry< S > > & | collisionGeometry () const |
get geometry from the object instance More... | |
CollisionObject (const std::shared_ptr< CollisionGeometry< S >> &cgeom) | |
CollisionObject (const std::shared_ptr< CollisionGeometry< S >> &cgeom, const Matrix3< S > &R, const Vector3< S > &T) | |
CollisionObject (const std::shared_ptr< CollisionGeometry< S >> &cgeom, const Transform3< S > &tf) | |
void | computeAABB () |
compute the AABB in world space More... | |
const AABB< S > & | getAABB () const |
get the AABB in world space More... | |
const FCL_DEPRECATED CollisionGeometry< S > * | getCollisionGeometry () const |
get geometry from the object instance More... | |
S | getCostDensity () const |
get object's cost density More... | |
NODE_TYPE | getNodeType () const |
get the node type More... | |
OBJECT_TYPE | getObjectType () const |
get the type of the object More... | |
const Quaternion< S > | getQuatRotation () const |
get quaternion rotation of the object More... | |
const Matrix3< S > | getRotation () const |
get matrix rotation of the object More... | |
const Transform3< S > & | getTransform () const |
get object's transform More... | |
const Vector3< S > | getTranslation () const |
get translation of the object More... | |
void * | getUserData () const |
get user data in object More... | |
bool | isFree () const |
whether the object is completely free More... | |
bool | isIdentityTransform () const |
whether the object is in local coordinate More... | |
bool | isOccupied () const |
whether the object is completely occupied More... | |
bool | isUncertain () const |
whether the object is uncertain More... | |
void | setCostDensity (S c) |
set object's cost density More... | |
void | setIdentityTransform () |
set the object in local coordinate More... | |
void | setQuatRotation (const Quaternion< S > &q) |
set object's quatenrion rotation More... | |
void | setRotation (const Matrix3< S > &R) |
set object's rotation matrix More... | |
void | setTransform (const Matrix3< S > &R, const Vector3< S > &T) |
set object's transform More... | |
void | setTransform (const Quaternion< S > &q, const Vector3< S > &T) |
set object's transform More... | |
void | setTransform (const Transform3< S > &tf) |
set object's transform More... | |
void | setTranslation (const Vector3< S > &T) |
set object's translation More... | |
void | setUserData (void *data) |
set user data in object More... | |
~CollisionObject () | |
Protected Attributes | |
AABB< S > | aabb |
AABB | |
std::shared_ptr< CollisionGeometry< S > > | cgeom |
std::shared_ptr< const CollisionGeometry< S > > | cgeom_const |
Transform3< S > | t |
void * | user_data |
pointer to user defined data specific to this object More... | |
the object for collision or distance computation, contains the geometry and the transform information
Definition at line 51 of file collision_object.h.
fcl::CollisionObject< S >::CollisionObject | ( | const std::shared_ptr< CollisionGeometry< S >> & | cgeom | ) |
Definition at line 52 of file collision_object-inl.h.
fcl::CollisionObject< S >::CollisionObject | ( | const std::shared_ptr< CollisionGeometry< S >> & | cgeom, |
const Transform3< S > & | tf | ||
) |
Definition at line 65 of file collision_object-inl.h.
fcl::CollisionObject< S >::CollisionObject | ( | const std::shared_ptr< CollisionGeometry< S >> & | cgeom, |
const Matrix3< S > & | R, | ||
const Vector3< S > & | T | ||
) |
Definition at line 76 of file collision_object-inl.h.
fcl::CollisionObject< S >::~CollisionObject |
Definition at line 90 of file collision_object-inl.h.
const std::shared_ptr< const CollisionGeometry< S > > & fcl::CollisionObject< S >::collisionGeometry |
get geometry from the object instance
Definition at line 243 of file collision_object-inl.h.
void fcl::CollisionObject< S >::computeAABB |
compute the AABB in world space
Definition at line 118 of file collision_object-inl.h.
const AABB< S > & fcl::CollisionObject< S >::getAABB |
get the AABB in world space
Definition at line 111 of file collision_object-inl.h.
const CollisionGeometry< S > * fcl::CollisionObject< S >::getCollisionGeometry |
get geometry from the object instance
Definition at line 235 of file collision_object-inl.h.
S fcl::CollisionObject< S >::getCostDensity |
get object's cost density
Definition at line 250 of file collision_object-inl.h.
NODE_TYPE fcl::CollisionObject< S >::getNodeType |
get the node type
Definition at line 104 of file collision_object-inl.h.
OBJECT_TYPE fcl::CollisionObject< S >::getObjectType |
get the type of the object
Definition at line 97 of file collision_object-inl.h.
const Quaternion< S > fcl::CollisionObject< S >::getQuatRotation |
get quaternion rotation of the object
Definition at line 163 of file collision_object-inl.h.
const Matrix3< S > fcl::CollisionObject< S >::getRotation |
get matrix rotation of the object
Definition at line 156 of file collision_object-inl.h.
const Transform3< S > & fcl::CollisionObject< S >::getTransform |
get object's transform
Definition at line 170 of file collision_object-inl.h.
const Vector3< S > fcl::CollisionObject< S >::getTranslation |
get translation of the object
Definition at line 149 of file collision_object-inl.h.
void * fcl::CollisionObject< S >::getUserData |
get user data in object
Definition at line 135 of file collision_object-inl.h.
bool fcl::CollisionObject< S >::isFree |
whether the object is completely free
Definition at line 271 of file collision_object-inl.h.
bool fcl::CollisionObject< S >::isIdentityTransform |
whether the object is in local coordinate
Definition at line 221 of file collision_object-inl.h.
bool fcl::CollisionObject< S >::isOccupied |
whether the object is completely occupied
Definition at line 264 of file collision_object-inl.h.
bool fcl::CollisionObject< S >::isUncertain |
whether the object is uncertain
Definition at line 278 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setCostDensity | ( | S | c | ) |
set object's cost density
Definition at line 257 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setIdentityTransform |
set the object in local coordinate
Definition at line 228 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setQuatRotation | ( | const Quaternion< S > & | q | ) |
set object's quatenrion rotation
Definition at line 191 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setRotation | ( | const Matrix3< S > & | R | ) |
set object's rotation matrix
Definition at line 177 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setTransform | ( | const Matrix3< S > & | R, |
const Vector3< S > & | T | ||
) |
set object's transform
Definition at line 198 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setTransform | ( | const Quaternion< S > & | q, |
const Vector3< S > & | T | ||
) |
set object's transform
Definition at line 206 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setTransform | ( | const Transform3< S > & | tf | ) |
set object's transform
Definition at line 214 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setTranslation | ( | const Vector3< S > & | T | ) |
set object's translation
Definition at line 184 of file collision_object-inl.h.
void fcl::CollisionObject< S >::setUserData | ( | void * | data | ) |
set user data in object
Definition at line 142 of file collision_object-inl.h.
|
mutableprotected |
AABB in global coordinate.
Definition at line 149 of file collision_object.h.
|
protected |
Definition at line 143 of file collision_object.h.
|
protected |
Definition at line 144 of file collision_object.h.
|
protected |
Definition at line 146 of file collision_object.h.
|
protected |
pointer to user defined data specific to this object
Definition at line 152 of file collision_object.h.