Switching between edit and view modes
If we start the current version of the application, we will see that a large part of the screen is blocked by the user interface whenever we want to make changes to instances.
Figure 4.1 shows what the user interface window looks like when all headers are expanded:

Figure 4.1: User interface blocking parts of the screen
As more and more options will be added later in the book, the user interface may fill up even more of the available window space. In addition, a selected instance will blink if the highlight is active and the coordinate arrows are placed below it.
To change the overall appearance, we must check which features should be disabled in a separate view mode.
Deciding what should be switched in view mode
Our main goal for this section is to remove the ImGui Control window to have the full application available for interacting with the model instances. We could just switch off the rendering of the user interface...