GLU、GLUT常用函数库

2.GLU 函数库


绘制 NURBS 曲线和曲面   
------------------------------

gluNewNurbsRenderer   
gluNurbsProperty    
gluNurbsCallback    
gluBeginCurve , gluEndCurve    
gluNurbsCurve    
gluDeleteNurbsRenderer    
gluBeginSurface , gluEndSurface    
gluNurbsSurface    
gluBeginTrim , gluEndTrim    
gluPwlCurve    
gluBeginPolygon , gluEndPolygon    
gluPickMatrix

绘制二次几何物体   
---------------------------------

gluNewQuadric   
gluQuadricDrawStyle    
gluQuadricNormals    
gluQuadricOrientation    
gluCylinder    
gluSphere    
gluDisk    
gluPartialDisk    
gluDeleteQuadric    
gluQuadricTexture    
gluQuadricCallback

网格化   
------------------------------

gluNewTess   
gluTessVertex    
gluTessCallback    
gluTessBeginPolygon , gluTessEndPolygon    
gluTessBeginContour , gluTessBeginContour    
gluTessProperty    
gluNextContour    
gluTessNormal    
gluDeleteTess

坐标转换   
------------------------------

gluOrtho2D   
gluPerspective    
gluLookAt    
gluProject    
gluUnProject

多重映射   
------------------------------

gluBuild1DMipmaps   
gluBuild2DMipmaps    
gluScaleImage

查询函数   
-----------------------------

gluErrorString   
gluGetNurbsProperty    
gluGetString    
gluGetTessProperty

 

 

3.GLUT 库函数


 

初始化和启动事件处理   
-------------------------    
glutInit    
glutInitWindowPosition    
glutInitWindowSize    
glutInitDisplayMode    
glutMainLoop    
窗口管理    
-------------------------    
glutCreateWindow    
glutCreateSubWindow    
glutHideWindow    
glutShowWindow    
glutSetWindowTitle    
glutPostRedisplay    
glutSwapBuffers    
glutFullScreen    
glutPositionWindow    
glutReshapeWindow    
glutSetWindow    
glutGetWindow    
glutPopWindow    
glutPushWindow    
glutDestroyWindow    
glutIconifyWindow    
glutSetCursor    
重叠层管理    
-------------------------    
glutEstablishOverlay    
glutUseLayer    
glutRemoveOverlay    
glutPostOverlayRedisplay    
glutShowOverlay    
glutHideOverlay    
菜单管理    
-------------------------

glutCreateMenu   
glutAddMenuEntry    
glutAddSubMenu    
glutAttachMenu    
glutGetMenu    
glutSetMenu    
glutDestroyMenu    
glutChangeToMenuEntry    
glutChangeToSubMenu    
glutRemoveMenuItem    
glutDetachMenu

注册回调函数   
-------------------------------    
glutDisplayFunc    
glutReshapeFunc    
glutMouseFunc    
glutMotionFunc    
glutIdleFunc    
glutVisibilityFunc    
glutKeyboardFunc    
glutSpecialFunc    
glutOverlayDisplayFunc    
glutPassiveMotionFunc    
glutEntryFunc    
glutSpaceballMotionFunc    
glutSpaceballRotateFunc    
glutSpaceballButtonFunc    
glutButtonBoxFunc    
glutDialsFunc    
glutTableMotionFunc    
glutTableButtonFunc    
glutMenuStatusFunc    
glutTimerFunc    
颜色索引映射表管理    
-------------------------------    
glutSetColor    
glutGetColor    
glutCopyColormap    
状态检索    
-------------------------------    
glutGet    
glutLayerGet    
glutDeviceGet    
glutGetModifiers    
glutExtensionSupported    
字体绘制    
-------------------------------    
glutBitmapCharacter    
glutBitmapWidth    
glutStrokeCharacter    
glutStrokeWidth    
几何图形绘制    
-------------------------------    
glutSolidSphere , glutWireSphere    
glutSolidCube , glutWireCube    
glutSolidCone , glutWireCone    
glutSolidTorus , glutWireTorus    
glutSolidDodecahedron , glutWireDodecahedron    
glutSolidOctahedron , glutWireOctahedron    
glutSolidTetrahedron , glutWireTetrahedron    
glutSolieIcosahedron , glutWireIcosahedron    
glutSolidTeapot , glutWireTeapot

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值