Public Member Functions | Public Attributes | List of all members
pinocchio::CollisionCallBackDefault Struct Reference

#include <broadphase-callbacks.hpp>

Inheritance diagram for pinocchio::CollisionCallBackDefault:
Inheritance graph
[legend]

Public Member Functions

bool collide (hpp::fcl::CollisionObject *o1, hpp::fcl::CollisionObject *o2)
 
 CollisionCallBackDefault (const GeometryModel &geometry_model, GeometryData &geometry_data, bool stopAtFirstCollision=false)
 
void done () final
 Callback method called after the termination of a collisition detection algorithm. The default implementation does nothing. More...
 
void init ()
 
bool stop () const final
 If true, the stopping criteria related to the collision callback has been met and one can stop. More...
 
- Public Member Functions inherited from pinocchio::CollisionCallBackBase
 CollisionCallBackBase (const GeometryModel &geometry_model, GeometryData &geometry_data)
 
GeometryDatagetGeometryData ()
 
const GeometryDatagetGeometryData () const
 
const GeometryModelgetGeometryModel () const
 
- Public Member Functions inherited from hpp::fcl::CollisionCallBackBase
virtual bool operator() (CollisionObject *o1, CollisionObject *o2)
 

Public Attributes

PairIndex collisionPairIndex
 The collision index of the first pair in collision. More...
 
size_t count
 Number of visits of the collide method. More...
 
bool stopAtFirstCollision
 Whether to stop or not when localizing a first collision. More...
 
- Public Attributes inherited from pinocchio::CollisionCallBackBase
bool accumulate
 Whether the callback is used in an accumulate mode where several collide methods are called successively. More...
 
bool collision
 Whether there is a collision or not. More...
 

Additional Inherited Members

- Protected Attributes inherited from pinocchio::CollisionCallBackBase
GeometryDatageometry_data_ptr
 Geometry data associated to the callback. More...
 
const GeometryModelgeometry_model_ptr
 Geometry model associated to the callback. More...
 

Detailed Description

Definition at line 66 of file broadphase-callbacks.hpp.

Constructor & Destructor Documentation

◆ CollisionCallBackDefault()

pinocchio::CollisionCallBackDefault::CollisionCallBackDefault ( const GeometryModel geometry_model,
GeometryData geometry_data,
bool  stopAtFirstCollision = false 
)
inline

Definition at line 68 of file broadphase-callbacks.hpp.

Member Function Documentation

◆ collide()

bool pinocchio::CollisionCallBackDefault::collide ( hpp::fcl::CollisionObject o1,
hpp::fcl::CollisionObject o2 
)
inlinevirtual

Implements hpp::fcl::CollisionCallBackBase.

Definition at line 90 of file broadphase-callbacks.hpp.

◆ done()

void pinocchio::CollisionCallBackDefault::done ( )
inlinefinalvirtual

Callback method called after the termination of a collisition detection algorithm. The default implementation does nothing.

Reimplemented from pinocchio::CollisionCallBackBase.

Definition at line 178 of file broadphase-callbacks.hpp.

◆ init()

void pinocchio::CollisionCallBackDefault::init ( )
inlinevirtual

Reimplemented from hpp::fcl::CollisionCallBackBase.

Definition at line 79 of file broadphase-callbacks.hpp.

◆ stop()

bool pinocchio::CollisionCallBackDefault::stop ( ) const
inlinefinalvirtual

If true, the stopping criteria related to the collision callback has been met and one can stop.

Implements pinocchio::CollisionCallBackBase.

Definition at line 170 of file broadphase-callbacks.hpp.

Member Data Documentation

◆ collisionPairIndex

PairIndex pinocchio::CollisionCallBackDefault::collisionPairIndex

The collision index of the first pair in collision.

Definition at line 188 of file broadphase-callbacks.hpp.

◆ count

size_t pinocchio::CollisionCallBackDefault::count

Number of visits of the collide method.

Definition at line 191 of file broadphase-callbacks.hpp.

◆ stopAtFirstCollision

bool pinocchio::CollisionCallBackDefault::stopAtFirstCollision

Whether to stop or not when localizing a first collision.

Definition at line 185 of file broadphase-callbacks.hpp.


The documentation for this struct was generated from the following file:


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:14