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

enum AIS_DisplayMode

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

  • wireframe,
  • shaded,
Enumerator
AIS_WireFrame  框架线显示  
AIS_Shaded   实体显示  
上一篇:(转)Unity协程(一):彻底了解yield return null 和 yield return new WaitForSeconds


下一篇:word2016在分栏的小论文中添加不分栏脚注(脚注把分栏的正文挤到下面去了)