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.

ool<br />

GW.set show position(bool sp)<br />

sets the show position flag to sp and returns the previous<br />

value.<br />

<strong>The</strong> following operations set or return various parameters that are used in the threedimensional<br />

output of GeoWin. <strong>The</strong> three-dimensional output can be started by pressing<br />

the Show D3 Output button in the Window menu.<br />

bool GW.get d3 elimination( )<br />

bool GW.set d3 elimination(bool b)<br />

returns true, if elimination of hidden lines in the 3doutput<br />

mode is enabled, false otherwise.<br />

sets the d3 elimination flag of GW to b and returns<br />

its previous value.<br />

bool GW.get d3 solid( ) return true, if faces in the 3d-output mode have to be<br />

drawn in different grey scales, false otherwise.<br />

bool GW.set d3 solid(bool b)<br />

bool GW.get d3 show edges( )<br />

bool GW.set d3 show edges(bool b)<br />

g) Handling of events<br />

sets the d3 solid flag of GW to b and returns its previous<br />

value.<br />

returns true, if the redraw of edges is enabled in the<br />

3d-output mode, false otherwise.<br />

sets the d3 show edges flag of GW to b and returns<br />

its previous value.<br />

GeoWin provides operations for changing its default handling of events. As in GraphWin<br />

(cf. Section 17.6) the user can define what action should follow a mouse or key event.<br />

Constants are defined as in GraphWin :<br />

• A LEFT (left mouse-button)<br />

• A MIDDLE (middle mouse-button)<br />

• A RIGHT (right mouse-button)<br />

• A SHIFT (shift-key)<br />

• A CTRL (control-key)<br />

• A ALT (alt-key)<br />

• A DOUBLE (double click)

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

Saved successfully!

Ooh no, something went wrong!