23#ifndef _SMESH_CONTROLSDEF_HXX_
24#define _SMESH_CONTROLSDEF_HXX_
32#include <GeomAPI_ProjectPointOnCurve.hxx>
33#include <GeomAPI_ProjectPointOnSurf.hxx>
34#include <Quantity_Color.hxx>
35#include <TColStd_MapOfInteger.hxx>
36#include <TCollection_AsciiString.hxx>
37#include <NCollection_Map.hxx>
39#include <TopoDS_Face.hxx>
46#include <boost/shared_ptr.hpp>
57class BRepClass3d_SolidClassifier;
58class ShapeAnalysis_Surface;
62typedef NCollection_Map< smIdType, smIdHasher >
TIDsMap;
63typedef NCollection_Sequence<smIdType>
TIDsSeq;
81 template <
class InputIterator>
90 const gp_XYZ& operator()(
size_type n)
const;
96 void push_back(
const gp_XYZ& v);
122 void SetMesh(
const SMDS_Mesh* theMesh );
124 bool IsMeshModified();
134 virtual void SetMesh(
const SMDS_Mesh* theMesh );
135 virtual double GetValue(
long theElementId );
138 std::vector<int>& nbEvents,
139 std::vector<double>& funValues,
140 const std::vector<::smIdType>& elements,
141 const double* minmax=0,
142 const bool isLogarithmic =
false);
146 virtual double GetBadRate(
double Value,
int nbNodes )
const = 0;
147 long GetPrecision()
const;
148 void SetPrecision(
const long thePrecision );
149 double Round(
const double & value );
167 virtual double GetValue(
long theElementId );
169 virtual double GetBadRate(
double Value,
int nbNodes )
const;
180 virtual double GetValue(
long theElementId );
182 virtual double GetBadRate(
double Value,
int nbNodes )
const;
193 virtual double GetValue(
long theElementId );
194 virtual double GetBadRate(
double Value,
int nbNodes )
const;
206 virtual double GetBadRate(
double Value,
int nbNodes )
const;
217 virtual double GetValue(
long theElementId );
219 virtual double GetBadRate(
double Value,
int nbNodes )
const;
231 virtual double GetValue(
long theElementId );
233 virtual double GetBadRate(
double Value,
int nbNodes )
const;
246 virtual double GetBadRate(
double Value,
int nbNodes )
const;
251 double ComputeA(
const gp_XYZ&,
const gp_XYZ&,
const gp_XYZ&,
const gp_XYZ& )
const;
263 virtual double GetValue(
long theId);
273 void GetValues(
WValues& theValues);
276 void ProcessVolumeELement(
WValues& theValues);
288 virtual double GetBadRate(
double Value,
int nbNodes )
const;
300 virtual double GetBadRate(
double Value,
int nbNodes )
const;
313 virtual double GetBadRate(
double Value,
int nbNodes )
const;
325 virtual double GetBadRate(
double Value,
int nbNodes )
const;
338 virtual double GetBadRate(
double Value,
int nbNodes )
const;
343 Value(
double theLength,
long thePntId1,
long thePntId2);
347 void GetValues(
TValues& theValues);
370 virtual void SetMesh(
const SMDS_Mesh* theMesh );
372 virtual double GetBadRate(
double Value,
int nbNodes )
const;
386 virtual double GetValue(
long theElementId );
388 virtual double GetBadRate(
double Value,
int nbNodes )
const;
398 virtual double GetValue(
long theElementId );
400 virtual double GetBadRate(
double Value,
int nbNodes )
const;
404 Value(
long thePntId1,
long thePntId2);
409 void GetValues(
MValues& theValues);
419 virtual double GetValue(
long theElementId );
420 virtual double GetBadRate(
double Value,
int nbNodes )
const;
430 virtual double GetValue(
long theNodeId );
431 virtual double GetBadRate(
double Value,
int nbNodes )
const;
441 virtual double GetValue(
long theNodeId );
442 virtual double GetBadRate(
double Value,
int nbNodes )
const;
459 virtual void SetMesh(
const SMDS_Mesh* theMesh );
460 virtual bool IsSatisfy(
long theElementId );
463 void SetTolerance (
const double theToler);
481 virtual void SetMesh(
const SMDS_Mesh* theMesh );
482 virtual bool IsSatisfy(
long theElementId );
511 virtual void SetMesh(
const SMDS_Mesh* theMesh );
512 virtual bool IsSatisfy(
long theElementId );
528 virtual void SetMesh(
const SMDS_Mesh* theMesh );
529 virtual bool IsSatisfy(
long theElementId );
544 virtual void SetMesh(
const SMDS_Mesh* theMesh );
545 virtual bool IsSatisfy(
long theElementId );
569 virtual bool IsSatisfy(
long theElementId );
585 virtual bool IsSatisfy(
long theElementId );
602 virtual bool IsSatisfy(
long theElementId );
618 virtual bool IsSatisfy(
long theElementId );
632 virtual void SetMesh(
const SMDS_Mesh* theMesh );
633 virtual bool IsSatisfy(
long theElementId );
635 static bool IsFreeEdge(
const SMDS_MeshNode** theNodes, const ::smIdType theFaceId );
640 Border(
long theElemId,
long thePntId1,
long thePntId2);
644 void GetBoreders(
TBorders& theBorders);
660 virtual void SetMesh(
const SMDS_Mesh* theMesh );
661 virtual bool IsSatisfy(
long theNodeId );
682 virtual void SetMesh(
const SMDS_Mesh* theMesh );
683 virtual bool IsSatisfy(
long theNodeId );
687 bool AddToRange(
long theEntityId );
688 void GetRangeStr( TCollection_AsciiString& );
689 bool SetRangeStr(
const TCollection_AsciiString& );
712 virtual void SetMesh(
const SMDS_Mesh* theMesh );
713 virtual void SetMargin(
double theValue);
732 virtual bool IsSatisfy(
long theElementId );
743 virtual bool IsSatisfy(
long theElementId );
756 virtual bool IsSatisfy(
long theElementId );
757 virtual void SetTolerance(
double theTol );
758 virtual double GetTolerance();
775 virtual bool IsSatisfy(
long theElementId );
776 virtual void SetMesh(
const SMDS_Mesh* theMesh );
794 virtual void SetMesh(
const SMDS_Mesh* theMesh );
812 virtual bool IsSatisfy(
long theElementId );
823 virtual bool IsSatisfy(
long theElementId );
862 virtual void SetMesh(
const SMDS_Mesh* theMesh );
864 virtual bool IsSatisfy(
long theElementId );
867 void SetAngleTolerance(
const double theAngToler );
868 double GetAngleTolerance()
const;
869 void SetIsOnlyManifold(
const bool theIsOnly );
870 void SetStartElem(
const long theStartElemId );
880 void expandBoundary(
TMapOfLink& theMapOfBoundary,
886 void getFacesByLink(
const Link& theLink,
911 virtual void SetMesh(
const SMDS_Mesh* theMesh );
912 virtual bool IsSatisfy(
long theElementId );
916 void SetStoreName(
const std::string& sn );
935 virtual void SetMesh(
const SMDS_Mesh* theMesh );
936 virtual bool IsSatisfy(
long theElementId );
939 void SetTolerance(
const double theToler );
940 double GetTolerance()
const;
941 void SetSurface(
const TopoDS_Shape& theShape,
943 void SetUseBoundaries(
bool theUse );
976 virtual void SetMesh (
const SMDS_Mesh* theMesh);
977 virtual bool IsSatisfy (
long theElementId);
980 void SetTolerance (
const double theToler);
981 double GetTolerance()
const;
982 void SetAllNodes (
bool theAllNodes);
984 void SetShape (
const TopoDS_Shape& theShape,
987 bool IsSatisfy (
const SMDS_MeshNode* node, TopoDS_Shape* okShape=0);
988 void GetParams(
double & u,
double & v )
const { u = myU; v = myV; }
992 struct OctreeClassifier;
994 void clearClassifiers();
1026 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1027 virtual void SetGeom(
const TopoDS_Shape& theShape );
1029 virtual bool IsSatisfy(
long theElementId );
1034 TopoDS_Shape GetShape();
1037 void SetTolerance(
double );
1038 double GetTolerance();
1041 virtual void init();
1064 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1065 virtual void SetGeom(
const TopoDS_Shape& theShape );
1067 virtual bool IsSatisfy(
long theElementId );
1072 TopoDS_Shape GetShape();
1075 void SetTolerance(
double );
1076 double GetTolerance();
1079 virtual void init();
1099 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1100 virtual bool IsSatisfy(
long theElementId );
1115 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1116 virtual bool IsSatisfy(
long theElementId );
1134 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1135 virtual bool IsSatisfy(
long theElementId );
1138 void SetColorStr(
const TCollection_AsciiString& );
1139 void GetColorStr( TCollection_AsciiString& )
const;
1158 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1159 virtual bool IsSatisfy(
long theElementId );
1187 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1188 virtual bool IsSatisfy(
long theElementId );
1208 void SetPoint(
double x,
double y,
double z );
1209 ::smIdType GetNode()
const;
1210 std::vector<double> GetPoint()
const;
1215 virtual void SetMesh(
const SMDS_Mesh* theMesh );
1216 virtual bool IsSatisfy(
long theElementId );
1245 GetElementsId(
const SMDS_Mesh* theMesh,
1251 GetElementsId(
const SMDS_Mesh* theMesh,
SMDSAbs_GeometryType
enumeration for element geometry type
Definition: SMDSAbs_ElementType.hxx:47
SMDSAbs_ElementType
Type (node, edge, face or volume) of elements.
Definition: SMDSAbs_ElementType.hxx:34
@ SMDSAbs_Face
Definition: SMDSAbs_ElementType.hxx:38
@ SMDSAbs_Volume
Definition: SMDSAbs_ElementType.hxx:39
SMDSAbs_EntityType
Enumeration of entity type used in mesh info array.
Definition: SMDSAbs_ElementType.hxx:79
boost::shared_ptr< SMDS_Iterator< const SMDS_MeshElement * > > SMDS_ElemIteratorPtr
Definition: SMDS_ElemIterator.hxx:43
NCollection_Sequence< smIdType > TIDsSeq
Definition: SMESH_ControlsDef.hxx:63
NCollection_Map< smIdType, smIdHasher > TIDsMap
Definition: SMESH_ControlsDef.hxx:62
#define SMESHCONTROLS_EXPORT
Definition: SMESH_Controls.hxx:41
bool process(const TCollection_AsciiString &str, int convMode, bool &syntax, bool &args, bool &non_neg, bool &non_zero, bool &singulars, double &sing_point)
this function parses the expression 'str' in order to check if syntax is correct ( result in 'syntax'...
Definition: StdMeshers_NumberOfSegments.cxx:358
Base class for elements.
Definition: SMDS_MeshElement.hxx:56
Mesh face.
Definition: SMDS_MeshFace.hxx:41
Definition: SMDS_MeshNode.hxx:36
Definition: SMDS_Mesh.hxx:53
Definition: SMESHDS_GroupBase.hxx:42
Definition: SMESHDS_Mesh.hxx:98
Definition: SMESHDS_SubMesh.hxx:48
Definition: SMESH_ControlsDef.hxx:310
Definition: SMESH_ControlsDef.hxx:229
Definition: SMESH_ControlsDef.hxx:215
Definition: SMESH_ControlsDef.hxx:524
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:533
Definition: SMESH_ControlsDef.hxx:417
Definition: SMESH_ControlsDef.hxx:579
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:587
virtual SMDSAbs_ElementType GetType() const
Definition: SMESH_ControlsDef.hxx:584
virtual void SetMesh(const SMDS_Mesh *theMesh)
Definition: SMESH_ControlsDef.hxx:583
std::vector< const SMDS_MeshNode * > myLinkNodes
Definition: SMESH_ControlsDef.hxx:588
BareBorderFace()
Definition: SMESH_ControlsDef.hxx:581
Definition: SMESH_ControlsDef.hxx:563
BareBorderVolume()
Definition: SMESH_ControlsDef.hxx:565
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:571
virtual void SetMesh(const SMDS_Mesh *theMesh)
Definition: SMESH_ControlsDef.hxx:567
virtual Predicate * clone() const
Definition: SMESH_ControlsDef.hxx:566
virtual SMDSAbs_ElementType GetType() const
Definition: SMESH_ControlsDef.hxx:568
Definition: SMESH_ControlsDef.hxx:1021
TopoDS_Shape myShape
Definition: SMESH_ControlsDef.hxx:1043
TColStd_MapOfInteger mySubShapesIDs
Definition: SMESH_ControlsDef.hxx:1044
const SMESHDS_Mesh * myMeshDS
Definition: SMESH_ControlsDef.hxx:1045
bool myIsSubshape
Definition: SMESH_ControlsDef.hxx:1047
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1046
double myTolerance
Definition: SMESH_ControlsDef.hxx:1048
Controls::ElementsOnShapePtr myElementsOnShapePtr
Definition: SMESH_ControlsDef.hxx:1049
Definition: SMESH_ControlsDef.hxx:907
const SMESHDS_GroupBase * GetGroup() const
Definition: SMESH_ControlsDef.hxx:917
SMESHDS_GroupBase * myGroup
Definition: SMESH_ControlsDef.hxx:920
std::string myStoreName
Definition: SMESH_ControlsDef.hxx:921
Definition: SMESH_ControlsDef.hxx:487
Definition: SMESH_ControlsDef.hxx:492
Definition: SMESH_ControlsDef.hxx:497
Definition: SMESH_ControlsDef.hxx:478
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:485
Definition: SMESH_ControlsDef.hxx:455
TMeshModifTracer myMeshModifTracer
Definition: SMESH_ControlsDef.hxx:469
TIDsMap myCoincidentIDs
Definition: SMESH_ControlsDef.hxx:468
double GetTolerance() const
Definition: SMESH_ControlsDef.hxx:464
double myToler
Definition: SMESH_ControlsDef.hxx:467
Definition: SMESH_ControlsDef.hxx:708
virtual bool IsSatisfy(long theElementId)=0
NumericalFunctorPtr myFunctor
Definition: SMESH_ControlsDef.hxx:721
double myMargin
Definition: SMESH_ControlsDef.hxx:720
Definition: SMESH_ControlsDef.hxx:1203
std::set<::smIdType > myOkIDs
Definition: SMESH_ControlsDef.hxx:1228
TMeshModifTracer myMeshModifTracer
Definition: SMESH_ControlsDef.hxx:1224
std::vector< double > myXYZ
Definition: SMESH_ControlsDef.hxx:1222
void SetNode(::smIdType nodeID)
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1223
bool myOkIDsReady
Definition: SMESH_ControlsDef.hxx:1227
::smIdType myNodeID
Definition: SMESH_ControlsDef.hxx:1221
Definition: SMESH_ControlsDef.hxx:1177
long myFaceID
Definition: SMESH_ControlsDef.hxx:1192
virtual SMDSAbs_ElementType GetType() const
Definition: SMESH_ControlsDef.hxx:1185
void SetTolerance(const double theToler)
Definition: SMESH_ControlsDef.hxx:1183
TMeshModifTracer myMeshModifTracer
Definition: SMESH_ControlsDef.hxx:1191
double myToler
Definition: SMESH_ControlsDef.hxx:1193
TIDsMap myCoplanarIDs
Definition: SMESH_ControlsDef.hxx:1194
double GetTolerance() const
Definition: SMESH_ControlsDef.hxx:1184
long GetFace() const
Definition: SMESH_ControlsDef.hxx:1182
void SetFace(long theID)
Definition: SMESH_ControlsDef.hxx:1181
Definition: SMESH_ControlsDef.hxx:368
int myShapeIndex
Definition: SMESH_ControlsDef.hxx:376
boost::shared_ptr< gp_Pln > myPlane
Definition: SMESH_ControlsDef.hxx:377
Handle(ShapeAnalysis_Surface) mySurface
Definition: SMESH_ControlsDef.hxx:540
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:553
SMDSAbs_EntityType myEntityType
Definition: SMESH_ControlsDef.hxx:554
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:552
Definition: SMESH_ControlsDef.hxx:1154
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:1166
SMDSAbs_GeometryType myGeomType
Definition: SMESH_ControlsDef.hxx:1168
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1167
Definition: SMESH_ControlsDef.hxx:970
std::vector< Classifier > myClassifiers
Definition: SMESH_ControlsDef.hxx:998
std::vector< Classifier * > myWorkClassifiers
Definition: SMESH_ControlsDef.hxx:999
std::vector< bool > myNodeIsOut
Definition: SMESH_ControlsDef.hxx:1009
bool GetAllNodes() const
Definition: SMESH_ControlsDef.hxx:983
TMeshModifTracer myMeshModifTracer
Definition: SMESH_ControlsDef.hxx:1007
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1001
double myU
Definition: SMESH_ControlsDef.hxx:1004
OctreeClassifier * myOctree
Definition: SMESH_ControlsDef.hxx:1000
bool myAllNodesFlag
Definition: SMESH_ControlsDef.hxx:1005
TopoDS_Shape myShape
Definition: SMESH_ControlsDef.hxx:1002
void GetParams(double &u, double &v) const
Definition: SMESH_ControlsDef.hxx:988
double myToler
Definition: SMESH_ControlsDef.hxx:1003
std::vector< bool > myNodeIsChecked
Definition: SMESH_ControlsDef.hxx:1008
Definition: SMESH_ControlsDef.hxx:930
bool GetUseBoundaries() const
Definition: SMESH_ControlsDef.hxx:944
TIDsMap myIds
Definition: SMESH_ControlsDef.hxx:953
TMeshModifTracer myMeshModifTracer
Definition: SMESH_ControlsDef.hxx:952
bool myUseBoundaries
Definition: SMESH_ControlsDef.hxx:957
double myToler
Definition: SMESH_ControlsDef.hxx:956
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:954
TopoDS_Face mySurf
Definition: SMESH_ControlsDef.hxx:955
GeomAPI_ProjectPointOnSurf myProjector
Definition: SMESH_ControlsDef.hxx:958
Definition: SMESH_ControlsDef.hxx:752
double myToler
Definition: SMESH_ControlsDef.hxx:761
Definition: SMESH_ControlsDef.hxx:1235
PredicatePtr myPredicate
Definition: SMESH_ControlsDef.hxx:1257
std::vector< long > TIdSequence
Definition: SMESH_ControlsDef.hxx:1241
Definition: SMESH_ControlsDef.hxx:507
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:516
Definition: SMESH_ControlsDef.hxx:628
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:647
long TElemId
Definition: SMESH_ControlsDef.hxx:636
std::set< Border > TBorders
Definition: SMESH_ControlsDef.hxx:643
Definition: SMESH_ControlsDef.hxx:1095
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:1104
Definition: SMESH_ControlsDef.hxx:656
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:665
Definition: SMESH_Controls.hxx:54
Definition: SMESH_ControlsDef.hxx:1130
TIDs myIDs
Definition: SMESH_ControlsDef.hxx:1146
std::set< long > TIDs
Definition: SMESH_ControlsDef.hxx:1142
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1145
Quantity_Color myColor
Definition: SMESH_ControlsDef.hxx:1144
Definition: SMESH_ControlsDef.hxx:333
std::set< Value > TValues
Definition: SMESH_ControlsDef.hxx:346
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:350
Definition: SMESH_ControlsDef.hxx:358
Definition: SMESH_ControlsDef.hxx:322
Definition: SMESH_ControlsDef.hxx:730
Definition: SMESH_ControlsDef.hxx:1111
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:1121
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1122
Definition: SMESH_ControlsDef.hxx:810
Definition: SMESH_ControlsDef.hxx:790
PredicatePtr myPredicate2
Definition: SMESH_ControlsDef.hxx:801
PredicatePtr myPredicate1
Definition: SMESH_ControlsDef.hxx:800
Definition: SMESH_ControlsDef.hxx:770
PredicatePtr myPredicate
Definition: SMESH_ControlsDef.hxx:781
Definition: SMESH_ControlsDef.hxx:821
Definition: SMESH_ControlsDef.hxx:1059
Controls::ElementsOnShapePtr myElementsOnShapePtr
Definition: SMESH_ControlsDef.hxx:1087
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:1084
double myTolerance
Definition: SMESH_ControlsDef.hxx:1086
bool myIsSubshape
Definition: SMESH_ControlsDef.hxx:1085
TColStd_MapOfInteger mySubShapesIDs
Definition: SMESH_ControlsDef.hxx:1082
TopoDS_Shape myShape
Definition: SMESH_ControlsDef.hxx:1081
const SMESHDS_Mesh * myMeshDS
Definition: SMESH_ControlsDef.hxx:1083
Definition: SMESH_ControlsDef.hxx:837
SMDS_MeshNode * myNode2
Definition: SMESH_ControlsDef.hxx:847
SMDS_MeshNode * myNode1
Definition: SMESH_ControlsDef.hxx:846
Definition: SMESH_ControlsDef.hxx:832
bool myIsOnlyManifold
Definition: SMESH_ControlsDef.hxx:896
TDataMapFacePtrInt myAllFacePtrIntDMap
Definition: SMESH_ControlsDef.hxx:894
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:890
TIDsMap myMapBadGeomIds
Definition: SMESH_ControlsDef.hxx:892
TIDsMap myMapIds
Definition: SMESH_ControlsDef.hxx:891
TVectorOfFacePtr myAllFacePtr
Definition: SMESH_ControlsDef.hxx:893
double myAngToler
Definition: SMESH_ControlsDef.hxx:895
std::vector< SMDS_MeshFace * > TVectorOfFacePtr
Definition: SMESH_ControlsDef.hxx:854
std::map< SMDS_MeshFace *, int > TDataMapFacePtrInt
Definition: SMESH_ControlsDef.hxx:856
long myStartElemId
Definition: SMESH_ControlsDef.hxx:897
std::set< ManifoldPart::Link > TMapOfLink
Definition: SMESH_ControlsDef.hxx:853
std::map< ManifoldPart::Link, SMDS_MeshFace * > TDataMapOfLinkFacePtr
Definition: SMESH_ControlsDef.hxx:857
std::vector< ManifoldPart::Link > TVectorOfLink
Definition: SMESH_ControlsDef.hxx:855
Definition: SMESH_ControlsDef.hxx:178
Definition: SMESH_ControlsDef.hxx:191
Definition: SMESH_ControlsDef.hxx:203
Definition: SMESH_ControlsDef.hxx:741
Definition: SMESH_ControlsDef.hxx:396
std::map< Value, int > MValues
Definition: SMESH_ControlsDef.hxx:407
Definition: SMESH_ControlsDef.hxx:384
Definition: SMESH_ControlsDef.hxx:428
Definition: SMESH_ControlsDef.hxx:131
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:154
const SMDS_MeshElement * myCurrElement
Definition: SMESH_ControlsDef.hxx:155
void GetHistogram(int nbIntervals, std::vector< int > &nbEvents, std::vector< double > &funValues, const std::vector<::smIdType > &elements, const double *minmax=0, const bool isLogarithmic=false)
bool GetPoints(const ::smIdType theId, TSequenceOfXYZ &theRes) const
long myPrecision
Definition: SMESH_ControlsDef.hxx:156
double myPrecisionValue
Definition: SMESH_ControlsDef.hxx:157
virtual double GetBadRate(double Value, int nbNodes) const =0
virtual SMDSAbs_ElementType GetType() const =0
virtual double GetValue(const TSequenceOfXYZ &)
Definition: SMESH_ControlsDef.hxx:136
Definition: SMESH_ControlsDef.hxx:612
OverConstrainedFace()
Definition: SMESH_ControlsDef.hxx:614
virtual void SetMesh(const SMDS_Mesh *theMesh)
Definition: SMESH_ControlsDef.hxx:616
virtual SMDSAbs_ElementType GetType() const
Definition: SMESH_ControlsDef.hxx:617
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:620
Definition: SMESH_ControlsDef.hxx:596
virtual SMDSAbs_ElementType GetType() const
Definition: SMESH_ControlsDef.hxx:601
OverConstrainedVolume()
Definition: SMESH_ControlsDef.hxx:598
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:604
virtual Predicate * clone() const
Definition: SMESH_ControlsDef.hxx:599
virtual void SetMesh(const SMDS_Mesh *theMesh)
Definition: SMESH_ControlsDef.hxx:600
Definition: SMESH_Controls.hxx:70
Definition: SMESH_ControlsDef.hxx:678
TIDsMap myIds
Definition: SMESH_ControlsDef.hxx:696
std::vector< ::smIdType > myMin
Definition: SMESH_ControlsDef.hxx:694
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:692
SMDSAbs_ElementType myType
Definition: SMESH_ControlsDef.hxx:698
std::vector< ::smIdType > myMax
Definition: SMESH_ControlsDef.hxx:695
Definition: SMESH_ControlsDef.hxx:439
Definition: SMESH_ControlsDef.hxx:297
Class used to detect mesh modification: IsMeshModified() returns true if a mesh has changed since las...
Definition: SMESH_ControlsDef.hxx:117
const SMDS_Mesh * myMesh
Definition: SMESH_ControlsDef.hxx:119
const SMDS_Mesh * GetMesh() const
Definition: SMESH_ControlsDef.hxx:123
unsigned long myMeshModifTime
Definition: SMESH_ControlsDef.hxx:118
Definition: SMESH_ControlsDef.hxx:69
void setElement(const SMDS_MeshElement *e)
Definition: SMESH_ControlsDef.hxx:101
const SMDS_MeshElement * getElement() const
Definition: SMESH_ControlsDef.hxx:103
std::vector< gp_XYZ > myArray
Definition: SMESH_ControlsDef.hxx:108
const SMDS_MeshElement * myElem
Definition: SMESH_ControlsDef.hxx:109
std::vector< gp_XYZ >::size_type size_type
Definition: SMESH_ControlsDef.hxx:70
Definition: SMESH_ControlsDef.hxx:285
Definition: SMESH_ControlsDef.hxx:165
Definition: SMESH_ControlsDef.hxx:259
std::vector< Value > WValues
Definition: SMESH_ControlsDef.hxx:272
Definition: SMESH_ControlsDef.hxx:243
bool IsEqual(TFloat theLeft, TFloat theRight)
Definition: MED_GaussUtils.cxx:132
bool operator<(const TFamilyTSize &theLeft, const TFamilyTSize &theRight)
Compare two MED FAMILIES.
Definition: MED_Algorithm.cxx:160
boost::shared_ptr< BareBorderFace > BareBorderFacePtr
Definition: SMESH_ControlsDef.hxx:590
boost::shared_ptr< FreeEdges > FreeEdgesPtr
Definition: SMESH_ControlsDef.hxx:649
boost::shared_ptr< ElementsOnSurface > ElementsOnSurfacePtr
Definition: SMESH_ControlsDef.hxx:961
boost::shared_ptr< ElemGeomType > ElemGeomTypePtr
Definition: SMESH_ControlsDef.hxx:1170
boost::shared_ptr< OverConstrainedVolume > OverConstrainedVolumePtr
Definition: SMESH_ControlsDef.hxx:606
boost::shared_ptr< Length3D > Length3DPtr
Definition: SMESH_ControlsDef.hxx:362
boost::shared_ptr< EqualTo > EqualToPtr
Definition: SMESH_ControlsDef.hxx:763
boost::shared_ptr< LogicalBinary > LogicalBinaryPtr
Definition: SMESH_ControlsDef.hxx:803
boost::shared_ptr< Length2D > Length2DPtr
Definition: SMESH_ControlsDef.hxx:352
boost::shared_ptr< NumericalFunctor > NumericalFunctorPtr
Definition: SMESH_Controls.hxx:64
boost::shared_ptr< CoplanarFaces > CoplanarFacesPtr
Definition: SMESH_ControlsDef.hxx:1196
boost::shared_ptr< LinearOrQuadratic > LinearOrQuadraticPtr
Definition: SMESH_ControlsDef.hxx:1124
boost::shared_ptr< OverConstrainedFace > OverConstrainedFacePtr
Definition: SMESH_ControlsDef.hxx:622
boost::shared_ptr< CoincidentNodes > CoincidentNodesPtr
Definition: SMESH_ControlsDef.hxx:471
boost::shared_ptr< Comparator > ComparatorPtr
Definition: SMESH_ControlsDef.hxx:723
boost::shared_ptr< MultiConnection2D > MultiConnection2DPtr
Definition: SMESH_ControlsDef.hxx:411
boost::shared_ptr< ConnectedElements > ConnectedElementsPtr
Definition: SMESH_ControlsDef.hxx:1230
boost::shared_ptr< LogicalNOT > LogicalNOTPtr
Definition: SMESH_ControlsDef.hxx:783
boost::shared_ptr< Warping3D > Warping3DPtr
Definition: SMESH_ControlsDef.hxx:278
boost::shared_ptr< BelongToGeom > BelongToGeomPtr
Definition: SMESH_ControlsDef.hxx:1051
boost::shared_ptr< BelongToMeshGroup > BelongToMeshGroupPtr
Definition: SMESH_ControlsDef.hxx:923
boost::shared_ptr< ManifoldPart > ManifoldPartPtr
Definition: SMESH_ControlsDef.hxx:900
boost::shared_ptr< ElemEntityType > ElemEntityTypePtr
Definition: SMESH_ControlsDef.hxx:556
boost::shared_ptr< Predicate > PredicatePtr
Definition: SMESH_Controls.hxx:76
boost::shared_ptr< GroupColor > GroupColorPtr
Definition: SMESH_ControlsDef.hxx:1148
boost::shared_ptr< ElementsOnShape > ElementsOnShapePtr
Definition: SMESH_ControlsDef.hxx:1012
boost::shared_ptr< LyingOnGeom > LyingOnGeomPtr
Definition: SMESH_ControlsDef.hxx:1089
boost::shared_ptr< RangeOfIds > RangeOfIdsPtr
Definition: SMESH_ControlsDef.hxx:701
boost::shared_ptr< BareBorderVolume > BareBorderVolumePtr
Definition: SMESH_ControlsDef.hxx:573
Definition: SMESH_ControlsClassifier.cxx:39
bool IsApplicable(const QString &aHypType, GEOM::GEOM_Object_ptr theGeomObject, const bool toCheckAll)
Definition: SMESHGUI_HypothesesUtils.cxx:617
Definition: SMESH_Controls.cxx:4495
Definition: SMESH_ControlsDef.hxx:637
TElemId myElemId
Definition: SMESH_ControlsDef.hxx:638
Definition: SMESH_ControlsDef.hxx:340
double myLength
Definition: SMESH_ControlsDef.hxx:341
Definition: SMESH_ControlsDef.hxx:402
Definition: SMESH_ControlsDef.hxx:266
double myWarp
Definition: SMESH_ControlsDef.hxx:267
std::vector< long > myPntIds
Definition: SMESH_ControlsDef.hxx:268