Frame Contours

 

In some of the 3D modes (Shell and Contour) we display a "contour" line that surround the TAG values on the frames.  This contour is computed with the Fct_Contour_Compute and Fct_Contour_Update functions of the sliceO_5's library.  To help these functions, the SliceO_Frame class has a number of variables and methods. 

 

You should not have any direct need for these.

 

Private:

m_contour_mutex (HANDLE)

Private variable used by the Contour_Mutex_Open and Contour_Mutex_Close methods.

Public:

Contour_Mutex_Open

Methods used by the Fct_Contour... functions to insure mutual exclusion since these operations can be used by multiple threads.

 

Contour_Mutex_Close

Contour_Invalid[ ] (unsigned char)

Vector of flags (one per TAG values) to signal that a specific TAG contour is no longer valid and should be re-computed. This flag is set by the "Fct_Pixel_Set_TAG" callback of the frames and used and reset by the .