Skip to content

Index-dependent objects in combination with SofaCarving #3008

Discussion options

You must be logged in to vote

Further to a discussion with @epernod, he reminded me that such data (automatically updated with the topological changes) should be TopologyData. Erik presented this API in the STC#13 (see slide 3)
In your case, this means that the Data< type::vector< sofa::Index > > d_points data field of the RestShapeSpringsForceField should be defined as sofa::core::topology::TopologySubsetIndices (like in the FixedConstraint)

We could make it as an issue, instead.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hugtalbot
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@hugtalbot
Comment options

@ScheiklP
Comment options

@ScheiklP
Comment options

@hugtalbot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants