vdata
Stored viewing array with at least 15 elements
vstate.mode
View mode
= 0,
No view defined
= 1,
Perspective view defined (gDefineSphericalView() or gDefinePerspView())
= 2,
Parallel view defined (gDefineParallelView())
vstate.cflag
View centre flag
= 0,
No view centre defined
= 1,
Default view centre defined
= 2,
User defined view centre (gPosViewCentre())
vstate.upflag
View up direction flag
= 0,
Default view up vector (0.0,1.0,0.0)
= 1,
User defined view up vector (gSetViewUpDirection())
vstate.dir
View direction vector
vstate.centre
View centre
vstate.dist
Perspective viewing distance
vstate.shift
View shift
vstate.upvec
View up direction vector
Description
The routines gSetViewParams() and gSetViewState() set the viewing parameters to the values stored in the appropriate structure. The current settings are obtained through the routines gGetViewParams() or gGetViewState(). The new settings may subsequently be modified by using one of the viewing routines but are only activated after updating the current view using gUpdateView().