alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.89k stars 807 forks source link

SFMData enhancement #1620

Closed servantftechnicolor closed 6 months ago

servantftechnicolor commented 6 months ago

Another PR to clean the SFM Data.

Main objective is to make the sfm Data more readable and more controllable : Be able to check and automatize certain process when an item is modified, added, or removed.

This PR is mostly about disabling direct access to internal structures of the sfmData.

I also want (and this PR is only a part of the work) to remove implicit behavior.

E.g. when using [] operator on a map to get an item, if the item does not exists, it is created. This creates side effects and reduce readability.