Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetWorkstationViewRep(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetWorkstationViewRep(3)  —  Subroutines

Name

PEXSetWorkstationViewRep - Set Workstation View Representation

Synopsis

void PEXSetWorkstationViewRep(Display ∗display, PEXWorkstation workstation, unsigned int view_index, PEXViewEntry ∗values)

Arguments

displayA pointer to a display structure returned by a successful XOpenDisplay call. 

workstationThe resource identifier of the workstation. 

view_indexThe view index. 

valuesA pointer to the view representation values. 

Returns

None

Description

This function sets the specified view table entry of the requested view table in the specified workstation.  If the dynamic modification for the view table is PEXIMM, the current view table entry is set to the specified view representation and the view update is set to PEXNotPending; otherwise, the view update is set to PEXPending and the current view table is not changed.

Data Structures

typedef XID             PEXWorkstation;
typedef struct {
    unsigned short      clip_flags;
    unsigned short      reserved;
    PEXNPCSubVolume     clip_limits;
    PEXMatrix           orientation;
    PEXMatrix           mapping;
} PEXViewEntry;
typedef struct {
    PEXCoord            min;
    PEXCoord            max;
} PEXNPCSubVolume;
typedef struct {
    float               x;
    float               y;
    float               z;
} PEXCoord;
typedef float           PEXMatrix[4][4];

Errors

BadAllocThe view table is full. 

BadPEXWorkstation
The specified workstation resource identifier is invalid.

See Also

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026