Version: 8.3.0
Main Page
Namespaces
Classes
Files
File List
File Members
SALOME Geometry Developer
Namespaces
Classes
Files
File List
idl
src
AdvancedEngine
AdvancedGUI
ARCHIMEDE
BasicGUI
BlockFix
BlocksGUI
BooleanGUI
BREPPlugin
BuildGUI
CurveCreator
DependencyTree
DisplayGUI
DlgRef
EntityGUI
GenerationGUI
GEOM
GEOM_I
GEOM_I_Superv
GEOM_SWIG_WITHIHM
GEOMAlgo
GEOMAlgo_Algo.cxx
GEOMAlgo_Algo.hxx
GEOMAlgo_AlgoTools.cxx
GEOMAlgo_AlgoTools.hxx
GEOMAlgo_AlgoTools_1.cxx
GEOMAlgo_BndSphere.cxx
GEOMAlgo_BndSphere.hxx
GEOMAlgo_BndSphereTree.cxx
GEOMAlgo_BndSphereTree.hxx
GEOMAlgo_BoxBndTree.cxx
GEOMAlgo_BoxBndTree.hxx
GEOMAlgo_BuilderShape.cxx
GEOMAlgo_BuilderShape.hxx
GEOMAlgo_Clsf.cxx
GEOMAlgo_Clsf.hxx
GEOMAlgo_ClsfBox.cxx
GEOMAlgo_ClsfBox.hxx
GEOMAlgo_ClsfQuad.cxx
GEOMAlgo_ClsfQuad.hxx
GEOMAlgo_ClsfSolid.cxx
GEOMAlgo_ClsfSolid.hxx
GEOMAlgo_ClsfSurf.cxx
GEOMAlgo_ClsfSurf.hxx
GEOMAlgo_CoupleOfShapes.cxx
GEOMAlgo_CoupleOfShapes.hxx
GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx
GEOMAlgo_DataMapOfPassKeyInteger.hxx
GEOMAlgo_DataMapOfShapeMapOfShape.hxx
GEOMAlgo_DataMapOfShapePnt.hxx
GEOMAlgo_Extractor.cxx
GEOMAlgo_Extractor.hxx
GEOMAlgo_FinderShapeOn.cxx
GEOMAlgo_FinderShapeOn.hxx
GEOMAlgo_FinderShapeOn1.cxx
GEOMAlgo_FinderShapeOn1.hxx
GEOMAlgo_FinderShapeOn2.cxx
GEOMAlgo_FinderShapeOn2.hxx
GEOMAlgo_FinderShapeOnQuad.cxx
GEOMAlgo_FinderShapeOnQuad.hxx
GEOMAlgo_GetInPlace.cxx
GEOMAlgo_GetInPlace.hxx
GEOMAlgo_GetInPlace_1.cxx
GEOMAlgo_GetInPlace_2.cxx
GEOMAlgo_GetInPlace_3.cxx
GEOMAlgo_GetInPlaceAPI.cxx
GEOMAlgo_GetInPlaceAPI.hxx
GEOMAlgo_GlueAnalyser.cxx
GEOMAlgo_GlueAnalyser.hxx
GEOMAlgo_GlueDetector.cxx
GEOMAlgo_GlueDetector.hxx
GEOMAlgo_Gluer.cxx
GEOMAlgo_Gluer.hxx
GEOMAlgo_Gluer2.cxx
GEOMAlgo_Gluer2.hxx
GEOMAlgo_Gluer2_1.cxx
GEOMAlgo_Gluer2_2.cxx
GEOMAlgo_Gluer2_3.cxx
GEOMAlgo_GluerAlgo.cxx
GEOMAlgo_GluerAlgo.hxx
GEOMAlgo_HAlgo.cxx
GEOMAlgo_HAlgo.hxx
GEOMAlgo_IndexedDataMapOfIntegerShape.hxx
GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx
GEOMAlgo_IndexedDataMapOfShapeBndSphere.hxx
GEOMAlgo_IndexedDataMapOfShapeBox.hxx
GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape.hxx
GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx
GEOMAlgo_IndexedDataMapOfShapeState.hxx
GEOMAlgo_KindOfBounds.hxx
GEOMAlgo_KindOfClosed.hxx
GEOMAlgo_KindOfDef.hxx
GEOMAlgo_KindOfName.hxx
GEOMAlgo_KindOfShape.hxx
GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
GEOMAlgo_ListIteratorOfListOfPnt.hxx
GEOMAlgo_ListOfCoupleOfShapes.hxx
GEOMAlgo_ListOfPnt.hxx
GEOMAlgo_PassKey.cxx
GEOMAlgo_PassKey.hxx
GEOMAlgo_PassKeyMapHasher.cxx
GEOMAlgo_PassKeyMapHasher.hxx
GEOMAlgo_PassKeyShape.cxx
GEOMAlgo_PassKeyShape.hxx
GEOMAlgo_PassKeyShapeMapHasher.cxx
GEOMAlgo_PassKeyShapeMapHasher.hxx
GEOMAlgo_RemoverWebs.cxx
GEOMAlgo_RemoverWebs.hxx
GEOMAlgo_ShapeAlgo.cxx
GEOMAlgo_ShapeAlgo.hxx
GEOMAlgo_ShapeInfo.cxx
GEOMAlgo_ShapeInfo.hxx
GEOMAlgo_ShapeInfoFiller.cxx
GEOMAlgo_ShapeInfoFiller.hxx
GEOMAlgo_ShapeInfoFiller_1.cxx
GEOMAlgo_ShapeSolid.cxx
GEOMAlgo_ShapeSolid.hxx
GEOMAlgo_ShellSolid.cxx
GEOMAlgo_ShellSolid.hxx
GEOMAlgo_SolidSolid.cxx
GEOMAlgo_SolidSolid.hxx
GEOMAlgo_Splitter.cxx
GEOMAlgo_Splitter.hxx
GEOMAlgo_State.hxx
GEOMAlgo_StateCollector.cxx
GEOMAlgo_StateCollector.hxx
GEOMAlgo_SurfaceTools.cxx
GEOMAlgo_SurfaceTools.hxx
GEOMAlgo_VertexSolid.cxx
GEOMAlgo_VertexSolid.hxx
GEOMAlgo_WireSolid.cxx
GEOMAlgo_WireSolid.hxx
GEOMBase
GEOMClient
GEOMFiltersSelection
GEOMGUI
GEOMImpl
GEOMToolsGUI
GEOMUtils
GroupGUI
IGESPlugin
Material
MeasureGUI
OBJECT
OCC2VTK
OperationGUI
PrimitiveGUI
RepairGUI
ShapeRecognition
ShHealOper
SKETCHER
STEPPlugin
STLPlugin
TransformationGUI
VTKPlugin
XAO
XAOPlugin
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
GEOMAlgo_ShapeInfoFiller.hxx
Go to the documentation of this file.
1
// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2
//
3
// This library is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU Lesser General Public
5
// License as published by the Free Software Foundation; either
6
// version 2.1 of the License, or (at your option) any later version.
7
//
8
// This library is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public
14
// License along with this library; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
#ifndef _GEOMAlgo_ShapeInfoFiller_HeaderFile
21
#define _GEOMAlgo_ShapeInfoFiller_HeaderFile
22
23
#include <Standard.hxx>
24
#include <Standard_Macro.hxx>
25
#include <Standard_Real.hxx>
26
27
#include <gp_Pln.hxx>
28
#include <gp_Sphere.hxx>
29
#include <gp_Cylinder.hxx>
30
#include <gp_Cone.hxx>
31
#include <gp_Torus.hxx>
32
33
#include <GeomAbs_CurveType.hxx>
34
#include <GeomAbs_SurfaceType.hxx>
35
36
#include <TopoDS_Solid.hxx>
37
#include <TopoDS_Shape.hxx>
38
#include <TopoDS_Face.hxx>
39
40
#include <
GEOMAlgo_ShapeInfo.hxx
>
41
#include <
GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx
>
42
#include <
GEOMAlgo_Algo.hxx
>
43
44
//=======================================================================
45
//class : GEOMAlgo_ShapeInfoFiller
46
//purpose :
47
//=======================================================================
48
class
GEOMAlgo_ShapeInfoFiller
:
public
GEOMAlgo_Algo
49
{
50
public
:
51
Standard_EXPORT
52
GEOMAlgo_ShapeInfoFiller
();
53
54
Standard_EXPORT
55
virtual
~GEOMAlgo_ShapeInfoFiller
();
56
57
Standard_EXPORT
58
void
SetShape
(
const
TopoDS_Shape& aS) ;
59
60
Standard_EXPORT
61
const
TopoDS_Shape&
Shape
()
const
;
62
63
Standard_EXPORT
64
void
SetTolerance
(
const
Standard_Real aT) ;
65
66
Standard_EXPORT
67
Standard_Real
Tolerance
()
const
;
68
69
Standard_EXPORT
70
const
GEOMAlgo_ShapeInfo
&
Info
()
const
;
71
72
Standard_EXPORT
73
const
GEOMAlgo_ShapeInfo
&
Info
(
const
TopoDS_Shape& aS)
const
;
74
75
Standard_EXPORT
76
virtual
void
Perform
() ;
77
78
protected
:
79
Standard_EXPORT
80
virtual
void
CheckData
() ;
81
82
Standard_EXPORT
83
void
FillNbSubShapes
(
const
TopoDS_Shape& aS,
GEOMAlgo_ShapeInfo
& aInfo) ;
84
85
Standard_EXPORT
86
void
FillSubShapes
(
const
TopoDS_Shape& aS) ;
87
88
Standard_EXPORT
89
void
FillShape
(
const
TopoDS_Shape& aS) ;
90
91
Standard_EXPORT
92
void
FillVertex
(
const
TopoDS_Shape& aS) ;
93
94
Standard_EXPORT
95
void
FillEdge
(
const
TopoDS_Shape& aS) ;
96
97
Standard_EXPORT
98
void
FillFace
(
const
TopoDS_Shape& aS) ;
99
100
Standard_EXPORT
101
void
FillSolid
(
const
TopoDS_Shape& aS) ;
102
103
Standard_EXPORT
104
void
FillContainer
(
const
TopoDS_Shape& aS) ;
105
106
Standard_EXPORT
107
void
FillDetails
(
const
TopoDS_Face& aF,
const
gp_Pln&
aPln
) ;
108
109
Standard_EXPORT
110
void
FillDetails
(
const
TopoDS_Face& aF,
const
gp_Sphere& aSph) ;
111
112
Standard_EXPORT
113
void
FillDetails
(
const
TopoDS_Face& aF,
const
gp_Cylinder& aCyl) ;
114
115
Standard_EXPORT
116
void
FillDetails
(
const
TopoDS_Face& aF,
const
gp_Cone& aCone) ;
117
118
Standard_EXPORT
119
void
FillDetails
(
const
TopoDS_Face& aF,
const
gp_Torus& aTorus) ;
120
121
Standard_EXPORT
122
void
FillDetails
(
const
TopoDS_Solid& aS) ;
123
124
//modified by NIZNHY-PKV Tue Jul 03 13:31:43 2012f
125
Standard_EXPORT
126
Standard_Boolean
TreatStepSphere
(
const
TopoDS_Solid& aS);
127
128
Standard_EXPORT
static
129
Standard_Boolean
IsAllowedType
(
const
GeomAbs_CurveType aCT);
130
131
Standard_EXPORT
static
132
Standard_Boolean
IsAllowedType
(
const
GeomAbs_SurfaceType aST);
133
134
Standard_EXPORT
static
135
Standard_Integer
NbWires
(
const
TopoDS_Face& aF);
136
137
Standard_EXPORT
static
138
Standard_Integer
NbShells
(
const
TopoDS_Solid& aS);
139
//modified by NIZNHY-PKV Tue Jul 03 13:31:49 2012t
140
141
TopoDS_Shape
myShape
;
142
GEOMAlgo_ShapeInfo
myEmptyInfo
;
143
GEOMAlgo_IndexedDataMapOfShapeShapeInfo
myMapInfo
;
144
Standard_Real
myTolerance
;
145
};
146
147
#endif
src
GEOMAlgo
GEOMAlgo_ShapeInfoFiller.hxx
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS