Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXSetModelClipVolume2D(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXSetModelClipVolume2D(3)  —  Subroutines

Name

PEXSetModelClipVolume2D - Set Model Clip Volume 2D

Synopsis

void PEXSetModelClipVolume2D(Display ∗display, XID resource_id, PEXOCRequestType req_type, int op, unsigned int count, PEXHalfSpace2D ∗half_spaces)

Arguments

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

resource_idThe resource identifier of the renderer or structure. 

req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).

opThe model clipping volume operator (PEXModelClipReplace or PEXModelClipIntersection).

countThe number of halfspaces. 

half_spacesAn array of points and normal vectors defining the model clipping volume. 

Returns

None

Description

This function creates an output primitive attribute which sets the model clip volume attribute.  This output command is similar to PEXSetModelClipVolume except that the half-spaces are specified in 2D coordinates where the z-component of each point and normal vector assumed to be zero.

Data Structures

typedef struct {
    PEXCoord2D          point;
    PEXVector2D         vector;
} PEXHalfSpace2D;
See also the PEXStructuresman page.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

PEXSetModelClipFlag, PEXSetModelClipVolume, PEXRestoreModelClipVolume,
PEXGetImpDepConstants

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