Open CASCADE Technology 6.6.0
|
This selection looks at Level Number of IGES Entities :
it considers items attached, either to a single level with a
given value, or to a level list which contains this value
Level = 0 means entities not attached to any level
Remark : the class CounterOfLevelNumber gives informations
about present levels in a file.
#include <IGESSelect_SelectLevelNumber.hxx>
Public Member Functions | |
IGESSelect_SelectLevelNumber () | |
Creates a SelectLevelNumber, with no Level criterium : see SetLevelNumber. Empty, this selection filters nothing. | |
void | SetLevelNumber (const Handle< IFSelect_IntParam > &levnum) |
Sets a Parameter as Level criterium | |
Handle_IFSelect_IntParam | LevelNumber () const |
Returns the Level criterium. NullHandle if not yet set (interpreted as Level = 0 : no level number attached) | |
Standard_Boolean | Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const |
Returns True if <ent> is an IGES Entity with Level Number admits the criterium (= value if single level, or one of the attached level numbers = value if level list) | |
TCollection_AsciiString | ExtractLabel () const |
Returns the Selection criterium : "IGES Entity, Level Number admits <nn>" (if nn > 0) or "IGES Entity attached to no Level" (if nn = 0) |
IGESSelect_SelectLevelNumber::IGESSelect_SelectLevelNumber | ( | ) |
TCollection_AsciiString IGESSelect_SelectLevelNumber::ExtractLabel | ( | ) | const [virtual] |
Implements IFSelect_SelectExtract.
Handle_IFSelect_IntParam IGESSelect_SelectLevelNumber::LevelNumber | ( | ) | const |
void IGESSelect_SelectLevelNumber::SetLevelNumber | ( | const Handle< IFSelect_IntParam > & | levnum | ) |
Standard_Boolean IGESSelect_SelectLevelNumber::Sort | ( | const Standard_Integer | rank, |
const Handle< Standard_Transient > & | ent, | ||
const Handle< Interface_InterfaceModel > & | model | ||
) | const [virtual] |
Implements IFSelect_SelectExtract.