28 #ifndef _SMESH_REGULAR_1D_HXX_ 29 #define _SMESH_REGULAR_1D_HXX_ 48 const TopoDS_Shape& aShape,
52 const TopoDS_Shape& aShape);
57 virtual const std::list <const SMESHDS_Hypothesis *> &
79 virtual bool computeInternalParameters (
SMESH_Mesh & theMesh,
84 std::list<double> & theParameters,
85 const bool theReverse,
86 bool theConsiderPropagation =
false);
88 virtual void redistributeNearVertices (
SMESH_Mesh & theMesh,
91 std::list< double > & theParameters,
92 const TopoDS_Vertex & theVf,
93 const TopoDS_Vertex & theVl);
100 const TopoDS_Vertex & theV);
102 enum HypothesisType { LOCAL_LENGTH, MAX_LENGTH, NB_SEGMENTS, BEG_END_LENGTH, DEFLECTION, ARITHMETIC_1D, FIXED_POINTS_1D, NONE };
105 SCALE_FACTOR_IND = 0,
132 std::vector<double> _vvalue[1];
133 std::string _svalue[1];
virtual void SubmeshRestored(SMESH_subMesh *subMesh)
Allow algo to do something after persistent restoration.
virtual bool CheckHypothesis(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, SMESH_Hypothesis::Hypothesis_Status &aStatus)=0
Check hypothesis definition to mesh a shape.
virtual const std::list< const SMESHDS_Hypothesis * > & GetUsedHypothesis(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const bool ignoreAuxiliary=true)
Returns a list of compatible hypotheses used to mesh a shape.
std::vector< int > _revEdgesIDs
virtual bool Evaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)=0
evaluates size of prospective mesh on a shape
virtual void SetEventListener(SMESH_subMesh *subMesh)
Sets event listener to submeshes if necessary.
#define STDMESHERS_EXPORT
virtual bool Compute(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)=0
Computes mesh on a shape.
std::map< SMESH_subMesh *, std::vector< int > > MapShapeNbElems
const StdMeshers_FixedPoints1D * _fpHyp
This hypothesis specifies length of segments adjacent to the vertex the hypothesis is assigned to...