The array of functions pointed to by Fct_Draw_Geom[]()are used to draw the default polygonal geometry.
You can add your own callback to the array (you need to get an index in the array with the "Get_Callback_ID()" function).
Syntax
int (*Fct_Draw_Geom[CALLBACK_NB_GEOM])(
SliceO_Class *pt,
UInt64 flag,
SliceO_Window *window,
int step,
int nb_step
)
Parameters
pt
Pointer to the class calling the function.
flag
Value of the Redraw_Flag.
window
Pointer to the window where the class is drawn.
step
Current redraw step.
nb_step
Total number of steps needed to draw.
Return value
This function return "1" or "2" if successful. If a return value of "2" is used, then the default "Base" drawing (at index=0) will not be used for this class.
Remarks
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
See also