Public Member Functions | List of all members
coal::BroadPhaseContinuousCollisionManager< S > Class Template Referenceabstract

Base class for broad phase continuous collision. It helps to accelerate the continuous collision/distance between N objects. Also support self collision, self distance and collision/distance with another M objects. More...

#include <broadphase_continuous_collision_manager.h>

Public Member Functions

 BroadPhaseContinuousCollisionManager ()
 
virtual void clear ()=0
 clear the manager More...
 
virtual void collide (BroadPhaseContinuousCollisionManager *other_manager, CollisionCallBackBase *callback) const =0
 perform collision test with objects belonging to another manager More...
 
virtual void collide (CollisionCallBackBase *callback) const =0
 perform collision test for the objects belonging to the manager (i.e., N^2 self collision) More...
 
virtual void collide (ContinuousCollisionObject *obj, CollisionCallBackBase *callback) const =0
 perform collision test between one object and all the objects belonging to the manager More...
 
virtual void distance (BroadPhaseContinuousCollisionManager *other_manager, DistanceCallBackBase *callback) const =0
 perform distance test with objects belonging to another manager More...
 
virtual void distance (ContinuousCollisionObject *obj, DistanceCallBackBase *callback) const =0
 perform distance computation between one object and all the objects belonging to the manager More...
 
virtual void distance (DistanceCallBackBase *callback) const =0
 perform distance test for the objects belonging to the manager (i.e., N^2 self distance) More...
 
virtual bool empty () const =0
 whether the manager is empty More...
 
virtual void getObjects (std::vector< ContinuousCollisionObject * > &objs) const =0
 return the objects managed by the manager More...
 
virtual void registerObject (ContinuousCollisionObject *obj)=0
 add one object to the manager More...
 
virtual void registerObjects (const std::vector< ContinuousCollisionObject * > &other_objs)
 add objects to the manager More...
 
virtual void setup ()=0
 initialize the manager, related with the specific type of manager More...
 
virtual size_t size () const =0
 the number of objects managed by the manager More...
 
virtual void unregisterObject (ContinuousCollisionObject *obj)=0
 remove one object from the manager More...
 
virtual void update ()=0
 update the condition of manager More...
 
virtual void update (const std::vector< ContinuousCollisionObject * > &updated_objs)
 update the manager by explicitly given the set of objects update More...
 
virtual void update (ContinuousCollisionObject *updated_obj)
 update the manager by explicitly given the object updated More...
 
virtual ~BroadPhaseContinuousCollisionManager ()
 

Detailed Description

template<typename S>
class coal::BroadPhaseContinuousCollisionManager< S >

Base class for broad phase continuous collision. It helps to accelerate the continuous collision/distance between N objects. Also support self collision, self distance and collision/distance with another M objects.

Definition at line 65 of file coal/broadphase/broadphase_continuous_collision_manager.h.

Constructor & Destructor Documentation

◆ BroadPhaseContinuousCollisionManager()

◆ ~BroadPhaseContinuousCollisionManager()

Member Function Documentation

◆ clear()

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::clear ( )
pure virtual

clear the manager

◆ collide() [1/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::collide ( BroadPhaseContinuousCollisionManager< S > *  other_manager,
CollisionCallBackBase callback 
) const
pure virtual

perform collision test with objects belonging to another manager

◆ collide() [2/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::collide ( CollisionCallBackBase callback) const
pure virtual

perform collision test for the objects belonging to the manager (i.e., N^2 self collision)

◆ collide() [3/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::collide ( ContinuousCollisionObject *  obj,
CollisionCallBackBase callback 
) const
pure virtual

perform collision test between one object and all the objects belonging to the manager

◆ distance() [1/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::distance ( BroadPhaseContinuousCollisionManager< S > *  other_manager,
DistanceCallBackBase callback 
) const
pure virtual

perform distance test with objects belonging to another manager

◆ distance() [2/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::distance ( ContinuousCollisionObject *  obj,
DistanceCallBackBase callback 
) const
pure virtual

perform distance computation between one object and all the objects belonging to the manager

◆ distance() [3/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::distance ( DistanceCallBackBase callback) const
pure virtual

perform distance test for the objects belonging to the manager (i.e., N^2 self distance)

◆ empty()

template<typename S >
virtual bool coal::BroadPhaseContinuousCollisionManager< S >::empty ( ) const
pure virtual

whether the manager is empty

◆ getObjects()

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::getObjects ( std::vector< ContinuousCollisionObject * > &  objs) const
pure virtual

return the objects managed by the manager

◆ registerObject()

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::registerObject ( ContinuousCollisionObject *  obj)
pure virtual

add one object to the manager

◆ registerObjects()

template<typename S >
void coal::BroadPhaseContinuousCollisionManager< S >::registerObjects ( const std::vector< ContinuousCollisionObject * > &  other_objs)
virtual

add objects to the manager

Definition at line 59 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.

◆ setup()

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::setup ( )
pure virtual

initialize the manager, related with the specific type of manager

◆ size()

template<typename S >
virtual size_t coal::BroadPhaseContinuousCollisionManager< S >::size ( ) const
pure virtual

the number of objects managed by the manager

◆ unregisterObject()

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::unregisterObject ( ContinuousCollisionObject *  obj)
pure virtual

remove one object from the manager

◆ update() [1/3]

template<typename S >
virtual void coal::BroadPhaseContinuousCollisionManager< S >::update ( )
pure virtual

update the condition of manager

◆ update() [2/3]

template<typename S >
void coal::BroadPhaseContinuousCollisionManager< S >::update ( const std::vector< ContinuousCollisionObject * > &  updated_objs)
virtual

update the manager by explicitly given the set of objects update

Definition at line 75 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.

◆ update() [3/3]

template<typename S >
void coal::BroadPhaseContinuousCollisionManager< S >::update ( ContinuousCollisionObject *  updated_obj)
virtual

update the manager by explicitly given the object updated

Definition at line 66 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.


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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00