Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OpticScenery

The OpticScenerystruct contains the entire model and possibly further metadata (e.g. such as a description field). It should also implement functions serialization / deserialization (which will be forwarded to the corresponding functions of the struct members) which allow for writing / reading an optical system to / from a storage medium.

In addition, it should implement the top-most function to export the graph to the graphwiz format for easy visualization. Last but not least it also contains the top-level analyze function starting the actual analysis process. The type of analysis has to be given here making use of the well-known strategy pattern.