Tool_Brush::Motion
Tool_Tag::Motion
Tool_Histo::Motion
Tool_Propagate::Motion
Tool_DB_Class::Motion
Tool_DB_File::Motion
This method is used to update the tool to reflect a mouse motion.
Syntax
int Motion(
int mouse_code
) ;
Parameters
mouse_code
You must provide an integer that gives the value of the mouse buttons. For the "Ctrl_Click" and "Ctrl_Motion" DLL functions, this is the variable "up_down".
Return value
This method returns 1 if the mouse motion information was used by the tool.
Remarks
The method is usually called from within your Ctrl_Motion() function. The parameter "up_down" is the one received as argument by the function.
Requirements
Header:
TomoVision_Util.hpp
TomoVision_Tools.hpp
Tool_work.hpp
Library:
TomoVision_Util.lib
TomoVision_Tools.lib
SliceO_Tools.lib
Example
See also