0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / BRepFill / BRepFill_TrimShellCorner.hxx
CommitLineData
42cf5bc1 1// Created on: 2003-10-21
2// Created by: Mikhail KLOKOV
3// Copyright (c) 2003-2014 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#ifndef _BRepFill_TrimShellCorner_HeaderFile
17#define _BRepFill_TrimShellCorner_HeaderFile
18
19#include <Standard.hxx>
20#include <Standard_DefineAlloc.hxx>
21#include <Standard_Handle.hxx>
22
23#include <gp_Ax2.hxx>
24#include <TopoDS_Shape.hxx>
25#include <TopoDS_Wire.hxx>
26#include <TopoDS_Face.hxx>
27#include <TopTools_HArray2OfShape.hxx>
28#include <Standard_Boolean.hxx>
29#include <TopTools_DataMapOfShapeListOfShape.hxx>
30#include <TopTools_ListOfShape.hxx>
31class gp_Ax2;
32class TopoDS_Face;
33class TopoDS_Wire;
34class TopoDS_Shape;
35
36
37
38class BRepFill_TrimShellCorner
39{
40public:
41
42 DEFINE_STANDARD_ALLOC
43
44
45 Standard_EXPORT BRepFill_TrimShellCorner(const Handle(TopTools_HArray2OfShape)& theFaces, const gp_Ax2& theAxeOfBisPlane, const TopoDS_Face& theSecPlane);
46
47 Standard_EXPORT BRepFill_TrimShellCorner(const Handle(TopTools_HArray2OfShape)& theFaces, const gp_Ax2& theAxeOfBisPlane, const TopoDS_Wire& theSpine, const TopoDS_Face& theSecPlane);
48
49 Standard_EXPORT void SetSpine (const TopoDS_Wire& theSpine);
50
51 Standard_EXPORT void AddBounds (const Handle(TopTools_HArray2OfShape)& Bounds);
52
53 Standard_EXPORT void AddUEdges (const Handle(TopTools_HArray2OfShape)& theUEdges);
54
55 Standard_EXPORT void Perform();
56
57 Standard_EXPORT Standard_Boolean IsDone() const;
58
59 Standard_EXPORT Standard_Boolean HasSection() const;
60
61 Standard_EXPORT void Modified (const TopoDS_Shape& S, TopTools_ListOfShape& theModified);
62
63
64
65
66protected:
67
68
69
70
71
72private:
73
74
75
76 gp_Ax2 myAxeOfBisPlane;
77 TopoDS_Shape myShape1;
78 TopoDS_Shape myShape2;
79 TopoDS_Wire mySpine;
80 TopoDS_Face mySecPln;
81 Handle(TopTools_HArray2OfShape) myBounds;
82 Handle(TopTools_HArray2OfShape) myUEdges;
83 Handle(TopTools_HArray2OfShape) myFaces;
84 Standard_Boolean myDone;
85 Standard_Boolean myHasSection;
86 TopTools_DataMapOfShapeListOfShape myHistMap;
87
88
89};
90
91
92
93
94
95
96
97#endif // _BRepFill_TrimShellCorner_HeaderFile