OCC_BaseDoc.h
是虚类继承CDocument
析构函数是纯虚函数,需要子类实现,可以避免使用OCC 忘记释放资源从而造成内存泄漏。
Class hierarchy
OCC_3dBaseDoc 中包含两个成员变量和对应的鼠标,快捷菜单事件。
同样对于view hierarchy
|
Session class is derived from AIS_InteractiveObject
The class is use by the display function
This display function take the aDoc(ais_context)as argument
So we have to give the visualization athrough restudy .
//---------------------------------------------------------------------------------------
//note:
* you do1t have permission to upload pictures because you registered for less than a week
so i will update later
本文介绍了OCC_BaseDoc类的结构与功能,它是从CDocument类派生的虚基类,其析构函数为纯虚函数,确保了资源正确释放以避免内存泄漏。文章还提到了OCC_3dBaseDoc类及其成员变量,以及视图处理函数如旋转、平移和缩放等。
1082

被折叠的 条评论
为什么被折叠?



