occ sample geometry 分析初探1

来源:互联网 发布:sqlserver创建用户语句 编辑:程序博客网 时间:2024/04/27 14:08

OCC_BaseDoc.h

是虚类继承CDocument


析构函数是纯虚函数,需要子类实现,可以避免使用OCC 忘记释放资源从而造成内存泄漏。


Class hierarchy




OCC_3dBaseDoc 中包含两个成员变量和对应的鼠标,快捷菜单事件。



同样对于view hierarchy 


      


相应对于view 是由对应的view处理函数和相应的

Rotation

Pan

Scaling

 

   







    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

原创粉丝点击