Dummy collision object with a point AABB. More...
Public Member Functions | |
void | computeLocalAABB () |
DummyCollisionObject (const AABB &aabb_) | |
Public Member Functions inherited from coal::CollisionObject | |
const shared_ptr< CollisionGeometry > & | collisionGeometry () |
get shared pointer to collision geometry of the object instance More... | |
const shared_ptr< const CollisionGeometry > | collisionGeometry () const |
get shared pointer to collision geometry of the object instance More... | |
CollisionGeometry * | collisionGeometryPtr () |
get raw pointer to collision geometry of the object instance More... | |
const CollisionGeometry * | collisionGeometryPtr () 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 Matrix3s &R, const Vec3s &T, bool compute_local_aabb=true) | |
CollisionObject (const shared_ptr< CollisionGeometry > &cgeom_, const Transform3s &tf, bool compute_local_aabb=true) | |
void | computeAABB () |
compute the AABB in world space More... | |
AABB & | getAABB () |
get the AABB in world space More... | |
const AABB & | getAABB () 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 Matrix3s & | getRotation () const |
get matrix rotation of the object More... | |
const Transform3s & | getTransform () const |
get object's transform More... | |
const Vec3s & | getTranslation () 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 Matrix3s &R) |
set object's rotation matrix More... | |
void | setTransform (const Matrix3s &R, const Vec3s &T) |
set object's transform More... | |
void | setTransform (const Transform3s &tf) |
set object's transform More... | |
void | setTranslation (const Vec3s &T) |
set object's translation More... | |
void | setUserData (void *data) |
set user data in object More... | |
~CollisionObject () | |
Additional Inherited Members | |
Protected Member Functions inherited from coal::CollisionObject | |
void | init (bool compute_local_aabb=true) |
Protected Attributes inherited from coal::CollisionObject | |
AABB | aabb |
AABB in global coordinate. More... | |
shared_ptr< CollisionGeometry > | cgeom |
Transform3s | t |
void * | user_data |
pointer to user defined data specific to this object More... | |
Dummy collision object with a point AABB.
Definition at line 67 of file broadphase_SSaP.cpp.
|
inline |
Definition at line 69 of file broadphase_SSaP.cpp.
|
inline |
Definition at line 74 of file broadphase_SSaP.cpp.