38 #ifndef FCL_CONTINUOUS_COLLISION_OBJECT_H 39 #define FCL_CONTINUOUS_COLLISION_OBJECT_H 43 #include "fcl/geometry/collision_geometry.h" 93 std::shared_ptr<CollisionGeometry<S>> cgeom;
94 std::shared_ptr<const CollisionGeometry<S>> cgeom_const;
96 std::shared_ptr<MotionBase<S>> motion;
110 #include "fcl/narrowphase/continuous_collision_object-inl.h" NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18, kDOP24), basic shape (box, sphere, ellipsoid, capsule, cone, cylinder, convex, plane, halfspace, triangle), and octree
Definition: collision_geometry.h:54
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
void setUserData(void *data)
set user data in object
Definition: continuous_collision_object-inl.h:147
void * getUserData() const
get user data in object
Definition: continuous_collision_object-inl.h:140
FCL_DEPRECATED const CollisionGeometry< S > * getCollisionGeometry() const
get geometry from the object instance
Definition: continuous_collision_object-inl.h:162
const std::shared_ptr< const CollisionGeometry< S > > & collisionGeometry() const
get geometry from the object instance
Definition: continuous_collision_object-inl.h:170
the object for continuous collision or distance computation, contains the geometry and the motion inf...
Definition: continuous_collision_object.h:51
NODE_TYPE getNodeType() const
get the node type
Definition: continuous_collision_object-inl.h:85
The geometry for the object for collision or distance computation.
Definition: collision_geometry.h:59
OBJECT_TYPE getObjectType() const
get the type of the object
Definition: continuous_collision_object-inl.h:78
const AABB< S > & getAABB() const
get the AABB<S> in the world space for the motion
Definition: continuous_collision_object-inl.h:92
OBJECT_TYPE
object type: BVH (mesh, points), basic geometry, octree
Definition: collision_geometry.h:51
Definition: bv_motion_bound_visitor.h:45
AABB< S > aabb
AABB<S> in the global coordinate for the motion.
Definition: continuous_collision_object.h:99
void computeAABB()
compute the AABB<S> in the world space for the motion
Definition: continuous_collision_object-inl.h:99
MotionBase< S > * getMotion() const
get motion from the object instance
Definition: continuous_collision_object-inl.h:154
void * user_data
pointer to user defined data specific to this object
Definition: continuous_collision_object.h:102