|
enum | { Options = 0
} |
|
typedef std::vector< CollisionPair > | CollisionPairVector |
|
typedef ::pinocchio::GeometryObject | GeometryObject |
|
typedef pinocchio::GeomIndex | GeomIndex |
|
typedef double | Scalar |
|
typedef SE3Tpl< Scalar, Options > | SE3 |
|
|
CollisionPairVector | collisionPairs |
| Vector of collision pairs.
|
|
GeometryObjectVector | geometryObjects |
| Vector of GeometryObjects used for collision computations.
|
|
Index | ngeoms |
| The number of GeometryObjects.
|
|
|
std::ostream & | operator<< (std::ostream &os, const GeometryModel &model_geom) |
|
Definition at line 21 of file geometry.hpp.
◆ addAllCollisionPairs()
void addAllCollisionPairs |
( |
| ) |
|
Add all possible collision pairs.
- Note
- Collision pairs between geometries having the same parent joint are not added.
◆ addCollisionPair()
Add a collision pair into the vector of collision_pairs. The method check before if the given CollisionPair is already included.
- Parameters
-
◆ addGeometryObject() [1/2]
GeomIndex addGeometryObject |
( |
const GeometryObject & |
object, |
|
|
const ModelTpl< S2, O2, _JointCollectionTpl > & |
model |
|
) |
| |
Add a geometry object to a GeometryModel and set its parent joint.
- Parameters
-
[in] | object | Object |
[in] | model | Corresponding model, used to assert the attributes of object. |
- Returns
- The index of the new added GeometryObject in geometryObjects
- Note
- object is a nonconst copy to ease the insertion code.
◆ addGeometryObject() [2/2]
◆ existCollisionPair()
Check if a collision pair exists in collisionPairs. See also findCollisitionPair(const CollisionPair & pair).
- Parameters
-
- Returns
- True if the CollisionPair exists, false otherwise.
◆ existGeometryName()
bool existGeometryName |
( |
const std::string & |
name | ) |
const |
◆ findCollisionPair()
Return the index of a given collision pair in collisionPairs.
- Parameters
-
- Returns
- The index of the CollisionPair in collisionPairs.
◆ getGeometryId()
GeomIndex getGeometryId |
( |
const std::string & |
name | ) |
const |
◆ removeCollisionPair()
Remove if exists the CollisionPair from the vector collision_pairs.
- Parameters
-
The documentation for this struct was generated from the following file: