- /* Method opening context for any sub shape selection */
- bool PrepareSubShapeSelection(const int SubShapeType, Standard_Integer& returnLocalContextId);
- /* Method opening context for sub shape selection on an argument shape */
- bool PrepareSubShapeSelectionArgumentShape(const TopoDS_Shape& aShape, const int SubShapeType,
- Standard_Integer& returnLocalContextId);
+ // DISPLAY MODE methods : 0 - wireframe, 1 - shading
+ // Set display mode for the viewer (current viewer if <viewWindow> - 0 )
+ void SetDisplayMode( const int mode, SUIT_ViewWindow* viewWindow = 0 );
+ // Get display mode of the viewer (current viewer if <viewWindow> - 0 )
+ int GetDisplayMode( SUIT_ViewWindow* viewWindow = 0 );
+ // Invert display mode ( shadin <-> wireframe ) for the viewer
+ // (current viewer if <viewWindow> = 0 )
+ void InvertDisplayMode( SUIT_ViewWindow* viewWindow = 0 );