Brief Index      Full Index      Events Index      I.M. Reference

Edit_Marker

Functions

void Edit_Marker (HC_KEY key, double x, double y, double z)
void DEdit_Marker (HC_KEY key, double x, double y, double z)

Function Documentation

void Edit_Marker ( HC_KEY  key,
double  x,
double  y,
double  z 
)

Edits a marker object as it sits in the database.

Parameters:
key- Key to a marker object.
x- x-coordinate of the marker in object space.
y- y-coordinate of the marker in object space.
z- z-coordinate of the marker in object space.

DETAILS

The marker actually used depends on the current Marker Symbol attribute setting. The size of the marker is determined by the current Marker Size, and the Color by the "marker" color setting. Markers are not scaled with geometry.

NOTES

There is no "polymarker" routine in HOOPS. A mesh with edges and faces turned off (in the segment, not locally one-by-one!) is a reasonably compact and fast alternative.

The marker generated always faces to the front on the final screen display.

RESTRICTIONS

Due to the floating point to integer round-off error, the positioning of markers, particularly the asterisk, can sometimes be off by one pixel.

See also:
Insert_Marker, Insert_Line, Insert_Polygon, Insert_Circle, Insert_Mesh, Set_Marker_Symbol, Set_Marker_Size, Set_Color, Set_Visibility, Renumber_Key.
void DEdit_Marker ( HC_KEY  key,
double  x,
double  y,
double  z 
)

Similar to Edit_Marker(), but operates on double-precision data.

Parameters:
key- Key to a marker object.
x- x-coordinate of the marker in object space.
y- y-coordinate of the marker in object space.
z- z-coordinate of the marker in object space.

Brief Index      Full Index      Events Index      I.M. Reference