0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / TopOpeBRepBuild / TopOpeBRepBuild_FaceAreaBuilder.hxx
CommitLineData
42cf5bc1 1// Created on: 1995-12-21
2// Created by: Jean Yves LEBEY
3// Copyright (c) 1995-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_FaceAreaBuilder_HeaderFile
18#define _TopOpeBRepBuild_FaceAreaBuilder_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <TopOpeBRepBuild_Area2dBuilder.hxx>
25#include <Standard_Boolean.hxx>
26class TopOpeBRepBuild_LoopSet;
27class TopOpeBRepBuild_LoopClassifier;
28
29
30
31//! The FaceAreaBuilder algorithm is used to construct Faces from a LoopSet,
32//! where the Loop is the composite topological object of the boundary,
33//! here wire or block of edges.
34//! The LoopSet gives an iteration on Loops.
35//! For each Loop it indicates if it is on the boundary (wire) or if it
36//! results from an interference (block of edges).
37//! The result of the FaceAreaBuilder is an iteration on areas.
38//! An area is described by a set of Loops.
39class TopOpeBRepBuild_FaceAreaBuilder : public TopOpeBRepBuild_Area2dBuilder
40{
41public:
42
43 DEFINE_STANDARD_ALLOC
44
45
46 Standard_EXPORT TopOpeBRepBuild_FaceAreaBuilder();
47
48 //! Creates a FaceAreaBuilder to build faces on
49 //! the (wires,blocks of edge) of <LS>, using the classifier <LC>.
50 Standard_EXPORT TopOpeBRepBuild_FaceAreaBuilder(TopOpeBRepBuild_LoopSet& LS, TopOpeBRepBuild_LoopClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
51
52 Standard_EXPORT void InitFaceAreaBuilder (TopOpeBRepBuild_LoopSet& LS, TopOpeBRepBuild_LoopClassifier& LC, const Standard_Boolean ForceClass = Standard_False);
53
54
55
56
57protected:
58
59
60
61
62
63private:
64
65
66
67
68
69};
70
71
72
73
74
75
76
77#endif // _TopOpeBRepBuild_FaceAreaBuilder_HeaderFile