Skip to content
Discussion options

You must be logged in to vote

Dear @YanzhouWang

Welcome on the SOFA forum 🙌 !
A Data as explained on the Lexicography doc page is a public attribute of a Component (C++ class) visible to the user in the SOFA user interface. For a physical model or an algorithm, a Data is a parameter available for the user (e.g. the total mass totalMass in a mass component). Data may be defined by the user (some are compulsory – a.k.a. required – else a warning will be sent), accessed and modified.

A more complete doc page explains how to :

➡️ You will see from this page that the getValue() function aims at obtain a read-only access to a Data. The returned type is therefore …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YanzhouWang
Comment options

Answer selected by YanzhouWang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants