Open CASCADE Technology 7.8.0
Public Member Functions
IGESSelect_DispPerSingleView Class Reference

This type of dispatch defines sets of entities attached to distinct single views. This information appears in the Directory Part. Drawings are taken into account too, because of their frames (proper lists of annotations) More...

#include <IGESSelect_DispPerSingleView.hxx>

Inheritance diagram for IGESSelect_DispPerSingleView:
Inheritance graph
[legend]

Public Member Functions

 IGESSelect_DispPerSingleView ()
 Creates a DispPerSingleView.
 
TCollection_AsciiString Label () const override
 Returns as Label, "One File per single View or Drawing Frame".
 
void Packets (const Interface_Graph &G, IFGraph_SubPartsIterator &packs) const override
 Computes the list of produced Packets. Packets are computed by a ViewSorter (SortSingleViews with also frames).
 
virtual Standard_Boolean CanHaveRemainder () const override
 Returns True, because of entities attached to no view.
 
virtual Interface_EntityIterator Remainder (const Interface_Graph &G) const override
 Returns Remainder which is a set of Entities. It is supposed to be called once Packets has been called.
 
- 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)
 
Standard_Boolean HasRootName () const
 Returns True if a specific Root Name has been set (else, the Default Root Name has to be used)
 
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.
 
void SetFinalSelection (const Handle< IFSelect_Selection > &sel)
 Stores (or Changes) the Final Selection for a Dispatch.
 
Handle< IFSelect_SelectionFinalSelection () const
 Returns the Final Selection of a Dispatch we 'd like : C++ : return const &.
 
IFSelect_SelectionIterator Selections () const
 Returns the complete list of source Selections (starting from FinalSelection)
 
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)
 
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)
 
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.
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
Standard_Boolean IsKind (const opencascade::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.
 
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.
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const charget_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Detailed Description

This type of dispatch defines sets of entities attached to distinct single views. This information appears in the Directory Part. Drawings are taken into account too, because of their frames (proper lists of annotations)

Remaining data concern entities not attached to a single view.

Constructor & Destructor Documentation

◆ IGESSelect_DispPerSingleView()

IGESSelect_DispPerSingleView::IGESSelect_DispPerSingleView ( )

Creates a DispPerSingleView.

Member Function Documentation

◆ CanHaveRemainder()

virtual Standard_Boolean IGESSelect_DispPerSingleView::CanHaveRemainder ( ) const
overridevirtual

Returns True, because of entities attached to no view.

Reimplemented from IFSelect_Dispatch.

◆ Label()

TCollection_AsciiString IGESSelect_DispPerSingleView::Label ( ) const
overridevirtual

Returns as Label, "One File per single View or Drawing Frame".

Implements IFSelect_Dispatch.

◆ Packets()

void IGESSelect_DispPerSingleView::Packets ( const Interface_Graph G,
IFGraph_SubPartsIterator packs 
) const
overridevirtual

Computes the list of produced Packets. Packets are computed by a ViewSorter (SortSingleViews with also frames).

Implements IFSelect_Dispatch.

◆ Remainder()

virtual Interface_EntityIterator IGESSelect_DispPerSingleView::Remainder ( const Interface_Graph G) const
overridevirtual

Returns Remainder which is a set of Entities. It is supposed to be called once Packets has been called.

Reimplemented from IFSelect_Dispatch.


The documentation for this class was generated from the following file: