0027961: Visualization - remove unused and no more working OpenGl_AVIWriter
[occt.git] / src / TopTools / TopTools.hxx
1 // Created on: 1993-01-14
2 // Created by: Remi LEQUETTE
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _TopTools_HeaderFile
18 #define _TopTools_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <Standard_OStream.hxx>
25 #include <Standard_Integer.hxx>
26 class TopoDS_Shape;
27 class TopTools_ShapeMapHasher;
28 class TopTools_OrientedShapeMapHasher;
29 class TopTools_LocationSet;
30 class TopTools_ShapeSet;
31
32
33 //! The  TopTools package provides   utilities for the
34 //! topological data structure.
35 //!
36 //! * ShapeMapHasher. Hash a  Shape base on the TShape
37 //! and the Location. The Orientation is not used.
38 //!
39 //! * OrientedShapeMapHasher. Hash a Shape base on the
40 //! TShape ,the Location and the Orientation.
41 //!
42 //! * Instantiations of TCollection for Shapes :
43 //! MapOfShape
44 //! IndexedMapOfShape
45 //! DataMapOfIntegerShape
46 //! DataMapOfShapeInteger
47 //! DataMapOfShapeReal
48 //! Array1OfShape
49 //! HArray1OfShape
50 //! SequenceOfShape
51 //! HSequenceOfShape
52 //! ListOfShape
53 //! Array1OfListShape
54 //! HArray1OfListShape
55 //! DataMapOfIntegerListOfShape
56 //! DataMapOfShapeListOfShape
57 //! DataMapOfShapeListOfInteger
58 //! IndexedDataMapOfShapeShape
59 //! IndexedDataMapOfShapeListOfShape
60 //! DataMapOfShapeShape
61 //! IndexedMapOfOrientedShape
62 //! DataMapOfShapeSequenceOfShape
63 //! IndexedDataMapOfShapeAddress
64 //! DataMapOfOrientedShapeShape
65 //!
66 //! * LocationSet : to write sets of locations.
67 //!
68 //! * ShapeSet : to writes sets of TShapes.
69 //!
70 //! Package Methods :
71 //!
72 //! Dump : To dump the topology of a Shape.
73 class TopTools 
74 {
75 public:
76
77   DEFINE_STANDARD_ALLOC
78
79   
80   //! A set of Shapes. Can be dump, wrote or read.
81   //! Dumps the topological structure  of <Sh>  on the
82   //! stream <S>.
83   Standard_EXPORT static void Dump (const TopoDS_Shape& Sh, Standard_OStream& S);
84   
85   //! This is to bypass an extraction bug. It will force
86   //! the  inclusion    of  Standard_Integer.hxx  itself
87   //! including Standard_OStream.hxx  at   the   correct
88   //! position.
89   Standard_EXPORT static void Dummy (const Standard_Integer I);
90
91
92
93
94 protected:
95
96
97
98
99
100 private:
101
102
103
104
105 friend class TopTools_ShapeMapHasher;
106 friend class TopTools_OrientedShapeMapHasher;
107 friend class TopTools_LocationSet;
108 friend class TopTools_ShapeSet;
109
110 };
111
112
113
114
115
116
117
118 #endif // _TopTools_HeaderFile