create_drawing_object_xld(Operator) Name create_drawing_object_xld— Create a XLD contour which can be modified interactively. Signature Description Execution Information Multithreading type: reentrant (runs in parallel with non-exclusive operators). ...
create_drawing_object_xld— Create a XLD contour which can be modified interactively.Signaturecreate_drawing_object_xld( : : Row, Column : DrawID) Descriptioncreate_drawing_object_xld creates an XLD contour which can be modified interactively in a HALCON window by the user. The contour is ...
*set_drawing_object_xld(ContCircle,DrawID1) *create_drawing_object_text(12,12, 'Text', DrawID2) *create_drawing_object_line(100,100, 200, 200, DrawID3) *create_drawing_object_circle_sector(100,100, 80, 0, 3.14159, DrawID3) *create_drawing_object_ellipse(200,200, 0, 100, 60, Dra...
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 detach_drawing_object_from_window get_drawing_object_iconic se...
//绘图对象 privateHDrawingObjectdrawingObject=newHDrawingObject(); //线ROI privateLineline=newLine(); //框ROI privateRectangle2rectangle2=newRectangle2(); privatevoidbutton_DrawLine_Click(objectsender,EventArgse) { drawingObject.CreateDrawingObjectLine(100,100,200,200); //将绘图对象关联到Halcon窗...
AttachDrawingObjectToWindow(rect); } /// <summary> /// 画椭圆形 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Btn_LoadEpImage_Click(object sender, RoutedEventArgs e) { var ellpse = HDrawingObject.CreateDrawingObject(HDrawingObject....
private void button_DrawRect_Click(object sender, EventArgs e) { drawingObject.CreateDrawingObjectRectangle2(300, 400, 0, 300, 200); //将绘图对象关联到Halcon窗口 hwindow.AttachDrawingObjectToWindow(drawingObject); } private void button_SaveRect_Click(object sender, EventArgs e) ...
();//清除绘图内容drawingObject.ClearDrawingObject();}privatevoidbutton_DrawRect_Click(objectsender, EventArgs e){drawingObject.CreateDrawingObjectRectangle2(300,400,0,300,200);//将绘图对象关联到Halcon窗口hwindow.AttachDrawingObjectToWindow(drawingObject);}privatevoidbutton_SaveRect_Click(objectsender, ...
由选单中 Operators>Graphics>Drawing 选择 draw_rectangle1 这个运算符,不要修改任何 参数,执行之,在程序窗口中就会新增一行,然后 HDevelop 就会等您把区域画上去,画的 方法和 zoom 的方法相同。画好之后变量窗口中会出现四个变量,Row1,Column1,Row2, Column2,请看下图,接着要产生 ROI 做为 HALCON 的 object...
set_drawing_object_params 异常报错 摘要:设置Row和Column的时候,注意Row1不能大于Row2,Column1不能大于Column2。 如果设置Row1会大于Row2,就先设置Row2 如果设置Row2小于Row1,就先设置Row1 同理Column设置 阅读全文 posted @ 2024-11-24 18:29 QuincyYi 阅读(19) 评论(0) 推荐(0) 编辑 C++ halcon...