31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> geometric objects<br />

<strong>The</strong> objects stored in the containers of the scenes have to support input and output<br />

operators for streams and the <strong>LEDA</strong> window and the output operator to the ps file.<br />

<strong>Manual</strong> overview<br />

<strong>The</strong> following manual pages have this structure:<br />

• a) Main operations (creation of scenes)<br />

• b) Window operations (initialization of the drawing window)<br />

• c) Scenes and scene groups (get/set - operations for changing attributes)<br />

• d) I/O operations<br />

• e) View operations (zooming)<br />

• f) Parameter operations (get/set - operations for instances of type GeoWin)<br />

• g) Event handling<br />

• h) Scene group operations<br />

• i) Further operations (changing of the user interface, 3d output, ...)<br />

#include < <strong>LEDA</strong>/graphics/geowin.h ><br />

2. Creation<br />

GeoWin GW (const char ∗ label = ”GEOWIN ”);<br />

creates a GeoWin GW . GW is constructed with frame label label<br />

GeoWin GW (int w, int h, const char ∗ label = ”GEOWIN ”);<br />

creates a GeoWin GW with frame label label and window size w×h<br />

pixels.<br />

3. Operations<br />

a) Main Operations<br />

In this section you find operations for creating scenes and for starting<br />

the interactive mode of GeoWin.<br />

<strong>The</strong> new scene and get objects operations use member templates. If your compiler<br />

does not support member templates, you should use instead the templated functions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!