|
||||
File indexing completed on 2025-01-18 10:04:02
0001 // Created on: 1994-05-31 0002 // Created by: Christian CAILLET 0003 // Copyright (c) 1994-1999 Matra Datavision 0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS 0005 // 0006 // This file is part of Open CASCADE Technology software library. 0007 // 0008 // This library is free software; you can redistribute it and/or modify it under 0009 // the terms of the GNU Lesser General Public License version 2.1 as published 0010 // by the Free Software Foundation, with special exception defined in the file 0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0012 // distribution for complete text of the license and disclaimer of any warranty. 0013 // 0014 // Alternatively, this file may be used under the terms of Open CASCADE 0015 // commercial license or contractual agreement. 0016 0017 #ifndef _IGESSelect_DispPerSingleView_HeaderFile 0018 #define _IGESSelect_DispPerSingleView_HeaderFile 0019 0020 #include <Standard.hxx> 0021 #include <Standard_Type.hxx> 0022 0023 #include <IFSelect_Dispatch.hxx> 0024 class IGESSelect_ViewSorter; 0025 class TCollection_AsciiString; 0026 class Interface_Graph; 0027 class IFGraph_SubPartsIterator; 0028 class Interface_EntityIterator; 0029 0030 0031 class IGESSelect_DispPerSingleView; 0032 DEFINE_STANDARD_HANDLE(IGESSelect_DispPerSingleView, IFSelect_Dispatch) 0033 0034 //! This type of dispatch defines sets of entities attached to 0035 //! distinct single views. This information appears in the 0036 //! Directory Part. Drawings are taken into account too, 0037 //! because of their frames (proper lists of annotations) 0038 //! 0039 //! Remaining data concern entities not attached to a single view. 0040 class IGESSelect_DispPerSingleView : public IFSelect_Dispatch 0041 { 0042 0043 public: 0044 0045 0046 //! Creates a DispPerSingleView 0047 Standard_EXPORT IGESSelect_DispPerSingleView(); 0048 0049 //! Returns as Label, "One File per single View or Drawing Frame" 0050 Standard_EXPORT TCollection_AsciiString Label() const Standard_OVERRIDE; 0051 0052 //! Computes the list of produced Packets. Packets are computed 0053 //! by a ViewSorter (SortSingleViews with also frames). 0054 Standard_EXPORT void Packets (const Interface_Graph& G, IFGraph_SubPartsIterator& packs) const Standard_OVERRIDE; 0055 0056 //! Returns True, because of entities attached to no view. 0057 Standard_EXPORT virtual Standard_Boolean CanHaveRemainder() const Standard_OVERRIDE; 0058 0059 //! Returns Remainder which is a set of Entities. 0060 //! It is supposed to be called once Packets has been called. 0061 Standard_EXPORT virtual Interface_EntityIterator Remainder (const Interface_Graph& G) const Standard_OVERRIDE; 0062 0063 0064 0065 0066 DEFINE_STANDARD_RTTIEXT(IGESSelect_DispPerSingleView,IFSelect_Dispatch) 0067 0068 protected: 0069 0070 0071 0072 0073 private: 0074 0075 0076 Handle(IGESSelect_ViewSorter) thesorter; 0077 0078 0079 }; 0080 0081 0082 0083 0084 0085 0086 0087 #endif // _IGESSelect_DispPerSingleView_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |