-
这是用MFC编写的使用openGL的视口代码。
CChildView::CChildView() 构造函数
CChildView::~CChildVie...
这是用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
- 2022-03-16 00:49:44下载
- 积分:1
-
利用kmeans函数在hsi色彩空间分割彩色图像
利用MATLAB中的库函kmeans以及色彩空间转换函数hsi2rgb和rgb2hsi完成彩色图像分割
- 2022-04-10 19:20:42下载
- 积分:1
-
计算模型OBB的8个点
本源码完整给出了一个接口函数;
用户只需要给出一个模型文件名称,函数返回需要的8个OBB的顶点;
算法使用开源osg作为基础库函数,先抽取模型的所有的点,接着计算协方差矩阵,继而求解三个特征向量作为OBB的三个轴;在此基础上给出模型OBB的八个顶点;
- 2023-07-28 11:10:03下载
- 积分:1
-
本程序绘制打开闭合的曲线,闭合曲线可以使用Brush对象填充
本程序绘制打开闭合的曲线,闭合曲线可以使用Brush对象填充-mapping procedures to open the closed curve, closed curves can be used to fill Brush object
- 2022-06-18 13:40:00下载
- 积分:1
-
人工智能OCR文字识别源程序,VB编写的,不得不服,没用使用控件,识别率在90%以上,可直接用于你的项目中,经过我的测试,绝对可以使用....
人工智能OCR文字识别源程序,VB编写的,不得不服,没用使用控件,识别率在90%以上,可直接用于你的项目中,经过我的测试,绝对可以使用.-Character Recognition OCR artificial intelligence source, written in VB, not against, it"s useless to use controls, the recognition rate of more than 90%, can be used directly in your project, after the test I definitely can be used.
- 2022-08-25 00:09:12下载
- 积分:1
-
源代码序列是一个特殊的三
序源代码特别有一个三维图象打开,保存,压缩,绘制的源码很有价值-source code sequence is a special three-dimensional images open, preservation, compression, rendering the source of great value
- 2022-01-25 15:26:22下载
- 积分:1
-
使用MATLAB 6.5开发,DDA算法画直线
使用MATLAB 6.5开发,DDA算法画直线-The development of the use of MATLAB 6.5, draw a straight line scan line algorithm
- 2022-06-14 17:05:49下载
- 积分:1
-
C++和Open GL图形Sierpinski垫片的使用,包括两
使用C和OPEN GL 绘制Sierpinski镂垫,包括二维和三维。-The use of C and OPEN GL drawing Sierpinski gasket, including the two-dimensional and three-dimensional.
- 2022-08-05 17:02:46下载
- 积分:1
-
Image Binarization+ Erode+ Dilate+ Open+ Median+ Gaussian+ Blur
图像二值化+腐蚀+扩张+开放+中值+高斯+模糊
- 2022-12-14 09:50:04下载
- 积分:1
-
MPEG
MPEG-2-13818æ ‡å‡†-MPEG-2-13818 standards
- 2022-03-15 06:32:23下载
- 积分:1