hpp-fcl
2.4.1
HPP fork of FCL -- The Flexible Collision Library
|
Go to the documentation of this file.
38 #ifndef HPP_FCL_BROAD_PHASE_SSAP_H
39 #define HPP_FCL_BROAD_PHASE_SSAP_H
51 using Base::getObjects;
65 virtual void update();
71 void getObjects(std::vector<CollisionObject*>& objs)
const;
107 typename std::vector<CollisionObject*>::const_iterator pos_start,
108 typename std::vector<CollisionObject*>::const_iterator pos_end,
114 typename std::vector<CollisionObject*>::const_iterator pos_start,
115 typename std::vector<CollisionObject*>::const_iterator pos_end,
124 static int selectOptimalAxis(
125 const std::vector<CollisionObject*>& objs_x,
126 const std::vector<CollisionObject*>& objs_y,
127 const std::vector<CollisionObject*>& objs_z,
128 typename std::vector<CollisionObject*>::const_iterator& it_beg,
129 typename std::vector<CollisionObject*>::const_iterator& it_end);
#define HPP_FCL_DLLAPI
Definition: config.hh:88
std::vector< CollisionObject * > objs_x
Objects sorted according to lower x value.
Definition: broadphase_SSaP.h:132
bool setup_
tag about whether the environment is maintained suitably (i.e., the objs_x, objs_y,...
Definition: broadphase_SSaP.h:142
FCL_REAL distance(const Matrix3f &R0, const Vec3f &T0, const kIOS &b1, const kIOS &b2, Vec3f *P=NULL, Vec3f *Q=NULL)
Approximate distance between two kIOS bounding volumes.
BroadPhaseCollisionManager Base
Definition: broadphase_SSaP.h:50
Base class for broad phase collision. It helps to accelerate the collision/distance between N objects...
Definition: broadphase_collision_manager.h:54
std::size_t collide(const CollisionObject *o1, const CollisionObject *o2, const CollisionRequest &request, CollisionResult &result)
Main collision interface: given two collision objects, and the requirements for contacts,...
double FCL_REAL
Definition: data_types.h:65
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
Definition: broadphase_callbacks.h:73
std::vector< CollisionObject * > objs_y
Objects sorted according to lower y value.
Definition: broadphase_SSaP.h:135
Main namespace.
Definition: broadphase_bruteforce.h:44
the object for collision or distance computation, contains the geometry and the transform information
Definition: collision_object.h:215
std::vector< CollisionObject * > objs_z
Objects sorted according to lower z value.
Definition: broadphase_SSaP.h:138
Base callback class for collision queries. This class can be supersed by child classes to provide des...
Definition: broadphase_callbacks.h:50
Simple SAP collision manager.
Definition: broadphase_SSaP.h:48