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_ShapeInfo.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
21
#ifndef _GEOMAlgo_ShapeInfo_HeaderFile
22
#define _GEOMAlgo_ShapeInfo_HeaderFile
23
24
#include <Standard.hxx>
25
#include <Standard_Macro.hxx>
26
#include <TopAbs_ShapeEnum.hxx>
27
#include <Standard_Integer.hxx>
28
29
30
#include <gp_Pnt.hxx>
31
#include <gp_Dir.hxx>
32
#include <gp_Ax3.hxx>
33
#include <Standard_Real.hxx>
34
#include <gp_Ax2.hxx>
35
36
#include <
GEOMAlgo_KindOfShape.hxx
>
37
#include <
GEOMAlgo_KindOfName.hxx
>
38
#include <
GEOMAlgo_KindOfBounds.hxx
>
39
#include <
GEOMAlgo_KindOfClosed.hxx
>
40
#include <
GEOMAlgo_KindOfDef.hxx
>
41
42
43
//=======================================================================
44
//class : GEOMAlgo_ShapeInfo
45
//purpose :
46
//=======================================================================
47
class
GEOMAlgo_ShapeInfo
48
{
49
public
:
50
Standard_EXPORT
51
GEOMAlgo_ShapeInfo
();
52
53
Standard_EXPORT
54
virtual
~GEOMAlgo_ShapeInfo
();
55
56
Standard_EXPORT
57
void
Reset
() ;
58
59
Standard_EXPORT
60
void
SetType
(
const
TopAbs_ShapeEnum aType) ;
61
62
Standard_EXPORT
63
TopAbs_ShapeEnum
Type
()
const
;
64
65
Standard_EXPORT
66
void
SetNbSubShapes
(
const
TopAbs_ShapeEnum aType,
67
const
Standard_Integer aNb) ;
68
69
Standard_EXPORT
70
Standard_Integer
NbSubShapes
(
const
TopAbs_ShapeEnum aType)
const
;
71
72
Standard_EXPORT
73
void
SetKindOfShape
(
const
GEOMAlgo_KindOfShape
aT) ;
74
75
Standard_EXPORT
76
GEOMAlgo_KindOfShape
KindOfShape
()
const
;
77
78
Standard_EXPORT
79
void
SetKindOfName
(
const
GEOMAlgo_KindOfName
aT) ;
80
81
Standard_EXPORT
82
GEOMAlgo_KindOfName
KindOfName
()
const
;
83
84
Standard_EXPORT
85
void
SetKindOfBounds
(
const
GEOMAlgo_KindOfBounds
aT) ;
86
87
Standard_EXPORT
88
GEOMAlgo_KindOfBounds
KindOfBounds
()
const
;
89
90
Standard_EXPORT
91
void
SetKindOfClosed
(
const
GEOMAlgo_KindOfClosed
aT) ;
92
93
Standard_EXPORT
94
GEOMAlgo_KindOfClosed
KindOfClosed
()
const
;
95
96
Standard_EXPORT
97
void
SetKindOfDef
(
const
GEOMAlgo_KindOfDef
aT) ;
98
99
Standard_EXPORT
100
GEOMAlgo_KindOfDef
KindOfDef
()
const
;
101
102
Standard_EXPORT
103
void
SetLocation
(
const
gp_Pnt& aP) ;
104
105
Standard_EXPORT
106
const
gp_Pnt&
Location
()
const
;
107
108
Standard_EXPORT
109
void
SetDirection
(
const
gp_Dir& aD) ;
110
111
Standard_EXPORT
112
const
gp_Dir&
Direction
()
const
;
113
114
Standard_EXPORT
115
void
SetPosition
(
const
gp_Ax2& aAx2) ;
116
117
Standard_EXPORT
118
void
SetPosition
(
const
gp_Ax3& aAx3) ;
119
120
Standard_EXPORT
121
const
gp_Ax3&
Position
()
const
;
122
123
Standard_EXPORT
124
void
SetPnt1
(
const
gp_Pnt& aP) ;
125
126
Standard_EXPORT
127
const
gp_Pnt&
Pnt1
()
const
;
128
129
Standard_EXPORT
130
void
SetPnt2
(
const
gp_Pnt& aP) ;
131
132
Standard_EXPORT
133
const
gp_Pnt&
Pnt2
()
const
;
134
135
Standard_EXPORT
136
void
SetRadius1
(
const
Standard_Real aR) ;
137
138
Standard_EXPORT
139
Standard_Real
Radius1
()
const
;
140
141
Standard_EXPORT
142
void
SetRadius2
(
const
Standard_Real aR) ;
143
144
Standard_EXPORT
145
Standard_Real
Radius2
()
const
;
146
147
Standard_EXPORT
148
void
SetLength
(
const
Standard_Real aL) ;
149
150
Standard_EXPORT
151
Standard_Real
Length
()
const
;
152
153
Standard_EXPORT
154
void
SetWidth
(
const
Standard_Real aW) ;
155
156
Standard_EXPORT
157
Standard_Real
Width
()
const
;
158
159
Standard_EXPORT
160
void
SetHeight
(
const
Standard_Real aH) ;
161
162
Standard_EXPORT
163
Standard_Real
Height
()
const
;
164
165
Standard_EXPORT
166
void
Dump
()
const
;
167
168
protected
:
169
Standard_EXPORT
170
void
DumpVertex
()
const
;
171
172
Standard_EXPORT
173
void
DumpEdge
()
const
;
174
175
Standard_EXPORT
176
void
DumpWire
()
const
;
177
178
Standard_EXPORT
179
void
DumpFace
()
const
;
180
181
Standard_EXPORT
182
void
DumpShell
()
const
;
183
184
Standard_EXPORT
185
void
DumpSolid
()
const
;
186
187
Standard_EXPORT
188
void
DumpCompSolid
()
const
;
189
190
Standard_EXPORT
191
void
DumpCompound
()
const
;
192
193
194
TopAbs_ShapeEnum
myType
;
195
Standard_Integer
myNbSubShapes
[9];
196
GEOMAlgo_KindOfShape
myKindOfShape
;
197
GEOMAlgo_KindOfName
myKindOfName
;
198
GEOMAlgo_KindOfBounds
myKindOfBounds
;
199
GEOMAlgo_KindOfClosed
myKindOfClosed
;
200
GEOMAlgo_KindOfDef
myKindOfDef
;
201
gp_Pnt
myLocation
;
202
gp_Dir
myDirection
;
203
gp_Ax3
myPosition
;
204
Standard_Real
myRadius1
;
205
Standard_Real
myRadius2
;
206
Standard_Real
myLength
;
207
Standard_Real
myWidth
;
208
Standard_Real
myHeight
;
209
gp_Pnt
myPnt1
;
210
gp_Pnt
myPnt2
;
211
Standard_Integer
myNbTypes
;
212
};
213
#endif
src
GEOMAlgo
GEOMAlgo_ShapeInfo.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