摘要
本文介绍了视图、文档的基本概念,以及用文件菜单的保存选项保存视图数据的编程思路.通过实例详细叙述了如何在VC中利用加载菜单项加载原始数据点,利用文档类处理数据,利用视图类调用OpenGL函数显示曲线,以及利用保存菜单项保存文档类处理过的重要的曲线参数.
This paper introduced the concepts of view and documents, while the thinking of using file menu item to save view data in programming was propose. The paper also depicted the general process of loading the original data by using load item, processing the data in document class, displaying the NURBS curve by calling some OpenGL functions in view class and saving some important parameters of the curve using save item.
出处
《北京服装学院学报(自然科学版)》
CAS
2002年第2期29-34,共6页
Journal of Beijing Institute of Fashion Technology:Natural Science Edition