#include <fwd.hpp>
Public Types | |
typedef BroadPhaseManagerBase< TreeBroadPhaseManagerTpl< _Manager > > | Base |
typedef BroadPhaseManagerTpl< Manager > | BroadPhaseManager |
typedef std::vector< BroadPhaseManager > | BroadPhaseManagerVector |
typedef std::vector< hpp::fcl::CollisionObject * > | CollisionObjectPointerVector |
typedef BroadPhaseManager::GeometryData | GeometryData |
typedef BroadPhaseManager::GeometryModel | GeometryModel |
typedef BroadPhaseManager::Model | Model |
Public Member Functions | |
bool | check () const |
Check whether the base broad phase manager is aligned with the current collision_objects. More... | |
bool | check (CollisionCallBackBase *callback) const |
Check whether the callback is inline with *this. More... | |
bool | collide (CollisionCallBackBase *callback) const |
Performs collision test for the objects belonging to the manager. More... | |
bool | collide (CollisionObject &obj, CollisionCallBackBase *callback) const |
Performs collision test between one object and all the objects belonging to the manager. More... | |
bool | collide (TreeBroadPhaseManagerTpl &other_manager, CollisionCallBackBase *callback) const |
Performs collision test with objects belonging to another manager. More... | |
BroadPhaseManagerVector & | getBroadPhaseManagers () |
Returns internal broad phase managers. More... | |
const BroadPhaseManagerVector & | getBroadPhaseManagers () const |
Returns internal broad phase managers. More... | |
GeometryData & | getGeometryData () |
Returns the geometry data associated to the manager. More... | |
const GeometryData & | getGeometryData () const |
Returns the geometry data associated to the manager. More... | |
const GeometryModel & | getGeometryModel () const |
Returns the geometry model associated to the manager. More... | |
const Model & | getModel () const |
Returns the model associated to the manager. More... | |
TreeBroadPhaseManagerTpl () | |
Default constructor. More... | |
TreeBroadPhaseManagerTpl (const Model *model_ptr, const GeometryModel *geometry_model_ptr, GeometryData *geometry_data_ptr) | |
Constructor from a given geometry model and data. More... | |
TreeBroadPhaseManagerTpl (const TreeBroadPhaseManagerTpl &other) | |
Copy contructor. More... | |
void | update (bool compute_local_aabb=false) |
Update the manager from the current geometry positions and update the underlying FCL broad phase manager. More... | |
void | update (GeometryData *geom_data_ptr_new) |
Update the manager with a new geometry data. More... | |
~TreeBroadPhaseManagerTpl () | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Manager | Manager |
Protected Member Functions | |
void | init (const size_t njoints) |
Initialialisation. More... | |
Protected Attributes | |
BroadPhaseManagerVector | managers |
the vector of collision objects. More... | |
Definition at line 38 of file collision/pool/fwd.hpp.
typedef BroadPhaseManagerBase<TreeBroadPhaseManagerTpl<_Manager> > pinocchio::TreeBroadPhaseManagerTpl< _Manager >::Base |
Definition at line 19 of file collision/tree-broadphase-manager.hpp.
typedef BroadPhaseManagerTpl<Manager> pinocchio::TreeBroadPhaseManagerTpl< _Manager >::BroadPhaseManager |
Definition at line 20 of file collision/tree-broadphase-manager.hpp.
typedef std::vector<BroadPhaseManager> pinocchio::TreeBroadPhaseManagerTpl< _Manager >::BroadPhaseManagerVector |
Definition at line 23 of file collision/tree-broadphase-manager.hpp.
typedef std::vector<hpp::fcl::CollisionObject *> pinocchio::TreeBroadPhaseManagerTpl< _Manager >::CollisionObjectPointerVector |
Definition at line 22 of file collision/tree-broadphase-manager.hpp.
typedef BroadPhaseManager::GeometryData pinocchio::TreeBroadPhaseManagerTpl< _Manager >::GeometryData |
Definition at line 27 of file collision/tree-broadphase-manager.hpp.
typedef BroadPhaseManager::GeometryModel pinocchio::TreeBroadPhaseManagerTpl< _Manager >::GeometryModel |
Definition at line 26 of file collision/tree-broadphase-manager.hpp.
typedef BroadPhaseManager::Model pinocchio::TreeBroadPhaseManagerTpl< _Manager >::Model |
Definition at line 25 of file collision/tree-broadphase-manager.hpp.
|
inline |
Default constructor.
Definition at line 30 of file collision/tree-broadphase-manager.hpp.
|
inline |
Constructor from a given geometry model and data.
[in] | model_ptr | pointer to the model of the kinematic tree. |
[in] | geometry_model_ptr | pointer to the geometry model. |
[in] | geometry_data_ptr | pointer to the geometry data. |
Definition at line 41 of file collision/tree-broadphase-manager.hpp.
|
inline |
Copy contructor.
[in] | other | manager to copy. |
Definition at line 54 of file collision/tree-broadphase-manager.hpp.
|
inline |
Definition at line 80 of file collision/tree-broadphase-manager.hpp.
bool pinocchio::TreeBroadPhaseManagerTpl< _Manager >::check | ( | ) | const |
Check whether the base broad phase manager is aligned with the current collision_objects.
bool pinocchio::TreeBroadPhaseManagerTpl< _Manager >::check | ( | CollisionCallBackBase * | callback | ) | const |
Check whether the callback is inline with *this.
bool pinocchio::TreeBroadPhaseManagerTpl< _Manager >::collide | ( | CollisionCallBackBase * | callback | ) | const |
Performs collision test for the objects belonging to the manager.
bool pinocchio::TreeBroadPhaseManagerTpl< _Manager >::collide | ( | CollisionObject & | obj, |
CollisionCallBackBase * | callback | ||
) | const |
Performs collision test between one object and all the objects belonging to the manager.
bool pinocchio::TreeBroadPhaseManagerTpl< _Manager >::collide | ( | TreeBroadPhaseManagerTpl< _Manager > & | other_manager, |
CollisionCallBackBase * | callback | ||
) | const |
Performs collision test with objects belonging to another manager.
|
inline |
Returns internal broad phase managers.
Definition at line 118 of file collision/tree-broadphase-manager.hpp.
|
inline |
Returns internal broad phase managers.
Definition at line 112 of file collision/tree-broadphase-manager.hpp.
|
inline |
Returns the geometry data associated to the manager.
Definition at line 145 of file collision/broadphase-manager-base.hpp.
|
inline |
Returns the geometry data associated to the manager.
Definition at line 139 of file collision/broadphase-manager-base.hpp.
|
inline |
Returns the geometry model associated to the manager.
Definition at line 133 of file collision/broadphase-manager-base.hpp.
|
inline |
Returns the model associated to the manager.
Definition at line 127 of file collision/broadphase-manager-base.hpp.
|
protected |
Initialialisation.
void pinocchio::TreeBroadPhaseManagerTpl< _Manager >::update | ( | bool | compute_local_aabb = false | ) |
Update the manager from the current geometry positions and update the underlying FCL broad phase manager.
[in] | compute_local_aabb | whether to recompute the local AABB of the collision geometries which have changed. |
void pinocchio::TreeBroadPhaseManagerTpl< _Manager >::update | ( | GeometryData * | geom_data_ptr_new | ) |
Update the manager with a new geometry data.
[in] | geom_data_ptr_new | pointer to the new geometry data. |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Manager pinocchio::TreeBroadPhaseManagerTpl< _Manager >::Manager |
Definition at line 18 of file collision/tree-broadphase-manager.hpp.
|
protected |
the vector of collision objects.
Definition at line 125 of file collision/tree-broadphase-manager.hpp.