Brief Index      Full Index      Events Index      I.M. Reference

Show_Marker

Functions

void Show_Marker (HC_KEY key, float *x, float *y, float *z)
void DShow_Marker (HC_KEY key, float *x, float *y, float *z)

Function Documentation

void Show_Marker ( HC_KEY  key,
float *  x,
float *  y,
float *  z 
)

Returns the position of a marker, as referenced by a key.

Parameters:
key- Unique numeric identifier pointing to a marker in the database.
x- Coordinates of the marker in object space. Returned to user. Passed by reference always.
y-
z-

DETAILS

This routine finds the coordinates of the marker that corresponds to the given key. You could use this ability, for example, to extract data needed to place a crosshair on top of a user selected marker. The key for the marker might come from Show_Selection_Element() or Find_Contents() , or it might have been saved by your program when the marker was created (via Insert_Marker() ).

NOTES

RESTRICTIONS

See also:
Insert_Marker, Show_Selection_Element, Get_Selection, Begin_Contents_Search, Compute_Coordinates.
void DShow_Marker ( HC_KEY  key,
float *  x,
float *  y,
float *  z 
)

Similar to Show_Marker, but accepts and/or returns double-precision values. This command can only be used when the application source includes the HOOPS double-precision header, hcd.h.

Parameters:
key- Unique numeric identifier pointing to a marker in the database.
x- Coordinates of the marker in object space. Returned to user. Passed by reference always.
y-
z-

DETAILS

No additional details. See Show_Marker().

Brief Index      Full Index      Events Index      I.M. Reference