Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add igtlink mouse interactor #5

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

bakpaul
Copy link
Contributor

@bakpaul bakpaul commented Apr 9, 2024

This PR is based on SOFA's PR sofa-framework/sofa#4638

This adds a component enabling to have random mouse picking point on model through igtlink.

It supposes that igtlink sends a 3D position of a point, and when the picking is not active, it will find the closest point of the collision model and link the incoming point to it using either a spring or a bilateral constraint. This mechanism auto deactivate if no new picking position has been received for reactionTime milliseconds.

@bakpaul bakpaul merged commit 055351b into sofa-framework:master Apr 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant