Brief Index      Full Index      I.M. Reference

Show_Priority


Functions

void Show_Priority (HC_KEY key, long *priority)
void Show_Priority_Range (HC_KEY key, long *low, long *high)
void QShow_Priority_Range (const char *segment, HC_KEY key, long *low, long *high)

Function Documentation

void Show_Priority ( HC_KEY  key,
long *  priority 
)

Returns the drawing priority corresponding to the given key.

Parameters:
key - Unique numeric identifier corresponding to an existing include segment.
priority - Priority of the include segment corresponding to the key. Returned to user. Passed by reference always.

DETAILS

A drawing priority in HOOPS is a long. Low priorities are drawn first, followed by higher priority items. This routine simply shows the priority associated with an object.

NOTES

RESTRICTIONS

See also:
Set_Priority, Set_Rendering_Options

void Show_Priority_Range ( HC_KEY  key,
long *  low,
long *  high 
)

Returns the lowest and highest priority subsegments within a segment identified by key.

Parameters:
key - Unique numeric identifier corresponding to an existing include segment.
low - Priority of the lowest-priority sub-segment within key. Returned to user. Passed by reference always.
high - Priority of the highest-priority sub-segment within key. Returned to user. Passed by reference always.

DETAILS

This function is used in operations to set the drawing order of a number of segments.

NOTES

RESTRICTIONS

See also:
Set_Priority, Set_Rendering_Options

void QShow_Priority_Range ( const char *  segment,
HC_KEY  key,
long *  low,
long *  high 
)

Similar to Show_Priority_Range(), but operates on the given segment rather than the currently open one.

Parameters:
segment - Name of the segment on which to query the priority range.
key - Unique numeric identifier corresponding to an existing include segment.
low - Priority of the lowest-priority sub-segment within key. Returned to user. Passed by reference always.
high - Priority of the highest-priority sub-segment within key. Returned to user. Passed by reference always.

DETAILS

No additional details. See Show_Priority().

See also:
Set_Priority, Set_Rendering_Options

Main Index
Brief Index      Full Index      I.M. Functions