Open CASCADE Technology
6.9.0
|
This type of dispatch defines sets of entities attached to distinct drawings. This information is taken from attached views which appear in the Directory Part. Also Drawing Frames are considered when Drawings are part of input list. More...
#include <IGESSelect_DispPerDrawing.hxx>
Public Member Functions | |
IGESSelect_DispPerDrawing () | |
Creates a DispPerDrawing. More... | |
TCollection_AsciiString | Label () const |
Returns as Label, "One File per Drawing". More... | |
void | Packets (const Interface_Graph &G, IFGraph_SubPartsIterator &packs) const |
Computes the list of produced Packets. Packets are computed by a ViewSorter (SortDrawings with also frames). More... | |
virtual Standard_Boolean | CanHaveRemainder () const |
Returns True, because of entities attached to no view. More... | |
virtual Interface_EntityIterator | Remainder (const Interface_Graph &G) const |
Returns Remainder which is a set of Entities. It is supposed to be called once Packets has been called. More... | |
Public Member Functions inherited from IFSelect_Dispatch | |
void | SetRootName (const Handle< TCollection_HAsciiString > &name) |
Sets a Root Name as an HAsciiString To reset it, give a Null Handle (then, a ShareOut will have to define the Default Root Name) More... | |
Standard_Boolean | HasRootName () const |
Returns True if a specific Root Name has been set (else, the Default Root Name has to be used) More... | |
const Handle < TCollection_HAsciiString > & | RootName () const |
Returns the Root Name for files produced by this dispatch It is empty if it has not been set or if it has been reset. More... | |
void | SetFinalSelection (const Handle< IFSelect_Selection > &sel) |
Stores (or Changes) the Final Selection for a Dispatch. More... | |
Handle< IFSelect_Selection > | FinalSelection () const |
Returns the Final Selection of a Dispatch we 'd like : C++ : return const &. More... | |
IFSelect_SelectionIterator | Selections () const |
Returns the complete list of source Selections (starting from FinalSelection) More... | |
virtual Standard_Boolean | LimitedMax (const Standard_Integer nbent, Standard_Integer &max) const |
Returns True if a Dispatch generates a count of Packets always less than or equal to a maximum value : it can be computed from the total count of Entities to be dispatched : <nbent>. If answer is False, no limited maximum is expected for account If answer is True, expected maximum is given in argument <max> Default answer given here is False (can be redefined) More... | |
Interface_EntityIterator | GetEntities (const Interface_Graph &G) const |
Gets Unique Root Entities from the Final Selection, given an input Graph This the starting step for an Evaluation (Packets - Remainder) More... | |
virtual Standard_Boolean | PacketsCount (const Interface_Graph &G, Standard_Integer &count) const |
Returns True if Count of Packets is actually known, and the value of the count in argument "count". Returns False if this count is unknown. Input is given as a Graph. This method is intended to be quick (used for file names) hence if this count is long to compute (that is, as a result of complete evaluation made by method Packets), it is preferable to answer "unknown" by returning False Default answer if False. Can be redefined. More... | |
Interface_EntityIterator | Packeted (const Interface_Graph &G) const |
Returns the list of all Input Entities (see GetEntities) which are put in a Packet. That is, Entities listed in GetEntities but not in Remainder (see below). Input is given as a Graph. More... | |
Public Member Functions inherited from MMgt_TShared | |
virtual void | Delete () const |
Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. More... | |
virtual | ~Standard_Transient () |
Destructor must be virtual. More... | |
virtual const Handle_Standard_Type & | DynamicType () const |
Returns a type information object about this object. More... | |
Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
Returns a true value if this is an instance of Type. More... | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. More... | |
Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
virtual Handle_Standard_Transient | This () const |
Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
This type of dispatch defines sets of entities attached to distinct drawings. This information is taken from attached views which appear in the Directory Part. Also Drawing Frames are considered when Drawings are part of input list.
Remaining data concern entities not attached to a drawing.
IGESSelect_DispPerDrawing::IGESSelect_DispPerDrawing | ( | ) |
Creates a DispPerDrawing.
|
virtual |
Returns True, because of entities attached to no view.
Reimplemented from IFSelect_Dispatch.
|
virtual |
Returns as Label, "One File per Drawing".
Implements IFSelect_Dispatch.
|
virtual |
Computes the list of produced Packets. Packets are computed by a ViewSorter (SortDrawings with also frames).
Implements IFSelect_Dispatch.
|
virtual |
Returns Remainder which is a set of Entities. It is supposed to be called once Packets has been called.
Reimplemented from IFSelect_Dispatch.