User Controls Common to All Examples
A popup menu appears with a right click in the graphics window. The menu choices for all examples are "Show Source Code", "Close Source Code" and "Close Example". Note that Internet Explorer opens automatically with each example and displays a discussion and/or code listing. Thus, the first two menu items are provided for closing and re-opening these documents. The third menu item closes both the example and IE.
Since this user control is ancillary to the example, the cpp code used to carry out this function is not shown here in the code listing. The interested reader may view the pertinent code in ExampleWithControl.cpp, which resides in ComputerGraphicsTutorials/Examples/ControlSourceCode.
User Controls Particular to This Example
Mouse
Dragging the mouse with left button down
orbits the camera (same as in
the Camera Animation tutorial)