| The display of virtual instrument includes the panel and the controls of the control library.All of them are simulations of the physical instrument material objects which are worked out by computer programs.As an open graph library with powerful functions,OpenGL has many advantages,such as high reliability,expansibility,flexibility,easy-use,agility and portability etc. Due to its convenient and strong three-dimensional graph-drawing function.So ,it is promising to develop the virtual instrument graph library by OpenGL.This thesis sorts the three-dimensional controls of the virtual instrument according the display effect and introduce the functions,characteristics and display models of some important controls explicitly.Against the display effect of the virtual instrument three-dimensional controls , in this thesis,a design model plan of three-dimensional controls interface is proposed based on OpenGL technique .Then ,some basic information as well as rendering of OpenGL technique is introduced.After that,the development circuit of the virtual instrument graph library function and the concrete development of three-dimensional controls are introduced. The rendering function is used sufficiently to make out the three-dimensional controls with lifelike ,slinky interfaces.According to the open and expansibility of the application software, the virtual instrument three-dimensional controls development model is built up based on OpenGL in the environment of Visual C++.By encapsulating the virtual instrument three-dimensional controls graph library function into a dynamic link library plug-in,it is convenient to call and extend the application software.The single controls are jointed to compose a simple interface,and all the functions on the interface are achieved by fusion test to confirm the correct of research in this thesis. |