Plot_OpenGL_HighLight
Plot_Window_HighLight
Draw a vertical line on the 2D plot to to either an OpenGL or a GDI window.

Syntax
void Plot_OpenGL(
Boxs *box,
char dir,
float val,
float width,
float min, float max
) ;
void Plot_Window(
Boxs *box,
char dir,
float val,
float width,
float min, float max
) ;
Parameters
box
Pointer to the a box that will contain the plot.
dir
Direction of the yellow line.
'x' = vertical line positioned on the "x" axis
'y' = horizontal line positioned on the "y" axis
other = display a green box centred at val on both x and y axis
val
Position of the line.
width
Width of the green box surrounding the yellow line
min, max
The min (x and y) and max(x and y) parameters provided by the "Plot_OpenGL" or "Plot_Window" functions.
Return value
This function does not return a value.
Remarks
There are 2 variation for this function depending on whether you want to draw the plot to an OpenGL or a Windows GDI window.
Requirements
Header:
TomoVision_Util.hpp
plot.hpp
Library:
TomoVision_Util.lib
plot.lib
Example

See also