Public Member Functions | Protected Attributes | List of all members
fcl::ContinuousCollisionObject< S > Class Template Reference

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

#include <continuous_collision_object.h>

Public Member Functions

const std::shared_ptr< const CollisionGeometry< S > > & collisionGeometry () const
 get geometry from the object instance More...
 
void computeAABB ()
 compute the AABB in the world space for the motion More...
 
 ContinuousCollisionObject (const std::shared_ptr< CollisionGeometry< S >> &cgeom)
 
 ContinuousCollisionObject (const std::shared_ptr< CollisionGeometry< S >> &cgeom, const std::shared_ptr< MotionBase< S >> &motion)
 
const AABB< S > & getAABB () const
 get the AABB in the world space for the motion More...
 
const FCL_DEPRECATED CollisionGeometry< S > * getCollisionGeometry () const
 get geometry from the object instance More...
 
MotionBase< S > * getMotion () const
 get motion from the object instance More...
 
NODE_TYPE getNodeType () const
 get the node type More...
 
OBJECT_TYPE getObjectType () const
 get the type of the object More...
 
void * getUserData () const
 get user data in object More...
 
void setUserData (void *data)
 set user data in object More...
 
 ~ContinuousCollisionObject ()
 

Protected Attributes

AABB< S > aabb
 AABB in the global coordinate for the motion. More...
 
std::shared_ptr< CollisionGeometry< S > > cgeom
 
std::shared_ptr< const CollisionGeometry< S > > cgeom_const
 
std::shared_ptr< MotionBase< S > > motion
 
void * user_data
 pointer to user defined data specific to this object More...
 

Detailed Description

template<typename S>
class fcl::ContinuousCollisionObject< S >

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

Definition at line 51 of file continuous_collision_object.h.

Constructor & Destructor Documentation

◆ ContinuousCollisionObject() [1/2]

template<typename S >
fcl::ContinuousCollisionObject< S >::ContinuousCollisionObject ( const std::shared_ptr< CollisionGeometry< S >> &  cgeom)

Definition at line 52 of file continuous_collision_object-inl.h.

◆ ContinuousCollisionObject() [2/2]

template<typename S >
fcl::ContinuousCollisionObject< S >::ContinuousCollisionObject ( const std::shared_ptr< CollisionGeometry< S >> &  cgeom,
const std::shared_ptr< MotionBase< S >> &  motion 
)

Definition at line 61 of file continuous_collision_object-inl.h.

◆ ~ContinuousCollisionObject()

Definition at line 71 of file continuous_collision_object-inl.h.

Member Function Documentation

◆ collisionGeometry()

template<typename S >
const std::shared_ptr< const CollisionGeometry< S > > & fcl::ContinuousCollisionObject< S >::collisionGeometry

get geometry from the object instance

Definition at line 170 of file continuous_collision_object-inl.h.

◆ computeAABB()

template<typename S >
void fcl::ContinuousCollisionObject< S >::computeAABB

compute the AABB in the world space for the motion

Definition at line 99 of file continuous_collision_object-inl.h.

◆ getAABB()

template<typename S >
const AABB< S > & fcl::ContinuousCollisionObject< S >::getAABB

get the AABB in the world space for the motion

Definition at line 92 of file continuous_collision_object-inl.h.

◆ getCollisionGeometry()

template<typename S >
const CollisionGeometry< S > * fcl::ContinuousCollisionObject< S >::getCollisionGeometry

get geometry from the object instance

Definition at line 162 of file continuous_collision_object-inl.h.

◆ getMotion()

template<typename S >
MotionBase< S > * fcl::ContinuousCollisionObject< S >::getMotion

get motion from the object instance

Definition at line 154 of file continuous_collision_object-inl.h.

◆ getNodeType()

template<typename S >
NODE_TYPE fcl::ContinuousCollisionObject< S >::getNodeType

get the node type

Definition at line 85 of file continuous_collision_object-inl.h.

◆ getObjectType()

template<typename S >
OBJECT_TYPE fcl::ContinuousCollisionObject< S >::getObjectType

get the type of the object

Definition at line 78 of file continuous_collision_object-inl.h.

◆ getUserData()

template<typename S >
void * fcl::ContinuousCollisionObject< S >::getUserData

get user data in object

Definition at line 140 of file continuous_collision_object-inl.h.

◆ setUserData()

template<typename S >
void fcl::ContinuousCollisionObject< S >::setUserData ( void *  data)

set user data in object

Definition at line 147 of file continuous_collision_object-inl.h.

Member Data Documentation

◆ aabb

template<typename S >
AABB<S> fcl::ContinuousCollisionObject< S >::aabb
mutableprotected

AABB in the global coordinate for the motion.

Definition at line 99 of file continuous_collision_object.h.

◆ cgeom

template<typename S >
std::shared_ptr<CollisionGeometry<S> > fcl::ContinuousCollisionObject< S >::cgeom
protected

Definition at line 93 of file continuous_collision_object.h.

◆ cgeom_const

template<typename S >
std::shared_ptr<const CollisionGeometry<S> > fcl::ContinuousCollisionObject< S >::cgeom_const
protected

Definition at line 94 of file continuous_collision_object.h.

◆ motion

template<typename S >
std::shared_ptr<MotionBase<S> > fcl::ContinuousCollisionObject< S >::motion
protected

Definition at line 96 of file continuous_collision_object.h.

◆ user_data

template<typename S >
void* fcl::ContinuousCollisionObject< S >::user_data
protected

pointer to user defined data specific to this object

Definition at line 102 of file continuous_collision_object.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50