Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation errors under Windows: VS-2017
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_RadialQuadrangle_1D2D.hxx
diff --git
a/src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.hxx
b/src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.hxx
index 7270cba40d28c67a3d7340c6c30c7a7709052eaa..2c52ffacd25291d3f8b57f8f0b3358af42220e02 100644
(file)
--- a/
src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.hxx
+++ b/
src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-17,7
+17,7
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// SMESH SMESH : implementaion of SMESH idl descriptions
+// SMESH SMESH : implementa
t
ion of SMESH idl descriptions
// File : StdMeshers_RadialQuadrangle_1D2D.hxx
// Module : SMESH
//
// File : StdMeshers_RadialQuadrangle_1D2D.hxx
// Module : SMESH
//
@@
-39,7
+39,7
@@
class StdMeshers_LayerDistribution;
class STDMESHERS_EXPORT StdMeshers_RadialQuadrangle_1D2D: public StdMeshers_Quadrangle_2D
{
public:
class STDMESHERS_EXPORT StdMeshers_RadialQuadrangle_1D2D: public StdMeshers_Quadrangle_2D
{
public:
- StdMeshers_RadialQuadrangle_1D2D(int hypId,
int studyId,
SMESH_Gen* gen);
+ StdMeshers_RadialQuadrangle_1D2D(int hypId, SMESH_Gen* gen);
virtual ~StdMeshers_RadialQuadrangle_1D2D();
virtual bool CheckHypothesis(SMESH_Mesh& aMesh,
virtual ~StdMeshers_RadialQuadrangle_1D2D();
virtual bool CheckHypothesis(SMESH_Mesh& aMesh,
@@
-50,17
+50,20
@@
public:
virtual bool Evaluate(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape,
MapShapeNbElems& aResMap);
virtual bool Evaluate(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape,
MapShapeNbElems& aResMap);
- /*!
- * \brief Allow algo to do something after persistent restoration
- * \param subMesh - restored submesh
- *
- * This method is called only if a submesh has HYP_OK algo_state.
- */
+
+ // Allow algo to do something after persistent restoration
virtual void SubmeshRestored(SMESH_subMesh* subMesh);
virtual void SubmeshRestored(SMESH_subMesh* subMesh);
-
+
+ // Sets event listener to a submesh
+ virtual void SetEventListener(SMESH_subMesh* subMesh);
+
+ virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const
+ {
+ return IsApplicable( shape, toCheckAll );
+ }
static bool IsApplicable(const TopoDS_Shape & aShape, bool toCheckAll);
static bool IsApplicable(const TopoDS_Shape & aShape, bool toCheckAll);
-protected:
+
protected:
int computeLayerPositions(StdMeshers_FaceSidePtr linSide,
std::vector< double >& positions,
int computeLayerPositions(StdMeshers_FaceSidePtr linSide,
std::vector< double >& positions,