00. 目录

文章目录

  • 00. 目录
  • 01. 概述
  • 02. 签名
  • 03. 描述
  • 04. 注意
  • 05. 参数
  • 06. 结果
  • 07. 附录

01. 概述

dev_set_tool_geometry - 设置指定tool的位置和大小。

02. 签名

dev_set_tool_geometry( : : ToolId, Row, Column, Width, Height : )

03. 描述

dev_set_tool_geometry使用ToolId的id来设置tool的位置和尺寸。

传递ToolId还有种替代方案,可以传递在算子dev_open_tool中使用的名称。 在这种情况下,任意的符合条件的参数ToolId都会使用到。

参数Row和Column可以用来修改tool的位置。 为了不改变该位置,可以传递’default’。

参数Width和Height可以用来修改tool的大小。 为了不改变大小,可以传递’default’。 如果Width和Height小于tool的最小尺寸,则使用最小尺寸。

温馨提示:

如果在此算子中直接传递tool名称,只会作用到最新的打开的tool。

原文描述

dev_set_tool_geometry sets the position and dimension of the tool with the id ToolId.

Instead of using the ToolId, given during opening the tool, you can use the name that has to be used in dev_open_tool. In that case a arbitrary tool, which fits the parameter ToolId, is used.

The parameters Row and Column can be used to modify the position of the tool. In order to unmodify the position ‘default’ can be passed.

The parameters Width and Height can be used to modify the size of the tools. In order to unmodify the size ‘default’ can be passed. If Width and Height are less than the minimum size of the tool the minimum size is used.

04. 注意

此算子不支持代码导出

05. 参数

ToolId (input_control)   dev_tool → (string)
  Tool identifier.

Row (input_control)    rectangle.origin.y → (integer / string)
  Row index of upper left corner.
  Default value: ‘default’
  Minimum increment: 1
  Recommended increment: 1

Column (input_control)   rectangle.origin.x → (integer / string)
  Column index of upper left corner.
  Default value: ‘default’
  Minimum increment: 1
  Recommended increment: 1

Width (input_control)   rectangle.extent.x → (integer / string)
  Width of the tool.
  Default value: ‘default’
  Minimum increment: 1
  Recommended increment: 1
  Restriction: Width > 0

Height (input_control)    rectangle.extent.y → (integer)
  Height of the tool.
  Default value: ‘default’
  Minimum increment: 1
  Recommended increment: 1
  Restriction: Height > 0

HDevelop例程

dev_open_tool.hdev Open and adjust tools in HDevelop

程序示例

dev_open_tool ('zoom_window', 0, 0, Width, 'default', ToolId)
dev_close_tool (ToolId)

06. 结果

如果指定参数的值正确,则dev_open_tool返回2(H_MSG_TRUE)。 否则会引发异常并返回错误代码。

07. 附录

7.1 机器视觉博客汇总
网址:https://dengjin.blog.csdn.net/article/details/116837497

【机器视觉】 dev_set_tool_geometry算子相关推荐

  1. 机器视觉 边缘检测算子

    1.实验目的 利用opencv python实现对下图实现边缘检测算子. 2.实验过程 (1)在python安装opencv库, pip install opencv-python. (2)在pyth ...

  2. 【机器视觉】机器视觉博客汇总

    00. 目录 文章目录 00. 目录 01. 机器视觉概述 02. 机器视觉环境搭建 03. Halcon初级教程 04. Halcon中级教程 05. Halcon高级教程 06. Halcon与Q ...

  3. 拉普拉斯噪声公式_高斯拉普拉斯算子(Laplace of Gaussian)

    高斯拉普拉斯(Laplace of Gaussian) Laplace算子作为一种优秀的边缘检测算子,在边缘检测中得到了广泛的应用.该方法通过对图像 求图像的二阶倒数的零交叉点来实现边缘的检测,公式表 ...

  4. 【机器视觉】 dev_open_tool算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 dev_open_tool - 打开HDevelo ...

  5. python 视觉技术_python+opencv实现机器视觉基础技术(边缘提取,图像滤波,边缘检测算子,投影,车牌字符分割)...

    机器视觉是人工智能正在快速发展的一个分支.简单说来,机器视觉就是用机器代替人眼来做测量和判断.它是一项综合技术,包括图像处理.机械工程技术.控制.电光源照明.光学成像.传感器.模拟与数字视频技术.计算 ...

  6. 【机器视觉】 write_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 write_measure - 将measure对 ...

  7. 【机器视觉】 translate_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 translate_measure - 转换一个m ...

  8. 【机器视觉】 set_fuzzy_measure_norm_pair算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 set_fuzzy_measure_norm_pa ...

  9. 【机器视觉】 set_fuzzy_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 set_fuzzy_measure - 指定一个模 ...

最新文章

  1. 面试小结之Elasticsearch篇
  2. POJ 1305 Fermat vs. Pythagoras【勾股数】
  3. dict取值_Python基础数据类型「list、tuple、dict」
  4. 给谷歌浏览器安装vue调试工具:vue-devtools
  5. 在字符串String类型常忘记使用equals()进行值比较的问题
  6. Array with Odd Sum(CF-1296A)
  7. 男性最脆弱的五大器官
  8. macos模拟器_苹果芯补完计划,iOS终将回归mac OS?
  9. JAVA中BigDecimal的字符化输出
  10. 一个分页效果ruby版可作为面试题吧
  11. VB 二进制数据读写实例
  12. python散点图拟合曲线如何求拟合_python 拟合曲线并求参
  13. matlab竞赛论文模板,美赛数学建模比赛论文模板.doc
  14. 直升机的扭力与反扭力
  15. 实现 ASP.NET Core WebApi 的版本化
  16. 数据分析之利用EXCEL做数据分析
  17. SAP ABAP 系列丛书推荐:PP 报工
  18. 至联云讲解《IPFS/Filecoin上线后会涨的八大理由》
  19. 成 功 的 背 后 !( 致给所有IT人员)
  20. RK3399平台开发系列讲解(硬件波形解析篇)10.1、USB2.0相关硬件波形(实图)解析

热门文章

  1. 简单拨号器(Android)
  2. android软件开发基础课程(一)
  3. 小车自动往返工作原理_自动气象站的工作原理介绍
  4. c# 备份oracle waitforexit()方法死锁,ProcessStartInfo挂在“WaitForExit”上?为什么?
  5. mysql游标遍历修改_mysql使用游标遍历数据进行批量针对性更新数据,急求mysql大神解答...
  6. mysql自动添加多条数据_用一条mysql语句插入多条数据
  7. DevExpress WPF v18.2新版亮点(四)
  8. DATETIME与TIMESTAMP
  9. linux系统下开机启动流程
  10. DatagramSocket总是发送UDP数据后无法接收数据