Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

Show_Priority

Functions

void Show_Priority (HC_KEY key, long *priority)
 Returns the drawing priority corresponding to the given key. More...
 
void Show_Priority_Range (HC_KEY key, long *low, long *high)
 Returns the lowest and highest priority subsegments within a segment identified by key. More...
 

Detailed Description

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