PAL13473 (Build repetitive mesh):

Notify meshes on hypo modification at SetSourceMesh()
This commit is contained in:
eap 2006-12-07 08:27:25 +00:00
parent e86b832f78
commit e17285fe3d
6 changed files with 42 additions and 3 deletions

View File

@ -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;
}
//=============================================================================
/*!
*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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