29#ifndef _SMESH_REGULAR_1D_HXX_
30#define _SMESH_REGULAR_1D_HXX_
36#include <TopoDS_Shape.hxx>
51 const TopoDS_Shape& aShape,
55 const TopoDS_Shape& aShape);
62 virtual const std::list <const SMESHDS_Hypothesis *> &
84 virtual bool computeInternalParameters (
SMESH_Mesh & theMesh,
89 std::list<double> & theParameters,
90 const bool theReverse,
91 bool theConsiderPropagation =
false);
93 virtual void redistributeNearVertices (
SMESH_Mesh & theMesh,
96 std::list< double > & theParameters,
97 const TopoDS_Vertex & theVf,
98 const TopoDS_Vertex & thieve);
100 bool divideIntoEqualSegments(
SMESH_Mesh & theMesh,
102 smIdType theNbPoints,
107 std::list<double> & theParameters );
110 std::list<double>& theParams,
122 const TopoDS_Vertex & theV);
124 enum HypothesisType { LOCAL_LENGTH, MAX_LENGTH, NB_SEGMENTS, BEG_END_LENGTH, DEFLECTION, ARITHMETIC_1D, FIXED_POINTS_1D,
ADAPTIVE, GEOMETRIC_1D, DISTRIB_PROPAGATION, NONE };
127 SCALE_FACTOR_IND = 0,
156 std::vector<double> _vvalue[1];
157 std::string _svalue[1];
std::map< SMESH_subMesh *, std::vector< smIdType > > MapShapeNbElems
Definition: SMESH_Algo.hxx:63
#define STDMESHERS_EXPORT
Definition: SMESH_StdMeshers.hxx:38
Definition: SMESH_Algo.hxx:476
virtual bool Evaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)=0
evaluates size of prospective mesh on a shape
virtual void CancelCompute()
Sets _computeCanceled to true.
Definition: SMESH_Algo.cxx:872
virtual bool CheckHypothesis(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, SMESH_Hypothesis::Hypothesis_Status &aStatus)=0
Check hypothesis definition to mesh a shape.
virtual void SetEventListener(SMESH_subMesh *subMesh)
Sets event listener to submeshes if necessary.
Definition: SMESH_Algo.cxx:825
virtual void SubmeshRestored(SMESH_subMesh *subMesh)
Allow algo to do something after persistent restoration.
Definition: SMESH_Algo.cxx:838
virtual bool Compute(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)=0
Computes mesh on a shape.
virtual const std::list< const SMESHDS_Hypothesis * > & GetUsedHypothesis(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const bool ignoreAuxiliary=true) const
Return a list of compatible hypotheses used to mesh a shape.
Definition: SMESH_Algo.cxx:261
Definition: SMESH_Gen.hxx:68
Hypothesis_Status
Definition: SMESH_Hypothesis.hxx:51
Definition: SMESH_Mesh.hxx:80
Definition: SMESH_subMesh.hxx:61
Adaptive 1D hypothesis.
Definition: StdMeshers_Adaptive1D.hxx:38
Definition: StdMeshers_FixedPoints1D.hxx:38
Definition: StdMeshers_Regular_1D.hxx:45
const StdMeshers_Adaptive1D * _adaptiveHyp
Definition: StdMeshers_Regular_1D.hxx:152
std::vector< int > _revEdgesIDs
Definition: StdMeshers_Regular_1D.hxx:158
VValueIndex
Definition: StdMeshers_Regular_1D.hxx:141
SValueIndex
Definition: StdMeshers_Regular_1D.hxx:145
IValueIndex
Definition: StdMeshers_Regular_1D.hxx:135
ValueIndex
Definition: StdMeshers_Regular_1D.hxx:126
const StdMeshers_FixedPoints1D * _fpHyp
Definition: StdMeshers_Regular_1D.hxx:151
HypothesisType
Definition: StdMeshers_Regular_1D.hxx:124
@ ADAPTIVE
Definition: StdMeshers_Regular_1D.hxx:124
TopoDS_Shape _mainEdge
Definition: StdMeshers_Regular_1D.hxx:162
HypothesisType _hypType
Definition: StdMeshers_Regular_1D.hxx:149
This hypothesis specifies length of segments adjacent to the vertex the hypothesis is assigned to.
Definition: StdMeshers_SegmentLengthAroundVertex.hxx:41