登录
首页 » 图形图像 » 这是用MFC编写的使用openGL的视口代码。 CChildView::CChildView() 构造函数 CChildView::~CChildVie...

这是用MFC编写的使用openGL的视口代码。 CChildView::CChildView() 构造函数 CChildView::~CChildVie...

于 2022-03-16 发布 文件大小:1.27 kB
0 183
下载积分: 2 下载次数: 1

代码说明:

这是用MFC编写的使用openGL的视口代码。 CChildView::CChildView() 构造函数 CChildView::~CChildView() 析构函数 BEGIN_MESSAGE_MAP(CChildView,CWnd ) 消息映射 BOOL CChildView::PreCreateWindow(CREATESTRUCT& cs)创建窗口重新设置窗口参数 BOOL CChildView::PreTranslateMessage( MSG* pMsg ) 翻译消息 int CChildView::OnCreate( LPCREATESTRUCT lpCreateStruct ) 窗口创建好后进入此函数 完成openGL的初始化 void CChildView::OnSize( UINT nType, int cx, int cy ) 当窗口大小发生改变时重新设置OPenGL的视口参数。 void CChildView::OnDestroy() 销毁窗口 -It is written in MFC to use openGL viewport code. CChildView:: CChildView () constructor CChildView:: ~ CChildView () destructor BEGIN_MESSAGE_MAP (CChildView, CWnd) message map BOOL CChildView:: PreCreateWindow (CREATESTRUCT & cs) to create a window to reset the window parameters BOOL CChildView:: PreTranslateMessage (MSG* pMsg ) translation of the message int CChildView:: OnCreate (LPCREATESTRUCT lpCreateStruct) window is created and entered this function to complete openGL initialization void CChildView:: OnSize (UINT nType, int

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CODE128条码
    CODE128条码
    2022-03-12 03:00:05下载
    积分:1
  • 基于颜色和纹理的检索,颜色矩和gabor小波变换
    基于颜色和纹理的图像检索,颜色矩和gabor小波变换-image retrieval based on color and texture
    2022-09-13 01:05:03下载
    积分:1
  • 3D三维立体变C语言开发程序
    3D三维立体变形C语言开发程序-3D three-dimensional deformation of C language development process
    2022-05-08 00:02:38下载
    积分:1
  • 浏览,支持放缩小、移动,request指定片文件.
    图像浏览,支持放缩小、移动,request指定图片文件.-Image View to support narrow release, mobile, request specified photo paper.
    2022-08-21 09:50:33下载
    积分:1
  • 读到关于TIFF片以程序
    一个关于TIFF图像读取的程序- Reads the procedure about the TIFF picture which takes
    2023-03-19 09:00:04下载
    积分:1
  • 根据控点 绘制Bezier曲线 可控制控点改变
    根据控点 绘制Bezier曲线 可控制控点改变形状-According to Bezier curve control points can control the mapping control points to change the shape of
    2022-03-06 10:58:44下载
    积分:1
  • realized DAA painting painting straight line method (1) dotted line method Circl...
    实现了 DAA画线法画直 (1) 中点画线法画圆(输入x坐标,y坐标,圆心) (必做) (2) 二维区域填充(四向种子填充颜色算法) (选作) (3) 直线裁减(任选一种) (必做) (4) 贝塞尔曲线(输入四个控制点,或者直接用鼠标点,要求坐标会随右键显示)(必做) -realized DAA painting painting straight line method (1) dotted line method Circle (input coordinates x, y coordinates Center) (regimen) (2) two-dimensional region filled (4-seed filling color algorithm) (for the elections) (3) linear reduction (Option A) (regimen) (4) Bessel curve (the importation of four control points, or directly with a click of the mouse, the request will coordinate with the right show) (regimen)
    2023-03-27 11:45:03下载
    积分:1
  • VisualC++数字处理配套光盘
    VisualC++数字图像处理配套光盘-VC digital image processing matching CD
    2022-03-18 11:21:01下载
    积分:1
  • 横机CAD软件,包含windows画板里的几乎所有功能
    横机CAD软件,包含windows画图板里的几乎所有功能-knitting machine CAD software, including windows drawing board Lane almost all the functions
    2022-10-31 02:30:03下载
    积分:1
  • 数字识别系统源代码
    使用说明                                   代码注释的很详尽第一步:训练网络。使用训练样本进行训练。(此程序中也可以不训练,因为笔者已经将训练好的网络参数保存起来了,读者使用时可以直接识别)第二步:识别。首先,打开图像(256色);再次,进行归一化处理,点击“一次性处理”;最后,点击“R”或者使用菜单找到相应项来进行识别。识别的结果显示在屏幕上,同时也输出到文件result.txt中。该系统的识别率一般情况下为90%。此外,也可以单独对打开的图片一步一步进行图像预处理工作,但要注意,每一步工作只能执行一遍,而且要按顺序执行。具体步骤为:“256色位图转为灰度图”-“灰度图二值化”-“去噪”-“倾斜校正”-“分割”-“标准化尺寸”-“紧缩重排”。注意,待识别的图片要与win.dat和whi.dat位于同一目录,这两文件保存训练后网络的权值参数。
    2022-07-24 04:47:50下载
    积分:1
  • 696516资源总数
  • 106936会员总数
  • 1今日下载