Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pinocchio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
pinocchio
Commits
e07b3382
Commit
e07b3382
authored
8 years ago
by
Nicolas Mansard
Committed by
Nicolas Mansard
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Doc] added doc for GeomData::activatedPair.
parent
1f9889ec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/multibody/geometry.hpp
+15
-0
15 additions, 0 deletions
src/multibody/geometry.hpp
with
15 additions
and
0 deletions
src/multibody/geometry.hpp
+
15
−
0
View file @
e07b3382
...
...
@@ -276,7 +276,22 @@ namespace se3
~
GeometryData
()
{};
#ifdef WITH_HPP_FCL
/// Activate a collision pair, for which collisions and distances would now be computed.
///
/// A collision (resp distance) between to geometries of GeomModel::geometryObjects
/// is computed *iff* the corresponding pair has been added in GeomModel::collisionPairs *AND*
/// it is active, i.e. the corresponding boolean in GeomData::activePairs is true. The second
/// condition can be used to temporarily remove a pair without touching the model, in a versatile
/// manner.
/// \param[in] pairId the index of the pair in GeomModel::collisionPairs vector.
/// \param[in] new value of the activation boolean (true by default).
void
activateCollisionPair
(
const
Index
pairId
,
const
bool
flag
=
true
);
/// Deactivate a collision pair.
///
/// Calls indeed GeomData::activateCollisionPair(pairId,false)
/// \sa activateCollisionPair
void
deactivateCollisionPair
(
const
Index
pairId
);
///
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment