Open CASCADE Technology
6.5.4
|
This class gives a frame for Actions which can work globally
on a File once completely defined (i.e. afterwards)
Remark : if no Selection is set as criterium, the Modifier is
set to work and should consider all the content of the Model
produced.
#include <IFSelect_Modifier.hxx>
Public Member Functions | |
virtual void | Perform (IFSelect_ContextModif &ctx, const Handle< Interface_InterfaceModel > &target, const Handle< Interface_Protocol > &protocol, Interface_CopyTool &TC) const =0 |
This deferred method defines the action specific to each class of Modifier. It is called by a ModelCopier, once the Model generated and filled. ModelCopier has already checked the criteria (Dispatch, Model Rank, Selection) before calling it. <ctx> detains informations about original data and selection. The result of copying, on which modifications are to be done, is <target>. <TC> allows to run additional copies as required In case of Error, use methods CCheck from the ContextModif to aknowledge an entity Check or a Global Check with messages | |
Protected Member Functions | |
IFSelect_Modifier (const Standard_Boolean maychangegraph) | |
Calls inherited Initialize, transmits to it the information <maychangegraph> |
IFSelect_Modifier::IFSelect_Modifier | ( | const Standard_Boolean | maychangegraph | ) | [protected] |
virtual void IFSelect_Modifier::Perform | ( | IFSelect_ContextModif & | ctx, |
const Handle< Interface_InterfaceModel > & | target, | ||
const Handle< Interface_Protocol > & | protocol, | ||
Interface_CopyTool & | TC | ||
) | const [pure virtual] |
Implemented in IFSelect_ModifReorder, StepSelect_ModelModifier, IGESSelect_ModelModifier, and IFSelect_ModifEditForm.