SHAPER  9.12.0
ModuleBase_BRepOwner Class Reference

A redefinition of standard BRep Owner in order to provide specific selection of CompSolid objects. More...

Inheritance diagram for ModuleBase_BRepOwner:
Inheritance graph

Public Member Functions

 ModuleBase_BRepOwner (const TopoDS_Shape &aShape, const Standard_Integer aPriority=0, const Standard_Boolean ComesFromDecomposition=Standard_False)
 Constructor. More...
 
virtual void HilightWithColor (const Handle &&aPM, const Handle &&theStyle, const Standard_Integer=0)
 Highlight the presentation with the given color. More...
 

Detailed Description

A redefinition of standard BRep Owner in order to provide specific selection of CompSolid objects.

This owner is created only for selection mode TopAbs_COMPSOLID

Constructor & Destructor Documentation

◆ ModuleBase_BRepOwner()

ModuleBase_BRepOwner::ModuleBase_BRepOwner ( const TopoDS_Shape &  aShape,
const Standard_Integer  aPriority = 0,
const Standard_Boolean  ComesFromDecomposition = Standard_False 
)
inline

Constructor.

Parameters
aShapean owner shape
aPrioritydrawig priority
ComesFromDecompositiondecomposition flag

Member Function Documentation

◆ HilightWithColor()

virtual void ModuleBase_BRepOwner::HilightWithColor ( const Handle &&  aPM,
const Handle &&  theStyle,
const  Standard_Integer = 0 
)
inlinevirtual

Highlight the presentation with the given color.

Parameters
aPMa presentations manager
theStylea style of presentation
theModea drawing mode