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