资源简介
VC调用halcon显示图片,并可缩放,拖动。类似于画图工具的显示功能

代码片段和文件信息
// DisplayImage.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “DisplayImage.h“
#include “DisplayImageDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDisplayImageApp
BEGIN_MESSAGE_MAP(CDisplayImageApp CWinApp)
//{{AFX_MSG_MAP(CDisplayImageApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDisplayImageApp construction
CDisplayImageApp::CDisplayImageApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CDisplayImageApp object
CDisplayImageApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CDisplayImageApp initialization
BOOL CDisplayImageApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CDisplayImageDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 36188 2012-12-27 14:08 显示图片带缩放\DisplayImage.aps
I.A.... 1405 2012-12-27 14:17 显示图片带缩放\DisplayImage.clw
I.A.... 2147 2012-12-27 12:04 显示图片带缩放\DisplayImage.cpp
I.A.... 7191 2012-12-27 14:17 显示图片带缩放\DisplayImage.dsp
I.A.... 549 2012-12-27 12:04 显示图片带缩放\DISPLAYIMAGE.DSW
I.A.... 1390 2012-12-27 12:04 显示图片带缩放\DisplayImage.h
I.A.... 115712 2012-12-27 14:17 显示图片带缩放\DISPLAYIMAGE.ncb
I.A.... 51712 2012-12-27 14:17 显示图片带缩放\DISPLAYIMAGE.OPT
I.A.... 1919 2012-12-27 14:17 显示图片带缩放\DisplayImage.plg
I.A.... 5606 2012-12-27 14:08 显示图片带缩放\DisplayImage.rc
I.A.... 10025 2012-12-27 14:17 显示图片带缩放\DisplayImageDlg.cpp
I.A.... 1847 2012-12-27 14:15 显示图片带缩放\DisplayImageDlg.h
I.A.... 5367 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HalconCpp.h
I.A.... 2656 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HBarCode.h
I.A.... 5671 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HBarCode1D.h
I.A.... 2844 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HBarCode2D.h
I.A.... 4066 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HBgEsti.h
I.A.... 2228 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HBitRegion.h
I.A.... 2758 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HByteImage.h
I.A.... 3429 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HByteRegion.h
I.A.... 3297 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HClassBox.h
I.A.... 5456 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HClassGMM.h
I.A.... 5150 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HClassMLP.h
I.A.... 5369 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HClassSVM.h
I.A.... 1641 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HComplexImage.h
I.A.... 10973 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HComponentModel.h
I.A.... 7558 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HComponentTraining.h
I.A.... 4762 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HConvol.h
I.A.... 293666 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HCPPGlobal.h
I.A.... 12152 2012-06-05 11:30 显示图片带缩放\Halcon\cpp\HCPPUtil.h
............此处省略110个文件信息
相关资源
- flash as3 多点触控-缩放-旋转-滑动.zi
- Windows异步套接字网络编程
- VC 获得文件属性 获取文件的创建时
- 基于MVC模式的会员管理系统
- silicon lab公司的收音IC SI47XX全套开发工
- 读者写者问题(读者优先,写者优先
- MFC程序-碰撞的小球
- vc 柱形图 CBarChart
- 用vc 写的导线测量,针对刚学测绘的
- 用VC 编写的仿QQ聊天室程序源代码
- 栅栏填充算法源码(VC)
- jcrop v0.9.12
- 简单的房屋租赁系统
- .net网站服装销售系统(MVC)
-
ob
jectARX给Auto CAD加工具条 - blowfish的vc2008工程.rar
- 画图程序MFC/VC/VC CRectTracker 串行化
- capon波束形成算法-VC实现
- 读取串口数据并画实时曲线的VC 程序
- VC 游戏编程—附源代码
- IpHlpApi.h&IpHlpApi.lib
- vc 6.0开发的流程图编辑器
- VC 天空盒(skyBox)实现(附源代码)
- halcon 测量助手
- c MFC 画多边形
- keil vcom windows 7 64bit 驱动
- vc URL编解码类
- vc编写中国象棋详细源码注释并附有视
- VC 围棋源代码
- 用VC 编写的基于SNMP的路由器拓扑程序
评论
共有 条评论