create_drawing_object_rectangle1 creates a rectangle aligned along the coordinate axis which can be modified interactively in a HALCON window by the user. The rectangle is defined by the coordinates Row1, Column1, Row2, and Column2 of its upper left and lower right corner. The created ...
create_drawing_object_rectangle1 creates a rectangle aligned along the coordinate axis which can be modified interactively in a HALCON window by the user. The rectangle is defined by the coordinates Row1, Column1, Row2, and Column2 of its upper left and lower right corner. The created ...
*create_drawing_object_circle_sector(100,100, 80, 0, 3.14159, DrawID3) *create_drawing_object_ellipse(200,200, 0, 100, 60, DrawID3) *create_drawing_object_ellipse_sector(200,200, 0, 100, 60, 0, 3.14159, DrawID3) *create_drawing_object_rectangle1(100,100, 200, 200, DrawID3) *cre...
create_drawing_object_circle create_drawing_object_circle_sector create_drawing_object_ellipse create_drawing_object_ellipse_sector create_drawing_object_line create_drawing_object_rectangle1 create_drawing_object_rectangle2 create_drawing_object_text create_drawing_object_xld attach_drawing_object_to_window...
void Widget::on_btn_DrawRectangle_clicked() { HTuple Rect_ID; CreateDrawingObjectRectangle1(100,100,200,200,&Rect_ID); SetDrawingObjectParams(Rect_ID,"color","red"); qDebug()<<"Rect_ID"<<Rect_ID.D()<<endl; Drawing_Index.append(Rect_ID); ...
create_drawing_object_xxx To change the display style, e.g., color or line width, in which the drawing object is displayed, you could use: set_drawing_object_params Then you need to attach the drawing object to a specific HALCON window, so that the drawing object will be displayed and ...
drawingObject.CreateDrawingObjectRectangle2(300,400,0,300,200); //将绘图对象关联到Halcon窗口 hwindow.AttachDrawingObjectToWindow(drawingObject); } privatevoidbutton_SaveRect_Click(objectsender,EventArgse) { HTupleparamName,param; paramName=newHTuple(newstring[]{"row","column","phi","length1","...
11、create_drawing_object_rectangle2 创建可移动的角度测量矩形 Measure straight edges interactively within a rectangle using a drawing object 使用图形对象在矩形内交互测量直边 12、fuse 保险丝 Measure the thickness of a fuse wire 测量保险丝的厚度 ...
如题,draw_circle及draw_rectangle1等算子是阻塞线程的,只有手动点击鼠标右键才能退出,用mouse_event等模拟都不行,这样交互的时候用户忘记手动点击鼠标右键就结束不了绘制... 当然halcon17.12之后版本已经有类似 create_drawing_object_circle(100, 100, 80, DrawID) attach_drawing_object_to_window(200000, Draw...
11、create_drawing_object_rectangle2 创建可移动的角度测量矩形 Measure straight edges interactively within a rectangle using a drawing object 使用图形对象在矩形内交互测量直边 12、fuse 保险丝 Measure the thickness of a fuse wire 测量保险丝的厚度 ...