.\" @(#)PEXSetWorkstationViewRep.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXSetWorkstationViewRep 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXSetWorkstationViewRep - Set Workstation View Representation .SH SYNTAX .HP void PEXSetWorkstationViewRep\^(\^Display *\fIdisplay\fP\^, PEXWorkstation \fIworkstation\fP\^, unsigned int \fIview_index\fP\^, PEXViewEntry *\fIvalues\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIworkstation\fP 1i The resource identifier of the workstation. .IP \fIview_index\fP 1i The view index. .IP \fIvalues\fP 1i A pointer to the view representation values. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXSetWorkstationViewRep .LP This function sets the specified view table entry of the requested view table in the specified .I workstation. If the dynamic modification for the view table is .B PEXIMM, the current view table entry is set to the specified view representation and the view update is set to .B PEXNotPending; otherwise, the view update is set to .B PEXPending and the current view table is not changed. .SH DATA STRUCTURES .LP .nf typedef XID PEXWorkstation; .sp typedef struct { unsigned short clip_flags; unsigned short reserved; PEXNPCSubVolume clip_limits; PEXMatrix orientation; PEXMatrix mapping; .br } PEXViewEntry; .sp typedef struct { PEXCoord min; PEXCoord max; .br } PEXNPCSubVolume; .sp typedef struct { float x; float y; float z; .br } PEXCoord; .sp typedef float PEXMatrix[4][4]; .fi .SH ERRORS .TP .SB BadAlloc The view table is full. .TP .SB BadPEXWorkstation The specified workstation resource identifier is invalid.