Open CASCADE Technology 6.6.0
|
This modifier reorders a whole model from its roots, i.e.
according to <rootlast> status, it considers each of its
roots, then it orders all its shared entities at any level,
the result begins by the lower level entities ... ends by
the roots.
#include <IFSelect_ModifReorder.hxx>
Public Member Functions | |
IFSelect_ModifReorder (const Standard_Boolean rootlast=Standard_True) | |
Creates a ModifReorder. It may change the graph (it does !) If <rootlast> is True (D), roots are set at the end of packets Else, they are set at beginning (as done by AddWithRefs) | |
void | Perform (IFSelect_ContextModif &ctx, const Handle< Interface_InterfaceModel > &target, const Handle< Interface_Protocol > &protocol, Interface_CopyTool &TC) const |
Acts by computing orders (by method All from ShareTool) then forcing them in the model. Remark that selection is ignored : ALL the model is processed in once | |
TCollection_AsciiString | Label () const |
Returns Label as "Reorder, Roots (last or first)" |
IFSelect_ModifReorder::IFSelect_ModifReorder | ( | const Standard_Boolean | rootlast = Standard_True | ) |
TCollection_AsciiString IFSelect_ModifReorder::Label | ( | ) | const [virtual] |
Implements IFSelect_GeneralModifier.
void IFSelect_ModifReorder::Perform | ( | IFSelect_ContextModif & | ctx, |
const Handle< Interface_InterfaceModel > & | target, | ||
const Handle< Interface_Protocol > & | protocol, | ||
Interface_CopyTool & | TC | ||
) | const [virtual] |
Implements IFSelect_Modifier.