The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



MakeVisible


Unit:SDL_rot3d
Class:TRot3D
Declaration:procedure MakeVisible;

The method MakeVisible transfers the data contained in the data container into the secondary buffer (see below), and displays the data using the current setup. Note that in general, all the graphics elements of a Rot3D panel are drawn in the off and are copied to the visible screen by the method MakeVisible. This ensures that the flickering of the screen is effectively prevented during the drawing of an element.

After calling MakeVisible, the data may be zoomed, rotated and panned. If new data are to be displayed, a new call to MakeVisible has to be performed. The figure below shows the relationship between primary and secondary buffer.

Example: This method is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): exrot3d



Last Update: 2023-Dec-14