Associate a "propagate" function to the tool.
Syntax
int Set(
unsigned short nb,
...
) ;
Parameters
nb, ...
This method use a variable number of arguments. It must have nb*3 + 1 arguments, where nb is the number of histogram "ranges" we want to display. The maximum value for nb is 32. Each "range" need 3 arguments:
tag
This argument is an unsigned short. It give the TAG value associated with the "range"
start
This argument is a 64 bit floating point (double) value. It give the starting GLI value of the range.
stop
This argument is a 64 bit floating point (double) value. It give the stoping GLI value of the range.
Return value
The method returns 0 if an error occurs, 1 otherwise.
Remarks
This method is usually called in Ctrl_Update().
Requirements
Header:
TomoVision_Util.hpp
TomoVision_Tools.hpp
Tool_work.hpp
Library:
TomoVision_Util.lib
TomoVision_Tools.lib
SliceO_Tools.lib
Example
In tthreshold_ctrl.cpp.
See also