xxx::Draw

 

Tool_Brush::Draw

Tool_Tag::Draw

Tool_Histo::Draw

Tool_Propagate::Draw

Tool_DB_Class::Draw

Tool_DB_File::Draw

 

This method is used to draw the tool.

 

 

Syntax

 

void  Draw(

          void

) ;

 

 

Parameters

 

This method does not have a parameter.

 

 

Return value

 

This method does not return a value.

 

 

Remarks

 

The method is usually called from within your Ctrl_Draw() function.

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

          Tool_work.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

          SliceO_Tools.lib

 

 

Example

 

// --- Interface tools ---

static          Boxs          box_box ;

 

// --- for Brush Selection Tool ---

static          Boxs          box_brush ;

static          Tool_Brush          tool_brush ;

 

...

 

extern "C" __declspec(dllexport) int          Ctrl_Draw( HWND wnd )

{

          // --- if the window if off or invisible, we can get out ---

          if ( ! Flag_Ctrl_Wnd_On )

              return( 1 ) ;

          if ( ! Flag_Ctrl_Visible )

              return( 1 ) ;

 

          box_box.Draw() ;

 

          // --- Brush Selection Tool ---

          tool_brush.Draw() ;

 

          return( 1 ) ;

}

 

 

See also