FieldInfo
What a person reads about one scalar field of a mesh or tet item: its label, its unit and its frame (construct-fea-solve §FEC-1, field-presentation §FVE-4).
In the namespace construct::model. Declared in src/libs/libconstruct/construct/model/FieldInfo.hpp.
Detailed description
A stored field has values and nothing else. A legend needs a label and a unit, so they are data on the item, not code. The item's `typeData` holds them under key(): a map from a field name to one entry, each entry a map with the optional keys `label`, `unit` and `frame`. Since field-presentation phase 4a the range and the colormap are choices of the color presenter, not facts of the data, so they are not here.
`fieldInfo` travels in `typeData`, so the save, the snapshot to the render worker and undo carry it with no new path. The computed fields (quality, volume, depth, the mesh dihedral angle) get their entry from the code of their computation: TetElementScalars::computedFieldInfo() and MeshScalars::computedFieldInfo(). A stored entry goes over it, key by key (over()).
The presentation of an item is construct::model::presentation::Presentation.
See also construct::model::FieldDisplay.