get_drawing_object_params can be used to query the parameters that describe the drawing object DrawID. One may specify one or several parameters which will be retrieved in the output tuple GenParamValue, in the same order as specified in the input tuple GenParamName. ...
get_drawing_object_paramscan be used to query the parameters that describe the drawing objectDrawID. One may specifiy one or several parameters which will be retrieved in the output tupleGenParamValue, in the same order as specified in the input tupleGenParamName. ...
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 set_drawing_object_params get_drawing_object_params set_drawing_obj...
148. clear_drawing_object( : : DrawID : ) 删除绘制对象 149. get_drawing_object_params( : : DrawID, ParamNames : ParamValues) 获取绘制对象指定的参数 150. set_drawing_object_params( : : DrawID, ParamNames, ParamValues : ) 设置绘制对象指定的参数 151. get_window_background_image( : Bac...
QAction *pEven = qobject_cast<QAction *>(this->sender()); //this->sender()就是发信号者 QAction int iType = pEven->data().toInt(); HTuple position; GetDrawingObjectParams(selected_drawing_object,(HTuple("row1").Append("column1")),&position); ...
RoiRec.OnDrag(HDrawingObjectCallbackClass f); RoiRec.OnResize(HDrawingObjectCallbackClass f); 回调函数用来确定新的ROI位置和大小,也就是更新现在的ROI状态 var valueTuple = drawid.GetDrawingObjectParams(nameTuple); roi.DrawingObjectDatas = valueArray;...
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 can be modified there: attach_drawing_object_to_window When you no longer need the drawing object, you have to detach it from the HALCON window...
set_drawing_object_params()23版 应该可以 我现在用的20版没有marker_size这个key 'marker_size':S...
11 get_object_model_3d_params() 返回一个3D目标模型的参数。 12 get_shape_model_3d_contours() 返回一个3D轮廓模型视图的轮廓表示。 13 get_shape_model_3d_params() 返回一个3D轮廓模型的参数。 14 project_object_model_3d() 把一个3D目标模型的边缘投影到图像坐标中。 15 project_shape_model_3d()...
;param=drawingObject.GetDrawingObjectParams(paramName);//保存参数rectangle2.SetValue(param.ToDArr());paramName.Dispose();param.Dispose();//清除绘图内容drawingObject.ClearDrawingObject();} 上面的paramName可以取以下值,里面包含了Line、Rectangle2类属性名:...