File indexing completed on 2025-01-18 10:03:42
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
0034 class GeomTools_SurfaceSet
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041
0042 Standard_EXPORT GeomTools_SurfaceSet();
0043
0044
0045 Standard_EXPORT void Clear();
0046
0047
0048
0049 Standard_EXPORT Standard_Integer Add (const Handle(Geom_Surface)& S);
0050
0051
0052 Standard_EXPORT Handle(Geom_Surface) Surface (const Standard_Integer I) const;
0053
0054
0055 Standard_EXPORT Standard_Integer Index (const Handle(Geom_Surface)& S) const;
0056
0057
0058 Standard_EXPORT void Dump (Standard_OStream& OS) const;
0059
0060
0061
0062 Standard_EXPORT void Write (Standard_OStream& OS,
0063 const Message_ProgressRange& theProgress = Message_ProgressRange()) const;
0064
0065
0066
0067 Standard_EXPORT void Read (Standard_IStream& IS,
0068 const Message_ProgressRange& theProgress = Message_ProgressRange());
0069
0070
0071
0072 Standard_EXPORT static void PrintSurface (const Handle(Geom_Surface)& S,
0073 Standard_OStream& OS,
0074 const Standard_Boolean compact = Standard_False);
0075
0076
0077
0078
0079 Standard_EXPORT static Handle(Geom_Surface) ReadSurface (Standard_IStream& IS);
0080
0081 private:
0082
0083 TColStd_IndexedMapOfTransient myMap;
0084
0085 };
0086
0087 #endif