[译]SolidGraph CAD系统
By robot-v1.0
本文链接 https://www.kyfws.com/applications/solidgraph-cad-system-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 4 分钟阅读 - 1649 个词 阅读量 0[译]SolidGraph CAD系统
原文地址:https://www.codeproject.com/Articles/15554/SolidGraph-CAD-System
原文作者:Geometros
译文由本站 robot-v1.0 翻译
前言
A SolidGraph CAD system source code.
SolidGraph CAD系统源代码.
- 下载SolidGraph bin文件-1.29 MB(Download SolidGraph bin files - 1.29 MB)
- 下载SolidGraph源-3.56 MB(Download SolidGraph sources - 3.56 MB)
介绍(Introduction)
SolidGraph是用于高度复杂的几何对象的3D建模的全功能系统.迟早,使用计算机图形学的每个人都觉得有必要编写自己的编辑器.我们想向您展示一种编写模块应用程序的方法,其中用于创建新对象的功能分布在插件之间.(SolidGraph is a full-featured system for 3D modeling of highly complex geometric objects. Sooner or later, everyone who works with computer graphics feels necessary to write his own editor. We want to show you one of the ways of writing a module application where the functions for creating new objects are distributed among plug-ins.)
仅使用以下编译器编译了该项目:Microsoft Visual C ++ 7.1和Microsoft Visual C ++ 8.0.(The project has been compiled only with the following compilers: Microsoft Visual C++ 7.1, and Microsoft Visual C++ 8.0.)
兴趣点(Points of Interest)
谁可能对本文感兴趣:(Who may be interested in this article:)
- 每个开始使用基于OpenGL的计算机图形的人.(Everyone who is beginning to work with OpenGL-based computer graphics.)
- 每个对创建自己的CAD系统和几何建模软件感兴趣的人.(Everyone who is interested in creating his own CAD system and geometric modeling software.)
- 软件开发人员使用MFC编写程序是因为该应用程序包含许多解决MFC相关问题的方法(例如,创建32位工具栏,从插件加载工具栏和字符串,TreeControl类等等).(Software developers writing in MFC because this application contains a lot of ways to solve various problems related to MFC (for example, creating 32-bit toolbars, loading toolbars and strings from plug-ins, the TreeControl class, and much more).)
- 想要将LUA解释器嵌入其代码中的软件开发人员.(Software developers who want to embed the LUA interpreter into their code.)
- 经验丰富的软件开发人员创建自己的大型系统.(Experienced software developers creating their own large systems.) 换句话说,它适合每个人:)(In other words, it is for everyone :))
对您来说有趣的是:(What can be interesting for you:)
- GUI完全基于MFC和CodeProject的一些文章.(The GUI completely based on MFC and on some articles from CodeProject.)
- 创建" MultiApp"应用程序的方式-一个带有多个标签的MDI应用程序,以及一个单独的功能齐全的MDI应用程序,位于每个方法的后面((The way of creating a “MultiApp” application - an MDI application with several tabs, and a separate full-featured MDI application is behind each of them (the)
CAppTabManager
类.(class.) - 在插件之间分配应用程序功能,使用对话框,工具栏和插件中的图像加载这些插件的方法.(The method of distributing application features among plug-ins, loading these plug-ins, using dialog boxes, toolbars, and images from plug-ins.)
- 使用OpenGL-渐变背景类,相机类,对象链接,在鼠标指针下获取对象,工作平面.(Working with OpenGL - the gradient background class, the camera class, object linking, getting the object under the mouse pointer, work planes.)
- 与LUA一起使用-为LUA启动和创建自己的类.(Working with LUA - initiating and creating your own classes for LUA.)
- 许多新的MFC控制元素.(A lot of new MFC control elements.)
- 在MFC的帮助下,使用OpenGL(ArMax)创建ActiveX控件元素.(Creating an ActiveX control element using OpenGL (ArMax) with the help of MFC.)
- 创建一个OpenGL材质编辑器(MaterialsEditor).(Creating an OpenGL material editor (MaterialsEditor).)
- 您还将找到用于创建2D图元,3D图元,布尔运算,电影运算以及创建曲面和实体的插件的源代码.(You will also find the source code of plug-ins for creating 2D primitives, 3D primitives, Boolean operations, cinematic operations, and for creating surfaces and solids.)
- 还有更多:).(And a lot more :).) SolidGraph系统可用作3D模型和构建逼真的图像的全功能编辑器.您可以为其编写自己的插件(以现有插件为例).(The SolidGraph system can be used as a full-featured editor for 3D models and for building photorealistic images. You can write your own plug-ins for it (taking existing plug-ins as examples).)
SolidGraph系统基于(The SolidGraph system is based on the) sgCore库(sgCore library) 并由(and is developed by the) Geometros(Geometros) 公司作为可基于此库的最小CAD系统的示例.在[提问(company as an example of a minimal CAD system that can be based on this library. Ask your questions at [)support@geometros.com(support@geometros.com)].(].)
致谢(Acknowledgements)
我们感谢图书馆的作者(We thank the authors of the libraries) CxImage(CxImage) ,(,) 鲁阿(LUA) ,(,) CDiagramEditor(CDiagramEditor) ,(,) C选项树(COptionTree) .(.)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
VC8.0 C++ VC7.1 Windows MFC Visual-Studio Dev 新闻 翻译