disp_crossT_disp_crossDispCrossDispCross (Operator)
Name
disp_crossT_disp_crossDispCrossDispCross
— 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_crossDispCrossDispCrossDispCross
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_colorSetColorSetColorSetColor
, set_grayset_graySetGraySetGraySetGray
, set_drawset_drawSetDrawSetDrawSetDraw
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
) 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_colorSetColorSetColorSetColor
.
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
RowRowRowRowrow
(input_control) coordinates.y(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Row coordinate of the center.
Default value: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
ColumnColumnColumnColumncolumn
(input_control) coordinates.x(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Column coordinate of the center.
Default value: 32.0
Suggested values: 0.0, 64.0, 128.0, 256.0, 511.0
SizeSizeSizeSizesize
(input_control) number →
HTupleHTupleHtuple (real) (double) (double) (double)
Length of the bars.
Default value: 6.0
Suggested values: 4.0, 6.0, 8.0, 10.0
Typical range of values: 0.0
≤
Size
Size
Size
Size
size
AngleAngleAngleAngleangle
(input_control) angle.rad →
HTupleHTupleHtuple (real) (double) (double) (double)
Orientation.
Default value: 0.0
Suggested values: 0.0, 0.78539816339744830961566084581988
Result
disp_crossdisp_crossDispCrossDispCrossDispCross
returns 2 (H_MSG_TRUE).
Possible Predecessors
open_windowopen_windowOpenWindowOpenWindowOpenWindow
,
set_rgbset_rgbSetRgbSetRgbSetRgb
,
set_lutset_lutSetLutSetLutSetLut
,
set_hsiset_hsiSetHsiSetHsiSetHsi
,
set_drawset_drawSetDrawSetDrawSetDraw
,
set_colorset_colorSetColorSetColorSetColor
,
set_coloredset_coloredSetColoredSetColoredSetColored
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
Alternatives
disp_arrowdisp_arrowDispArrowDispArrowDispArrow
,
disp_rectangle1disp_rectangle1DispRectangle1DispRectangle1DispRectangle1
,
disp_rectangle2disp_rectangle2DispRectangle2DispRectangle2DispRectangle2
,
disp_circledisp_circleDispCircleDispCircleDispCircle
See also
open_windowopen_windowOpenWindowOpenWindowOpenWindow
,
set_colorset_colorSetColorSetColorSetColor
,
set_rgbset_rgbSetRgbSetRgbSetRgb
,
set_hsiset_hsiSetHsiSetHsiSetHsi
,
set_insertset_insertSetInsertSetInsertSetInsert
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
Module
Foundation