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   实体显示  
上一篇:四种java代码静态检查工具


下一篇:浅谈android binder机制