5.2 Framework for 3D-Based Applications
A framework is developed with reference to the facilities provided by the developmental tools and the requirements of the application. It is designed so that there are minimum dependencies between inpidual code modules. This may result in a small degree of code duplication. In exchange, there is better portability of the program codes, greater ease of maintenance and a better prospect for future expansion. The overview of this framework is illustrated in Fig. 2. The details of the various modules are discussed in the following sections.
5.2.1 Windows-Based User-Interface (A)
Parasolid does not provide the programmer with a user-interface. Thus, the development of the 3D-based application at every single stage will involve designing the user-interface from scratch. The necessary developments involve:
1. Environmental setting and display of the 3D-based application.
2. Interactive graphical interface and execution procedure for all application functionality.
5.2.2 3D Developer Layer (B)
Since different 3D-based applications require 3D-facilities to different extent, the framework must provide for these variations. A 3D developer layer (See Fig. 2, Item B) is conceptualised to handle such variations. It is a library of objects or classes that are developed, based on the Parasolid kernel. The extent of development depends on the requirements of the456 T. L. Neo and K. S. Lee Table 1. Summary of facilities provided by a 3D kernel and a CAD system.
Facilities 3D kernel 3D CAD system
1. Basic 3D modelling Low-level and general functions provided High-level and specific functions provided
2. Assemblies Several library functions provided Complete system provided
3. Feature-based modelling Not provided Established feature set provided
4. Parametric modelling Not provided Often provided
5. Free-form modelling Low-level functions provided Often provided
6. Drafting Not provided Complete system provided
7. Interactive user-interface Not provided Always provided
8. Visualisation of 3D objects Conceptual framework and several library Completely developed functions provided
9. File management system
Application identified in the previous section. Besides catering for variations in application requirements, the 3D developer layer also acts as a programming interface for non-Parasolid developers. Such an interface can also be re-used for subsequent development of other 3D-based applications. The 3D developer layer essentially consists of three main sections. They are used for 3D modelling and assembly, 3D visualization and 3D data management, respectively.
I. 3D Modelling and Assembly.
The 3D modelling and assembly module is the most important and elaborate of all three sections. It is analogous to the application-programming interface (API) provided by most CAD systems. The module consists of a library of 3D-based objects or classes, which are used for the development of the core application modules. The basic 3D functionality that is required by most 3D applications must be developed first. Depending on the requirements of the inpidual 3D-based application, other more advance features are subsequently added.
II. 3D Visualisation.
The display of 3D objects in a Windows client area requires a software graphics interface. The graphical output together with a selected graphical interface, are used for the rendering of 3D objects in the 3D-based application, as well as the management of the viewing projections and transformations. Here, a library of classes is developed for such purposes.
III. 3D Data Management.
The 3D data management module is developed on top of the frustrum. The frustrum is the module in the Parasolid kernel that facilitates archiving and access of 3D part files. A library of classes are developed using the frustrum for handling:
1. 3D object file format.
- 上一篇:夹点分析原油蒸馏塔的设计英文文献和中文翻译
- 下一篇:轧机中板形英文文献和翻译
-
-
-
-
-
-
-
十二层带中心支撑钢结构...
大众媒体对公共政策制定的影响
杂拟谷盗体内共生菌沃尔...
中考体育项目与体育教学合理结合的研究
乳业同业并购式全产业链...
河岸冲刷和泥沙淤积的监测国内外研究现状
java+mysql车辆管理系统的设计+源代码
当代大学生慈善意识研究+文献综述
酸性水汽提装置总汽提塔设计+CAD图纸
电站锅炉暖风器设计任务书