GINO Graphics Suite - GINO v9.0  

gSetViewAxis

Syntax

[C/C++:]
void gSetViewAxis(int nh, int nv);
[F90:]
subroutine gSetViewAxis(nh, nv)
integer, intent(in) :: nh,nv

Arguments

nh
The axis to be horizontal

= GXAXIS, X axis
= GYAXIS, Y axis
= GZAXIS, Z axis

nv
The axis to be vertical

= GXAXIS, X axis
= GYAXIS, Y axis
= GZAXIS, Z axis

Description

The routine gSetViewAxis() selects the view so that the two specified axes are horizontal and vertical respectively.

This permutes the rows of the modelling transformation matrix so that the nh axis is horizontal and the nv axis is vertical.

See Also

gSetViewAxis Usage