HC_Show_Selection_Original_Key
-
void
HC_Show_Selection_Original_Key(Key *key) - void HC_Show_Selection_Original_Key(Key key)
Returns the original HOOPS key to a renumbered selection object.
The key returned by this function is identical to that from Show_Selection_Element(), except that it is of the non-renumbered form (see Show_Selection_Original_Key() for details). Show_Selection_Original_Key(), however, has the advantage of extra context information from the selection event. Thus, it can operate on entities whose keys have been locally renumbered, even without opening the containing segment.
If the selected entity’s key was not renumbered, then the key returned by Show_Selection_Element() and Show_Selection_Original_Key() will be identical.
HC_Compute_Selection, HC_Find_Related_Selection, HC_Show_Original_Key, HC_Renumber_Key, HC_Show_Key_Type, HC_Set_Selectability, HC_Show_Selection, HC_Show_Selection_ElementParameters
key: The non-renumbered key of the “best match” element of your scene. Passed by reference. Returned to user.