![]() |
Parasol Planning Library (PPL)
|
#include <PQPCollisionDetection.h>


Public Member Functions | |
Construction | |
| PQP () | |
| virtual | ~PQP () |
CollisionDetectionMethod Overrides | |
| virtual bool | IsInCollision (const GMSPolyhedron &_polyhedron1, const mathtool::Transformation &_t1, const GMSPolyhedron &_polyhedron2, const mathtool::Transformation &_t2, CDInfo &_cdInfo) override |
Public Member Functions inherited from CollisionDetectionMethod | |
| CollisionDetectionMethod (const std::string &_name="CD_USER1") | |
| virtual | ~CollisionDetectionMethod () |
| const std::string & | GetName () const |
| virtual void | Print (std::ostream &_os) const |
| virtual bool | IsInsideObstacle (const mathtool::Vector3d &_point, const GMSPolyhedron &_polyhedron, const mathtool::Transformation &_transformation) |
Static Public Member Functions | |
Model Construction | |
| static PQP_Model * | Build (const GMSPolyhedron &_polyhedron) |
Additional Inherited Members | |
Protected Attributes inherited from CollisionDetectionMethod | |
| std::string | m_name |
| Name of the CD method. More... | |
Compute collision information with Proximity Query Package (PQP) package.
PQP has the option to compute clearance and penetration information through distance queries. To enable this pass in CDInfo with m_retAllInfo set to true.
Reference: Eric Larsen and Stefan Gottschalk and Ming C. Lin and Dinesh Manocha. "Fast Proximity Queries with Swept Sphere Volumes". ICRA 2000.
| PQP::PQP | ( | ) |
|
virtualdefault |
|
static |
Build a PQP model for a GMSPolyhedron.
| _polyhedron | The polyhedron to model. |
|
overridevirtual |
Check if two polyhedrons are in collision.
| _polyhedron1 | The first polyhedron. |
| _transformation1 | Transformation for the first polyhedron. |
| _polyhedron2 | The second polyhedron. |
| _transformation2 | Transformation for the second polyhedron. |
| _cdInfo | Output information from the collision computation. |
@TODO See if we can modify PQP_Distance to take const double arrays instead of just double arrays so we don't have to copy.
@TODO Update to use polyhedrons instead of bodies?
Reimplemented from CollisionDetectionMethod.
Reimplemented in PQPSolid.