1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _IGESSelect_DispPerDrawing_HeaderFile
#define _IGESSelect_DispPerDrawing_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IGESSelect_DispPerDrawing.hxx>
#include <Handle_IGESSelect_ViewSorter.hxx>
#include <IFSelect_Dispatch.hxx>
#include <Standard_Boolean.hxx>
class IGESSelect_ViewSorter;
class TCollection_AsciiString;
class Interface_Graph;
class IFGraph_SubPartsIterator;
class Interface_EntityIterator;
//! 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.
class IGESSelect_DispPerDrawing : public IFSelect_Dispatch
{
public:
//! Creates a DispPerDrawing
Standard_EXPORT IGESSelect_DispPerDrawing();
//! Returns as Label, "One File per Drawing"
Standard_EXPORT TCollection_AsciiString Label() const;
//! Computes the list of produced Packets. Packets are computed
//! by a ViewSorter (SortDrawings with also frames).
Standard_EXPORT void Packets (const Interface_Graph& G, IFGraph_SubPartsIterator& packs) const;
//! Returns True, because of entities attached to no view.
Standard_EXPORT virtual Standard_Boolean CanHaveRemainder() const;
//! Returns Remainder which is a set of Entities.
//! It is supposed to be called once Packets has been called.
Standard_EXPORT virtual Interface_EntityIterator Remainder (const Interface_Graph& G) const;
DEFINE_STANDARD_RTTI(IGESSelect_DispPerDrawing)
protected:
private:
Handle(IGESSelect_ViewSorter) thesorter;
};
#endif // _IGESSelect_DispPerDrawing_HeaderFile
|