ClassesClasses | | Operators

get_lutT_get_lutGetLutGetLut (Operator)

Name

get_lutT_get_lutGetLutGetLut — Get current look-up-table (lut).

Signature

get_lut( : : WindowHandle : LookUpTable)

Herror T_get_lut(const Htuple WindowHandle, Htuple* LookUpTable)

void GetLut(const HTuple& WindowHandle, HTuple* LookUpTable)

HTuple HWindow::GetLut() const

static void HOperatorSet.GetLut(HTuple windowHandle, out HTuple lookUpTable)

HTuple HWindow.GetLut()

Description

get_lutget_lutGetLutGetLutGetLut returns the name or the values of the look-up-table (lut) of the window, currently used by disp_imagedisp_imageDispImageDispImageDispImage (or indirectly by disp_regiondisp_regionDispRegionDispRegionDispRegion, etc.) for output. To set a look-up-table use set_lutset_lutSetLutSetLutSetLut. If the current table is a system table without any modification ( by set_fixset_fixSetFixSetFixSetFix ), 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.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Window handle.

LookUpTableLookUpTableLookUpTableLookUpTablelookUpTable (output_control)  string-array HTupleHTupleHtuple (string / integer) (string / int / long) (HString / Hlong) (char* / Hlong)

Name of look-up-table or tuple of RGB-values.

Result

get_lutget_lutGetLutGetLutGetLut returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

set_lutset_lutSetLutSetLutSetLut

See also

set_lutset_lutSetLutSetLutSetLut

Module

Foundation


ClassesClasses | | Operators