mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 19:14:16 +05:00
PAL13473 (Build repetitive mesh):
Notify meshes on hypo modification at SetSourceMesh()
This commit is contained in:
parent
e86b832f78
commit
e17285fe3d
@ -120,6 +120,19 @@ void StdMeshers_ProjectionSource1D::SetVertexAssociation(const TopoDS_Shape& sou
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Sets source <mesh> to take a mesh pattern from
|
||||
*/
|
||||
//=============================================================================
|
||||
|
||||
void StdMeshers_ProjectionSource1D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||
{
|
||||
if ( _sourceMesh != mesh )
|
||||
NotifySubMeshesHypothesisModification();
|
||||
_sourceMesh = mesh;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
*
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
/*!
|
||||
* Sets source <mesh> to take a mesh pattern from
|
||||
*/
|
||||
void SetSourceMesh(SMESH_Mesh* mesh) { _sourceMesh = mesh; }
|
||||
void SetSourceMesh(SMESH_Mesh* mesh);
|
||||
|
||||
/*!
|
||||
* Return source mesh
|
||||
|
@ -131,6 +131,19 @@ void StdMeshers_ProjectionSource2D::SetVertexAssociation(const TopoDS_Shape& sou
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Sets source <mesh> to take a mesh pattern from
|
||||
*/
|
||||
//=============================================================================
|
||||
|
||||
void StdMeshers_ProjectionSource2D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||
{
|
||||
if ( _sourceMesh != mesh )
|
||||
NotifySubMeshesHypothesisModification();
|
||||
_sourceMesh = mesh;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Returns the source face
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
/*!
|
||||
* Sets source <mesh> to take a mesh pattern from
|
||||
*/
|
||||
void SetSourceMesh(SMESH_Mesh* mesh) { _sourceMesh = mesh; }
|
||||
void SetSourceMesh(SMESH_Mesh* mesh);
|
||||
|
||||
/*!
|
||||
* Return source mesh
|
||||
|
@ -129,6 +129,19 @@ void StdMeshers_ProjectionSource3D::SetVertexAssociation(const TopoDS_Shape& sou
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Sets source <mesh> to take a mesh pattern from
|
||||
*/
|
||||
//=============================================================================
|
||||
|
||||
void StdMeshers_ProjectionSource3D::SetSourceMesh(SMESH_Mesh* mesh)
|
||||
{
|
||||
if ( _sourceMesh != mesh )
|
||||
NotifySubMeshesHypothesisModification();
|
||||
_sourceMesh = mesh;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
/*!
|
||||
* Returns the source face
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
/*!
|
||||
* Sets source <mesh> to take a mesh pattern from
|
||||
*/
|
||||
void SetSourceMesh(SMESH_Mesh* mesh) { _sourceMesh = mesh; }
|
||||
void SetSourceMesh(SMESH_Mesh* mesh);
|
||||
|
||||
/*!
|
||||
* Return source mesh
|
||||
|
Loading…
Reference in New Issue
Block a user