0032696: Coding - get rid of unused forward declarations [StepSelect to Xw]
[occt.git] / src / TopOpeBRepBuild / TopOpeBRepBuild_VertexInfo.hxx
1 // Created on: 1999-11-29
2 // Created by: Peter KURNEV
3 // Copyright (c) 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 _TopOpeBRepBuild_VertexInfo_HeaderFile
18 #define _TopOpeBRepBuild_VertexInfo_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <TopoDS_Vertex.hxx>
25 #include <TopoDS_Edge.hxx>
26 #include <Standard_Boolean.hxx>
27 #include <TopTools_IndexedMapOfOrientedShape.hxx>
28 #include <TopTools_ListOfShape.hxx>
29 #include <Standard_Integer.hxx>
30
31
32
33 class TopOpeBRepBuild_VertexInfo 
34 {
35 public:
36
37   DEFINE_STANDARD_ALLOC
38
39   
40   Standard_EXPORT TopOpeBRepBuild_VertexInfo();
41   
42   Standard_EXPORT void SetVertex (const TopoDS_Vertex& aV);
43   
44   Standard_EXPORT const TopoDS_Vertex& Vertex() const;
45   
46   Standard_EXPORT void SetSmart (const Standard_Boolean aFlag);
47   
48   Standard_EXPORT Standard_Boolean Smart() const;
49   
50   Standard_EXPORT Standard_Integer NbCases() const;
51   
52   Standard_EXPORT Standard_Integer FoundOut() const;
53   
54   Standard_EXPORT void AddIn (const TopoDS_Edge& anE);
55   
56   Standard_EXPORT void AddOut (const TopoDS_Edge& anE);
57   
58   Standard_EXPORT void SetCurrentIn (const TopoDS_Edge& anE);
59   
60   Standard_EXPORT const TopTools_IndexedMapOfOrientedShape& EdgesIn() const;
61   
62   Standard_EXPORT const TopTools_IndexedMapOfOrientedShape& EdgesOut() const;
63   
64   Standard_EXPORT TopTools_IndexedMapOfOrientedShape& ChangeEdgesOut();
65   
66   Standard_EXPORT void Dump() const;
67   
68   Standard_EXPORT const TopoDS_Edge& CurrentOut();
69   
70   Standard_EXPORT void AppendPassed (const TopoDS_Edge& anE);
71   
72   Standard_EXPORT void RemovePassed();
73   
74   Standard_EXPORT const TopTools_ListOfShape& ListPassed() const;
75   
76   Standard_EXPORT void Prepare (const TopTools_ListOfShape& aL);
77
78
79
80
81 protected:
82
83
84
85
86
87 private:
88
89
90
91   TopoDS_Vertex myVertex;
92   TopoDS_Edge myCurrent;
93   TopoDS_Edge myCurrentIn;
94   Standard_Boolean mySmart;
95   TopTools_IndexedMapOfOrientedShape myEdgesIn;
96   TopTools_IndexedMapOfOrientedShape myEdgesOut;
97   TopTools_IndexedMapOfOrientedShape myLocalEdgesOut;
98   TopTools_ListOfShape myEdgesPassed;
99   Standard_Integer myFoundOut;
100
101
102 };
103
104
105
106
107
108
109
110 #endif // _TopOpeBRepBuild_VertexInfo_HeaderFile