Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXExtendedCellArray(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXExtendedCellArray(3)  —  Subroutines

Name

PEXExtendedCellArray - Extended 3D Cell Array Primitive

Synopsis

void PEXExtendedCellArray(Display ∗display, XID resource_id, PEXOCRequestType req_type, PEXCoord ∗point1, PEXCoord ∗point2, PEXCoord ∗point3, unsigned int col_count, unsigned int row_count, int color_type, PEXArrayOfColor colors)

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).

point1The first cell array definition point. 

point2The second cell array definition point. 

point3The third cell array definition point. 

col_countThe number of cell columns (number of cells in the X direction). 

row_countThe number of cell rows (number of cells in the Y direction). 

color_typeThe type of color for the cell colors (PEXColorTypeIndexed, PEXColorTypeRGB, PEXColorTypeCIE, PEXColorTypeHSV, PEXColorTypeHLS, PEXColorTypeRGB8, PEXColorTypeRGB16).

colorsAn array of colors specifying the color of each cell. 

Returns

None

Description

This function creates a 3D cell array output primitive. 

This function is similar to PEXCellArray, except the colors are passed as either indexed color values or direct color values, depending on the color type.

Data Structures

typedef union {
    PEXColorIndexed     ∗indexed;
    PEXColorRGB         ∗rgb;
    PEXColorHSV         ∗hsv;
    PEXColorHLS         ∗hls;
    PEXColorCIE         ∗cie;
    PEXColorRGB8        ∗rgb8;
    PEXColorRGB16       ∗rgb16;
} PEXArrayOfColor;
See also the PEXStructuresman page.

Errors

BadPEXOutputCommand
The output command contains an invalid value.

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

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