Herror ::get_lut (
    const HTuple &WindowHandle,
    HTuple *LookUpTable
)
HTuple HWindow::GetLut (
    
) const

Get current look-up-table (lut).

::get_lut returns the name or the values of the look-up-table (lut) of the window, currently used by ::disp_image (or indirectly by ::disp_region, etc.) for output. To set a look-up-table use ::set_lut. If the current table is a system table without any modification ( by ::set_fix ), the name of the table is returned. If it is a modified table, a table read from a file or a table for output with pseudo real colors, the RGB-values of the table are returned.


Parameters

WindowHandle (input_control)
window -> HTuple.long
Window identifier.

LookUpTable (output_control)
string-array -> HTuple.char * / long *
Name of look-up-table or tuple of RGB-values.


Result

::get_lut returns H_MSG_TRUE if the window is valid. Otherwise an exception handling is raised.


Possible Successors

::draw_lut, ::set_lut


Alternatives

::set_fix, ::get_pixel


See also

::set_lut, ::draw_lut


Module

System



Copyright © 1996-2002 MVTec Software GmbH