disp_crossT_disp_crossDispCrossDispCrossdisp_cross (算子名称)
名称
disp_crossT_disp_crossDispCrossDispCrossdisp_cross
— Displays crosses in a window.
参数签名
void DispCross(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Size, const HTuple& Angle)
void HWindow::DispCross(const HTuple& Row, const HTuple& Column, double Size, double Angle) const
void HWindow::DispCross(double Row, double Column, double Size, double Angle) const
static void HOperatorSet.DispCross(HTuple windowHandle, HTuple row, HTuple column, HTuple size, HTuple angle)
void HWindow.DispCross(HTuple row, HTuple column, double size, double angle)
void HWindow.DispCross(double row, double column, double size, double angle)
描述
disp_crossdisp_crossDispCrossDispCrossDispCrossdisp_cross
displays one or several crosses in the output
window. A cross is described by the coordinates of the center point
(RowRowRowRowrowrow
,ColumnColumnColumnColumncolumncolumn
), the length of its bars SizeSizeSizeSizesizesize
and the
orientation AngleAngleAngleAngleangleangle
.
The operators used to control the display of regions
(e.g., set_colorset_colorSetColorSetColorSetColorset_color
, set_grayset_graySetGraySetGraySetGrayset_gray
, set_drawset_drawSetDrawSetDrawSetDrawset_draw
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width
) can also be used with crosses. Several crosses can
be displayed with one call by using tuple parameters. For the use of colors
with several crosses, see set_colorset_colorSetColorSetColorSetColorset_color
.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
RowRowRowRowrowrow
(input_control) coordinates.y(-array) →
HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Row coordinate of the center.
Default:
32.0
Suggested values:
0.0, 64.0, 128.0, 256.0, 511.0
ColumnColumnColumnColumncolumncolumn
(input_control) coordinates.x(-array) →
HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Column coordinate of the center.
Default:
32.0
Suggested values:
0.0, 64.0, 128.0, 256.0, 511.0
SizeSizeSizeSizesizesize
(input_control) number →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Length of the bars.
Default:
6.0
Suggested values:
4.0, 6.0, 8.0, 10.0
Value range:
0.0
≤
Size
Size
Size
Size
size
size
AngleAngleAngleAngleangleangle
(input_control) angle.rad →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Orientation.
Default:
0.0
Suggested values:
0.0, 0.78539816339744830961566084581988
结果
disp_crossdisp_crossDispCrossDispCrossDispCrossdisp_cross
returns 2 (
H_MSG_TRUE)
.
可能的前置算子
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
,
set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb
,
set_lutset_lutSetLutSetLutSetLutset_lut
,
set_hsiset_hsiSetHsiSetHsiSetHsiset_hsi
,
set_drawset_drawSetDrawSetDrawSetDrawset_draw
,
set_colorset_colorSetColorSetColorSetColorset_color
,
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width
可替代算子
disp_arrowdisp_arrowDispArrowDispArrowDispArrowdisp_arrow
,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1disp_rectangle1
,
disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2disp_rectangle2
,
disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle
参考其它
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
,
set_colorset_colorSetColorSetColorSetColorset_color
,
set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb
,
set_hsiset_hsiSetHsiSetHsiSetHsiset_hsi
,
set_insertset_insertSetInsertSetInsertSetInsertset_insert
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width
模块
Foundation