Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXCreatePickMeasure(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXCreatePickMeasure(3)  —  Subroutines

Name

PEXCreatePickMeasure - Create Pick Measure

Synopsis

PEXPickMeasure PEXCreatePickMeasure(Display ∗display, PEXWorkstation workstation, int pick_device_type)

Arguments

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

workstationThe resource identifier of the workstation. 

pick_device_type
The pick device type (PEXPickDeviceDCHitBox or PEXPickDeviceNPCHitVolume).

Returns

The resource identifier of the newly-created pick measure. 

Description

This function creates a pick measure resource of the type specified.  The pick measure is initialized with the values contained in the appropriate pick device descriptor stored in the specified workstation.  The supported pick device types are inquirable via PEXGetEnumTypeInfo.

Data Structures

typedef XID             PEXWorkstation;
typedef XID             PEXPickMeasure;

Errors

BadAllocThe server failed to allocate the resource. 

BadPEXWorkstation
The specified workstation resource identifier is invalid.

BadValueThe specified pick device type is invalid. 

See Also

PEXFreePickMeasure, PEXGetEnumTypeInfo

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