OCC上下文设置显示模式

#include <AIS_InteractiveContext.hxx>

通过AIS_InteractiveContext::SetDisplayMode()函数来设置

 

void  SetDisplayMode (const Standard_Integer theMode, const Standard_Boolean theToUpdateViewer)
  Sets the display mode of seen Interactive Objects (which have no overridden Display Mode). More...
 
void  SetDisplayMode (const HandleAIS_InteractiveObject > &theIObj, const Standard_Integer theMode, const Standard_Boolean theToUpdateViewer)
 

Sets the display mode of seen Interactive Objects. theMode provides the display mode index of the entity theIObj. More...

 

◆ AIS_DisplayMode

Sets display modes other than neutral point ones, for interactive objects. The possibilities include:

  • wireframe,
  • shaded,
Enumerator
AIS_WireFrame  框架线显示  
AIS_Shaded   实体显示  
posted @ 2019-04-24 22:42  つContent  阅读(1007)  评论(0)    收藏  举报