Name
create_drawing_object_ellipse_sectorT_create_drawing_object_ellipse_sectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSector — Create an elliptic sector which can be modified interactively.
void CreateDrawingObjectEllipseSector(const HTuple& Row, const HTuple& Column, const HTuple& Phi, const HTuple& Radius1, const HTuple& Radius2, const HTuple& StartAngle, const HTuple& EndAngle, HTuple* DrawID)
void HDrawingObject::CreateDrawingObjectEllipseSector(double Row, double Column, double Phi, double Radius1, double Radius2, double StartAngle, double EndAngle)
static void HOperatorSet.CreateDrawingObjectEllipseSector(HTuple row, HTuple column, HTuple phi, HTuple radius1, HTuple radius2, HTuple startAngle, HTuple endAngle, out HTuple drawID)
void HDrawingObject.CreateDrawingObjectEllipseSector(double row, double column, double phi, double radius1, double radius2, double startAngle, double endAngle)
create_drawing_object_ellipse_sectorcreate_drawing_object_ellipse_sectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSector creates an ellipse sector which can be
modified interactively in a HALCON window by the user. The ellipse sector
is defined by the coordinates RowRowRowRowrow and ColumnColumnColumnColumncolumn of its center,
the lengths of its respective half axis, Radius1Radius1Radius1Radius1radius1 and
Radius2Radius2Radius2Radius2radius2, the start and end angles of the arc, StartAngleStartAngleStartAngleStartAnglestartAngle
and EndAngleEndAngleEndAngleEndAngleendAngle, and its orientation PhiPhiPhiPhiphi.
These parameters can be queried any time with get_drawing_object_paramsget_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsGetDrawingObjectParams,
as well as its corresponding HALCON object with get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicGetDrawingObjectIconic.
In addition to those parameters, every drawing object has a number of
parameters which determine the appearance of the object in the HALCON window.
See set_drawing_object_paramsset_drawing_object_paramsSetDrawingObjectParamsSetDrawingObjectParamsSetDrawingObjectParams for details on the number and meaning
of those parameters.
In order to enable the interactive modification with the drawing object, the
object must be attached to an existing window. See
attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindow for further details.
Once attached, the ellipse sector is editable by the user through interaction
with the window.
There are four possible transformations for an ellipse sector
object: resizing, displacement, rotation, and changing the arc angle.
The ellipse sector can be moved in the HALCON window by dragging the center.
The orientation and thus the rotation of the ellipse sector can also be modified by
dragging on a vertex handle of the first half axis. The size and angles
of the ellipse sector can be modified by dragging close to the vertex handles.
In contrast to the operator draw_ellipsedraw_ellipseDrawEllipseDrawEllipseDrawEllipse, this interaction does not
block the calling thread.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Row index of the center.
Default value: 200
Column index of the center.
Default value: 200
Orientation of the first half axis in radians.
Default value: 0
First half axis.
Default value: 100
Second half axis.
Default value: 60
Start angle of the arc.
Default value: 0
End angle of the arc.
Default value: 3.14159
Handle of the drawing object.
If the parameter values are correct the operator
create_drawing_object_ellipse_sectorcreate_drawing_object_ellipse_sectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSectorCreateDrawingObjectEllipseSector returns the value 2 (H_MSG_TRUE).
Otherwise an exception is raised.
open_windowopen_windowOpenWindowOpenWindowOpenWindow
attach_drawing_object_to_windowattach_drawing_object_to_windowAttachDrawingObjectToWindowAttachDrawingObjectToWindowAttachDrawingObjectToWindow,
get_drawing_object_paramsget_drawing_object_paramsGetDrawingObjectParamsGetDrawingObjectParamsGetDrawingObjectParams,
get_drawing_object_iconicget_drawing_object_iconicGetDrawingObjectIconicGetDrawingObjectIconicGetDrawingObjectIconic
draw_ellipse_moddraw_ellipse_modDrawEllipseModDrawEllipseModDrawEllipseMod,
draw_ellipsedraw_ellipseDrawEllipseDrawEllipseDrawEllipse,
draw_regiondraw_regionDrawRegionDrawRegionDrawRegion,
create_drawing_object_ellipsecreate_drawing_object_ellipseCreateDrawingObjectEllipseCreateDrawingObjectEllipseCreateDrawingObjectEllipse
gen_ellipse_contour_xldgen_ellipse_contour_xldGenEllipseContourXldGenEllipseContourXldGenEllipseContourXld,
create_drawing_object_rectangle1create_drawing_object_rectangle1CreateDrawingObjectRectangle1CreateDrawingObjectRectangle1CreateDrawingObjectRectangle1,
create_drawing_object_rectangle2create_drawing_object_rectangle2CreateDrawingObjectRectangle2CreateDrawingObjectRectangle2CreateDrawingObjectRectangle2,
create_drawing_object_ellipsecreate_drawing_object_ellipseCreateDrawingObjectEllipseCreateDrawingObjectEllipseCreateDrawingObjectEllipse,
create_drawing_object_xldcreate_drawing_object_xldCreateDrawingObjectXldCreateDrawingObjectXldCreateDrawingObjectXld,
create_drawing_object_linecreate_drawing_object_lineCreateDrawingObjectLineCreateDrawingObjectLineCreateDrawingObjectLine,
create_drawing_object_circlecreate_drawing_object_circleCreateDrawingObjectCircleCreateDrawingObjectCircleCreateDrawingObjectCircle
Foundation