SliceOmatic provide you with a number of callback hooks in the class "SliceO_Class". If you want, you can use these to have your own function called instead of the default callback functions.
Most of these callbacks hooks are pointers to a function. You just replace the pointer by a pointer to your own function. Some of the hooks are arrays of pointers. For these, you need to ask sliceOmatic to provide you with an index number to use in the array. This is done with the "Get_Callback_ID()" function.
The callbacks are explained in more details in "The Callback Fct" section.
Callbacks to get or change a pixel value:
Callbacks to get pixel metrics:
Callbacks to draw to a window: