glviewer.h
来自「计算机图形学~想必是很多人需要的~在此共享一下」· C头文件 代码 · 共 41 行
H
41 行
//GLViewer.h#ifndef GLVIEWER_H#define GLVIEWER_H#include "Node.h"class GLViewer{ public: GLViewer(); ~GLViewer(); void CreateWin(char *Name, int Width, int Height); //set buffer, backcolor void SetValue(Enum PName, Enum Type); void Init(int argc, char **argv); void Show(Node *N); private: void GLInit(); int ViewerIndex; char *WinName; float BackColor[3]; static Node *Root[3]; static int ViewerNum; static int BufType[3]; static int WinWidth[3]; static int WinHeight[3]; static void Reshape0(int w, int h); static void Display0(); static void Reshape1(int w, int h); static void Display1(); static void Reshape2(int w, int h); static void Display2(); };#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?