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

[Engine.Select] Automatically find topology in MeshBoundaryROI #5116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alxbilger
Copy link
Contributor


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@alxbilger alxbilger added enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Nov 14, 2024
@alxbilger
Copy link
Contributor Author

[ci-build][with-all-tests]

@bakpaul
Copy link
Contributor

bakpaul commented Nov 18, 2024

Do we really want to make it automatically ? I guess, it is better to make sure the user knows what he is doing ? MAybe set the ComponentState to invalid instead ?

@alxbilger
Copy link
Contributor Author

Do we really want to make it automatically ? I guess, it is better to make sure the user knows what he is doing ? MAybe set the ComponentState to invalid instead ?

I wondered the same question, but I chose consistency with the other ROIs over explicit link setting. Let's decide together.

@bakpaul bakpaul added this to the v25.06 milestone Dec 16, 2024
core::topology::BaseMeshTopology* topology = nullptr;
this->getContext()->get(topology, core::objectmodel::BaseContext::Local);

if (topology)
Copy link
Contributor

@hugtalbot hugtalbot Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add an error if not found?
+ invalid component state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants