Set Representation Item

Parent module: Representation Items Module

group a3d_riset

This entity is a logical grouping of other representation items.

No matrix for placement is attached to components, and an A3DRiSet entity can contain multiple child A3DRiSet sets.

Sample code
A3DRiSet pSet;
/* Should call something here in order to get a valid A3DRiSet */
A3DInt32 iErr = A3D_SUCCESS;
A3DRiSetData sData;
A3D_INITIALIZE_DATA(sData);
iErr = A3DRiSetGet(pSet, &sData);
if (iErr == A3D_SUCCESS)
{
    for(A3DUns32 ui=0; ui<sData.m_uiRepItemsSize;ui++)
    {
        /* Insert here your own code to parse through members of Set : sData.m_ppRepItems[ui] */
    }
    A3DRiSetGet( NULL,&sData );
}

Warning

A representation item cannot belong to more than one set.

Data Structures

A3DRiSetData

Set structure.

Functions

A3DRiSetGet()

Populates the A3DRiSetData structure.

A3DRiSetCreate()

Creates an A3DRiSet from A3DRiSetData structure.

A3DRiSetEdit()

Replaces the old data of an A3DRiSet with the new A3DRiSetData structure.