Go to the documentation of this file.
5 #ifndef __pinocchio_collision_tree_broadphase_manager_hpp__
6 #define __pinocchio_collision_tree_broadphase_manager_hpp__
13 template<
typename _Manager>
14 struct TreeBroadPhaseManagerTpl :
public BroadPhaseManagerBase<TreeBroadPhaseManagerTpl<_Manager>>
16 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
42 const Model * model_ptr,
45 :
Base(model_ptr, geometry_model_ptr, geometry_data_ptr)
57 init(other.managers.size());
71 void update(
bool compute_local_aabb =
false);
128 void init(
const size_t njoints);
135 #include "pinocchio/collision/tree-broadphase-manager.hxx"
137 #endif // ifndef __pinocchio_collision_tree_broadphase_manager_hpp__
TreeBroadPhaseManagerTpl()
Default constructor.
const GeometryModel & getGeometryModel() const
Returns the geometry model associated to the manager.
BroadPhaseManagerVector & getBroadPhaseManagers()
Returns internal broad phase managers.
const GeometryData & getGeometryData() const
Returns the geometry data associated to the manager.
std::vector< BroadPhaseManager > BroadPhaseManagerVector
CollisionObject(const shared_ptr< CollisionGeometry > &cgeom_, bool compute_local_aabb=true)
BroadPhaseManager::GeometryModel GeometryModel
BroadPhaseManagerBase< TreeBroadPhaseManagerTpl< _Manager > > Base
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Manager Manager
const Model & getModel() const
Returns the model associated to the manager.
Interface for Pinocchio collision callback functors.
std::vector< hpp::fcl::CollisionObject * > CollisionObjectPointerVector
~TreeBroadPhaseManagerTpl()
BroadPhaseManagerVector managers
the vector of collision objects.
bool collide(CollisionObject &obj, CollisionCallBackBase *callback) const
Performs collision test between one object and all the objects belonging to the manager.
bool check() const
Check whether the base broad phase manager is aligned with the current collision_objects.
TreeBroadPhaseManagerTpl(const Model *model_ptr, const GeometryModel *geometry_model_ptr, GeometryData *geometry_data_ptr)
Constructor from a given geometry model and data.
TreeBroadPhaseManagerTpl(const TreeBroadPhaseManagerTpl &other)
Copy contructor.
const BroadPhaseManagerVector & getBroadPhaseManagers() const
Returns internal broad phase managers.
void init(const size_t njoints)
Initialialisation.
BroadPhaseManagerTpl< Manager > BroadPhaseManager
BroadPhaseManager::GeometryData GeometryData
BroadPhaseManager::Model Model
Main pinocchio namespace.
int njoints
Number of joints.
void update(bool compute_local_aabb=false)
Update the manager from the current geometry positions and update the underlying FCL broad phase mana...
pinocchio
Author(s):
autogenerated on Sun Nov 10 2024 03:43:02