⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 copenglimage.h

📁 本文以数字图像处理、压缩技术和MATLAB应用为基础
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
//
// COpenGLImage.h : interface of the COpenGLImage class
//
/////////////////////////////////////////////////////////////////////////////


// Include the OpenGL headers
#include "gl\gl.h"
#include "gl\glu.h"
#include "gl\glaux.h"

class COpenGLImage : public CObject
{
// Attributes
public:

// Operations
public:
	COpenGLImage();

	const CString   GetDIBFileName() 
		{ return m_DIBFileName; }

   	BOOL InitFromDIB( const CString, GLint = GL_DECAL );
   	BOOL SelectImage( );

	virtual ~COpenGLImage();

// Implementation
protected:


private:
	const CString m_DIBFileName;
	AUX_RGBImageRec* m_pRGBImage;
    GLint   m_TextureFunction;

#ifdef _DEBUG
#endif
protected:


};

/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -