0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / BOPAlgo / BOPAlgo_WireEdgeSet.hxx
1 // Created by: Peter KURNEV
2 // Copyright (c) 2010-2014 OPEN CASCADE SAS
3 // Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 // Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 //                         EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 //
7 // This file is part of Open CASCADE Technology software library.
8 //
9 // This library is free software; you can redistribute it and/or modify it under
10 // the terms of the GNU Lesser General Public License version 2.1 as published
11 // by the Free Software Foundation, with special exception defined in the file
12 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 // distribution for complete text of the license and disclaimer of any warranty.
14 //
15 // Alternatively, this file may be used under the terms of Open CASCADE
16 // commercial license or contractual agreement.
17
18 #ifndef _BOPAlgo_WireEdgeSet_HeaderFile
19 #define _BOPAlgo_WireEdgeSet_HeaderFile
20
21 #include <Standard.hxx>
22 #include <Standard_DefineAlloc.hxx>
23 #include <Standard_Handle.hxx>
24
25 #include <NCollection_BaseAllocator.hxx>
26 #include <TopoDS_Face.hxx>
27 #include <TopTools_ListOfShape.hxx>
28 class TopoDS_Face;
29 class TopoDS_Shape;
30
31
32
33 class BOPAlgo_WireEdgeSet 
34 {
35 public:
36
37   DEFINE_STANDARD_ALLOC
38
39   
40     BOPAlgo_WireEdgeSet();
41  virtual ~BOPAlgo_WireEdgeSet();
42   
43     BOPAlgo_WireEdgeSet(const Handle(NCollection_BaseAllocator)& theAllocator);
44   
45     void Clear();
46   
47     void SetFace (const TopoDS_Face& aF);
48   
49     const TopoDS_Face& Face() const;
50   
51     void AddStartElement (const TopoDS_Shape& sS);
52   
53     const TopTools_ListOfShape& StartElements() const;
54   
55     void AddShape (const TopoDS_Shape& sS);
56   
57     const TopTools_ListOfShape& Shapes() const;
58
59
60
61
62 protected:
63
64
65
66   TopoDS_Face myFace;
67   TopTools_ListOfShape myStartShapes;
68   TopTools_ListOfShape myShapes;
69
70
71 private:
72
73
74
75
76
77 };
78
79
80 #include <BOPAlgo_WireEdgeSet.lxx>
81
82
83
84
85
86 #endif // _BOPAlgo_WireEdgeSet_HeaderFile