File indexing completed on 2026-06-10 08:29:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _GeomTools_SurfaceSet_HeaderFile
0018 #define _GeomTools_SurfaceSet_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TColStd_IndexedMapOfTransient.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <Standard_OStream.hxx>
0027 #include <Standard_IStream.hxx>
0028 #include <Message_ProgressRange.hxx>
0029
0030 class Geom_Surface;
0031
0032
0033 class GeomTools_SurfaceSet
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038
0039 Standard_EXPORT GeomTools_SurfaceSet();
0040
0041
0042 Standard_EXPORT void Clear();
0043
0044
0045
0046 Standard_EXPORT Standard_Integer Add(const Handle(Geom_Surface)& S);
0047
0048
0049 Standard_EXPORT Handle(Geom_Surface) Surface(const Standard_Integer I) const;
0050
0051
0052 Standard_EXPORT Standard_Integer Index(const Handle(Geom_Surface)& S) const;
0053
0054
0055 Standard_EXPORT void Dump(Standard_OStream& OS) const;
0056
0057
0058
0059 Standard_EXPORT void Write(
0060 Standard_OStream& OS,
0061 const Message_ProgressRange& theProgress = Message_ProgressRange()) const;
0062
0063
0064
0065 Standard_EXPORT void Read(Standard_IStream& IS,
0066 const Message_ProgressRange& theProgress = Message_ProgressRange());
0067
0068
0069
0070 Standard_EXPORT static void PrintSurface(const Handle(Geom_Surface)& S,
0071 Standard_OStream& OS,
0072 const Standard_Boolean compact = Standard_False);
0073
0074
0075
0076
0077 Standard_EXPORT static Handle(Geom_Surface) ReadSurface(Standard_IStream& IS);
0078
0079 private:
0080 TColStd_IndexedMapOfTransient myMap;
0081 };
0082
0083 #endif