EVALUATE VIEW MAPPING MATRIX
CALL SEQUENCE
CALL PEVMM (VWWNLM, PJVPLM, ERRIND, VWMPMT)
INPUT PARAMETERS
- REAL VWWNLM(4)
- View window limits in VRC: UMIN, UMAX, VMIN, VMAX.
- REAL PJVPLM(6)
- Values (XMIN, XMAX, YMIN, YMAX) in NPC define the Viewport in the NPC space
in which the window defined by VWWNLM will be projected.
-
-
- OUTPUT PARAMETERS
-
- INTEGER ERRIND
- Error indicator
- REAL VWMPMT(3,3)
- Resulting matrix.
PHIGS STATE
(PHOP, *, *, *).
EFFECT
Returns a homogeneous 3 x 3 matrix allowing a 2D view reference coordinate
(VRC) space window to be projected into a 2D viewport in normalized projection
coordinate (NPC) space.
The window defined in VRC is a rectangle parallel to the U and V axes with
coordinate N = 0.
The viewport into which the window is projected is defined by PJVPLM in
NPC. The viewport is a rectangle defined in NPC where Z = 0 and the sides are
parallel to the X and Y axes.
ERRORS
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 151
- Ignoring function, invalid window: XMIN>=XMAX, YMIN>=YMAX,
ZMIN>ZMAX, UMIN>=UMAX or VMIN>=VMAX
- 152
- Ignoring function, invalid viewport: XMIN>=XMAX, YMIN>=YMAX or
ZMIN>ZMAX
- 155
- Ignoring function, the projection viewport limits are not within NPC
range
SEE ALSO
set view representation, evaluate view orientation matrix