sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
878 stars 297 forks source link

[MechanicalLoad] Update TrianglePressureForceField to remove plan selection and add callback on Data pressure and triangleList #4743

Open epernod opened 2 weeks ago

epernod commented 2 weeks ago

image


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

epernod commented 2 weeks ago

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

hugtalbot commented 1 week ago

Remove all Data and method related to triangle selection on a plan.

I guess this should now be done through a ROI?

epernod commented 1 week ago

Remove all Data and method related to triangle selection on a plan.

I guess this should now be done through a ROI?

yes exactly, I already put it in the deprecated message: core::objectmodel::lifecycle::DeprecatedData normal{ this, "v24.06", "v24.12", "normal", "Plan selection using normal, dmin, dmax has been removed. Triangles should be selected using an Engine.Select and passed using Data triangleList" };