GINO Graphics Suite - GINO v9.0  

gSetTransformMode

Syntax

[C/C++:]
void gSetTransformMode(int sw);
[F90:]
subroutine gSetTransformMode(sw)
integer, intent(in) ::sw

Arguments

sw
Picture mode switch

= GSPACE, Switch modelling transforming into space mode
= GPICTURE, Switch modelling transforming into picture mode

Description

When modelling transforming is in space mode (the default) each modelling transformation is specified with respect to the most recent set of space axes (sometimes called current or local axes). Subsequent changes to the transformation matrix are post-multiplied.

When in picture mode each modelling transformation is specified with respect to the picture (or screen) axes. Subsequent changes to the transformation matrix are pre-multiplied.

The picture axes never change and have their origin at the bottom left-hand corner of the picture, with X horizontal and to the right, Y vertical, positive upwards, and the Z axis perpendicular to the plane of the picture, in the direction of the user.

See Also

gSetTransformMode Usage