Geom Callback

 

When sliceOmatic draw the database of 3D geometries, it provide you with the opportunity to add your own callback to the sliceO_Geom class.

 

 

Callbacks to modify the displayed image:

 

Fct_Draw_Geom[ ]

 

This function is are used to draw the default polygonal geometry.

 

From: sliceO_class_2D.hpp

 

// ----------------------------------------------------------------------------

//

//          SliceO_Geom: 3D polygon geometry

//

// ----------------------------------------------------------------------------

class          SLICEO_DB SliceO_Geom  {

 

          ...

 

          // --- Drawing callbacks ---

          // --- default value is at "0", but first we try all the other ones. if

          // --- a callback is present and it return=2, we do not call default.

          int          (*Fct_Draw_Geom[CALLBACK_NB_GEOM])( SliceO_Geom *pt, UInt64 flag, SliceO_Window *window, int step, int nb_step ) ;

 

} ;