Fct_Draw_3D

 

The array of functions pointed to by Fct_Draw_3D[]()are used to draw elements of the 2D database in a 3D window

 

You can add your own callback to the array (you need to get an index in the array with the "Get_Callback_ID()" function).  As an example, the "2D slice" tool used this callback to draw the 2D frames in the 3D windows.

 

 

Syntax

 

int  (*Fct_Draw_3D[CALLBACK_NB_3D])(

          SliceO_Class *pt,

          UInt64 flag,

          SliceO_Window *window

)

 

 

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.

 

 

Return value

 

This function return "1" if successful.

 

 

Remarks

 

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

Library:

          sliceO_Structures.lib

 

 

Example

 

 

 

 

 

See also