query_paintT_query_paintQueryPaintQueryPaintquery_paint (算子)
名称
query_paintT_query_paintQueryPaintQueryPaintquery_paint — 查询灰度值显示模式。
签名
描述
query_paintquery_paintQueryPaintQueryPaintQueryPaintquery_paint returns the names of all gray value display
modes (e.g., 'gray', '3d_plot', etc.) for the
output window. These modes are used by
set_paintset_paintSetPaintSetPaintSetPaintset_paint。query_paintquery_paintQueryPaintQueryPaintQueryPaintquery_paint only returns the
names of the display values, not the additional parameters that may
be necessary for some modes.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
ModeModeModeModemodemode (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Gray value display mode names.
结果
query_paintquery_paintQueryPaintQueryPaintQueryPaintquery_paint returns 2 (
H_MSG_TRUE)
if the window is valid.否则将抛出异常。
可能的后继
get_paintget_paintGetPaintGetPaintGetPaintget_paint,
set_paintset_paintSetPaintSetPaintSetPaintset_paint,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
另见
set_paintset_paintSetPaintSetPaintSetPaintset_paint,
get_paintget_paintGetPaintGetPaintGetPaintget_paint,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
模块
基础