Previous Next Up Title Contents Index Top Library

25.2. CONTROL FLAGS AND CUSTOM FUNCTIONS

Flags :

Flags are used to manage the object.( 1 means that the flag is set, 0 flags is unset )

When you display object, flags are checked and the appropriate option is use to redraw the object.

If this flag is set it :

reference : Display a reference in the left corner of the display window

bounding_box : Display the bounding_box only

object_and_bounding_box : Display bounding box and object

pane : When a move is asked the object is paned

ratio_win : Keep the ratio with the window

move : Move the object (rotation)

fly : Move continuous

zoom : Zoom the object

zbuffer : zbuffer control

Flags are used by the XgDisplayViewObject funtion to redraw the object.

For example if reference is set to 1, when XgDisplayViewObject function is called a reference will be displayed in the left corner.

If you want to redefine function you can use `custom function'. If there record are set, the defaut function are not used.

CUSTOM FUNCTIONS :

FctBoundingBoxCustom : Custom fonction to display bounding box

FctDisplayImageCustom : Custom function to display image

boundingBoxData : Data for custom bounding box function

displayImageData : Data for custom display function

Others informations are avalaible:

view_number : Contains the current view number used

BBxmin[view_number] : Bounding box xmin

BBxmax[view_number] : Bounding box xmax

BBymin[view_number] : Bounding box ymin

BBymax[view_number] : Bounding box ymax

BBzmin[view_number] : Bounding box zmin

BBzmax[view_number] : Bounding box zmax


Previous Next Up Title Contents Index Top Library