disp_crossT_disp_crossDispCrossDispCrossdisp_cross (Operator)
Name
disp_crossT_disp_crossDispCrossDispCrossdisp_cross
— Displays crosses in a window.
Signature
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)
Description
disp_crossdisp_crossDispCrossDispCrossdisp_cross
displays one or several crosses in the output
window. A cross is described by the coordinates of the center point
(RowRowRowrowrow
,ColumnColumnColumncolumncolumn
), the length of its bars SizeSizeSizesizesize
and the
orientation AngleAngleAngleangleangle
.
The operators used to control the display of regions
(e.g., set_colorset_colorSetColorSetColorset_color
, set_grayset_graySetGraySetGrayset_gray
, set_drawset_drawSetDrawSetDrawset_draw
,
set_line_widthset_line_widthSetLineWidthSetLineWidthset_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_colorSetColorSetColorset_color
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
RowRowRowrowrow
(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
ColumnColumnColumncolumncolumn
(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
SizeSizeSizesizesize
(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
AngleAngleAngleangleangle
(input_control) angle.rad →
HTuplefloatHTupleHtuple (real) (double) (double) (double)
Orientation.
Default:
0.0
Suggested values:
0.0, 0.78539816339744830961566084581988
Result
disp_crossdisp_crossDispCrossDispCrossdisp_cross
returns 2 (
H_MSG_TRUE)
.
Possible Predecessors
open_windowopen_windowOpenWindowOpenWindowopen_window
,
set_rgbset_rgbSetRgbSetRgbset_rgb
,
set_lutset_lutSetLutSetLutset_lut
,
set_hsiset_hsiSetHsiSetHsiset_hsi
,
set_drawset_drawSetDrawSetDrawset_draw
,
set_colorset_colorSetColorSetColorset_color
,
set_coloredset_coloredSetColoredSetColoredset_colored
,
set_line_widthset_line_widthSetLineWidthSetLineWidthset_line_width
Alternatives
disp_arrowdisp_arrowDispArrowDispArrowdisp_arrow
,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1disp_rectangle1
,
disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2disp_rectangle2
,
disp_circledisp_circleDispCircleDispCircledisp_circle
See also
open_windowopen_windowOpenWindowOpenWindowopen_window
,
set_colorset_colorSetColorSetColorset_color
,
set_rgbset_rgbSetRgbSetRgbset_rgb
,
set_hsiset_hsiSetHsiSetHsiset_hsi
,
set_insertset_insertSetInsertSetInsertset_insert
,
set_line_widthset_line_widthSetLineWidthSetLineWidthset_line_width
Module
Foundation