摘要
介绍了利用面向对象的程序设计方法实现了3DS文件的读取。与面向过程的方法比较,面向对象方法对于理解3DS文件的读取、重绘及控制显得条理清晰,易于掌握,同时又方便移植到其它应用程序中。基于这一点,提出了将3DS文件的读取工作封装在一个类中,从而提高了程序的可读性。
In this paper,there is a method of object oriented programming introducing how to access 3DS files. Compared with the method of procedure oriented programming,the former has many advantages. It is easier to understand how to access,draw and control this type of files and more convenient to replant it to other programs. Based on this,the authors put forward a method which encapsulates a class to finish the task of accessing, which improves the readability of the program.
出处
《盐城工学院学报(自然科学版)》
CAS
2005年第3期41-44,共4页
Journal of Yancheng Institute of Technology:Natural Science Edition