当前位置: 首页 > wzjs >正文

做网站都是怎么收费app电商网站

做网站都是怎么收费,app电商网站,在国际网站做外贸需要条件,extjs做的网站效果图 重点工具使用流程 CogFindLineTool工具 步骤一:使用找线工具将传感器左边特征给寻找出来; 步骤二:使用找线工具将传感器右边特征给寻找出来; 步骤三:使用找线工具将传感器上边特征给寻找出来; 步骤…

效果图

 

 

 

 

重点工具使用流程

CogFindLineTool工具

步骤一:使用找线工具将传感器左边特征给寻找出来;

 步骤二:使用找线工具将传感器右边特征给寻找出来;

 步骤三:使用找线工具将传感器上边特征给寻找出来;

 步骤四:使用找线工具将传感器下边特征给寻找出来;

CogIntersectLineLineTool工具

步骤一:将左边直线和上直线进行交叉处理;

 步骤二:将右边直线和上直线进行交叉处理;

 步骤三:将左边直线和下直线进行交叉处理;

步骤四:将右边直线和下直线进行交叉处理; 

CogCreateSegmentTool工具

步骤一:将右边直线和上直线进行交叉与左边直线和下直线进行交叉,实现右倾斜进行测量···

 步骤二:将右边直线和上直线进行交叉和右边直线和下直线进行交叉,实现右倾斜进行测量···

CogIntersectSegmentSegmentTool工具

将CogCreateSegmentTool工具1和CogCreateSegmentTool工具2计算两条线段(Segment)的交点坐标,然后计算出传感器所需要的宽高。

传感器脚本

#region namespace imports
using System;
using System.Collections;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Cognex.VisionPro;
using Cognex.VisionPro.ToolBlock;
using Cognex.VisionPro3D;
using Cognex.VisionPro.ImageProcessing;
using Cognex.VisionPro.PMAlign;
using Cognex.VisionPro.CalibFix;
using Cognex.VisionPro.Caliper;
using Cognex.VisionPro.Dimensioning;
#endregionpublic class CogToolBlockAdvancedScript : CogToolBlockAdvancedScriptBase
{#region Private Member Variablesprivate Cognex.VisionPro.ToolBlock.CogToolBlock mToolBlock;private CogDistanceSegmentLineTool width;private CogDistanceSegmentLineTool length;private CogGraphicLabel widthLabel;private CogGraphicLabel lengthLabel;#endregion/// <summary>/// Called when the parent tool is run./// Add code here to customize or replace the normal run behavior./// </summary>/// <param name="message">Sets the Message in the tool's RunStatus.</param>/// <param name="result">Sets the Result in the tool's RunStatus</param>/// <returns>True if the tool should run normally,///          False if GroupRun customizes run behavior</returns>public override bool GroupRun(ref string message, ref CogToolResultConstants result){width = new CogDistanceSegmentLineTool();length = new CogDistanceSegmentLineTool();widthLabel = new CogGraphicLabel();lengthLabel = new CogGraphicLabel();// To let the execution stop in this script when a debugger is attached, uncomment the following lines.// #if DEBUG// if (System.Diagnostics.Debugger.IsAttached) System.Diagnostics.Debugger.Break();// #endif// Run each tool using the RunTool functionforeach(ICogTool tool in mToolBlock.Tools)mToolBlock.RunTool(tool, ref message, ref result);width = mToolBlock.Tools["CogDistanceSegmentLineTool_width"]as CogDistanceSegmentLineTool;length = mToolBlock.Tools["CogDistanceSegmentLineTool_length"]as CogDistanceSegmentLineTool;widthLabel.Color = CogColorConstants.Green;lengthLabel.Color = CogColorConstants.Green;widthLabel.SetXYText(200, 200, "width:" + width.Distance.ToString("0.00"));lengthLabel.SetXYText(200, 250, "length:" + length.Distance.ToString("0.00"));return false;}#region When the Current Run Record is Created/// <summary>/// Called when the current record may have changed and is being reconstructed/// </summary>/// <param name="currentRecord">/// The new currentRecord is available to be initialized or customized.</param>public override void ModifyCurrentRunRecord(Cognex.VisionPro.ICogRecord currentRecord){}#endregion#region When the Last Run Record is Created/// <summary>/// Called when the last run record may have changed and is being reconstructed/// </summary>/// <param name="lastRecord">/// The new last run record is available to be initialized or customized.</param>public override void ModifyLastRunRecord(Cognex.VisionPro.ICogRecord lastRecord){mToolBlock.AddGraphicToRunRecord(widthLabel, lastRecord, "CogImageConvertTool1.OutputImage", "script");mToolBlock.AddGraphicToRunRecord(lengthLabel, lastRecord, "CogImageConvertTool1.OutputImage", "script");}#endregion#region When the Script is Initialized/// <summary>/// Perform any initialization required by your script here/// </summary>/// <param name="host">The host tool</param>public override void Initialize(Cognex.VisionPro.ToolGroup.CogToolGroup host){// DO NOT REMOVE - Call the base class implementation first - DO NOT REMOVEbase.Initialize(host);// Store a local copy of the script hostthis.mToolBlock = ((Cognex.VisionPro.ToolBlock.CogToolBlock)(host));}#endregion}

http://www.dtcms.com/wzjs/598912.html

相关文章:

  • 网站导航仿站百度首页清爽版
  • 医药电子商务网站建设做网站怎么做的
  • 大型网站建设需要做网站的公司属于什么行业
  • 怎么看网站有没有做地图网站基础建设英文翻译
  • 网站空间站移动端减肥网站模板
  • 网站icp备案 技术负责人北京西站列车时刻表最新
  • 深圳网站备案拍照点重庆互联网公司排名
  • 门户网站集约化建设苏州电子商务网站设计
  • 枞阳县住房和城乡建设局网站北京大兴黄村网站建设
  • seo优化网站快速排名济南网站优化推广公司
  • 网站建设worldpressvs做网站添加背景
  • 推荐网站建设服务网站站seo教程
  • 语言网站建设绿色主色调的网站
  • 东莞企业网站公司杭州网站推广排名
  • 深圳市路桥建设集团有限公司招标采购网站如何做网络营销能成功呢
  • 国内界面优秀的网站阿里云服务器可以做几个网站
  • 网站的推广平台有哪些网站域名列表
  • 企业官方网站怎么查wordpress 文章延时加载
  • 安全教育网站建设背景网站开发流程有几个阶段
  • 安康网站建设公司报价网站建设补救方法
  • 美术馆网站的建设流程网站页面的宽度
  • 手机网址导航主页哪个好东莞网站关键词优化哪家好
  • 做自动发卡密网站的教程网站图片展示方式
  • 目前做网站最好的语言是商务网站策划方案
  • 蒲公英路由做网站在线ps网页版
  • 东营网站建设规划书百度网盟推广 网站
  • 官方网站aspcms成都学校网站建设
  • 免费的工程网站成都必去的十大景点
  • 网站模板自建站邯郸信息港聊天室
  • 考试源码网站wordpress建设银行官方个人网站