mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 09:40:37 +05:00
20885 EDF 607 SMESH: Measure tools
interface SMESH_IDSource { + SMESH_Mesh GetMesh();
This commit is contained in:
parent
bc6dc0fb30
commit
72832de1e2
@ -2293,6 +2293,16 @@ SMESH::array_of_ElementType* Filter_i::GetTypes()
|
||||
return types._retn();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMesh
|
||||
//purpose : Returns mesh
|
||||
//=======================================================================
|
||||
|
||||
SMESH::SMESH_Mesh_ptr Filter_i::GetMesh()
|
||||
{
|
||||
return SMESH_Mesh::_duplicate( myMesh );
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// name : getCriteria
|
||||
// Purpose : Retrieve criterions from predicate
|
||||
|
@ -809,18 +809,6 @@ namespace SMESH
|
||||
void
|
||||
SetMesh( SMESH_Mesh_ptr );
|
||||
|
||||
virtual
|
||||
SMESH::long_array*
|
||||
GetIDs();
|
||||
|
||||
virtual
|
||||
SMESH::long_array*
|
||||
GetMeshInfo();
|
||||
|
||||
virtual
|
||||
SMESH::array_of_ElementType*
|
||||
GetTypes();
|
||||
|
||||
static
|
||||
void
|
||||
GetElementsId( Predicate_i*,
|
||||
@ -854,6 +842,14 @@ namespace SMESH
|
||||
|
||||
Predicate_i* GetPredicate_i();
|
||||
|
||||
// =========================
|
||||
// SMESH_IDSource interface
|
||||
// =========================
|
||||
virtual SMESH::long_array* GetIDs();
|
||||
virtual SMESH::long_array* GetMeshInfo();
|
||||
virtual SMESH::array_of_ElementType* GetTypes();
|
||||
virtual SMESH::SMESH_Mesh_ptr GetMesh();
|
||||
|
||||
private:
|
||||
Controls::Filter myFilter;
|
||||
Predicate_i* myPredicate;
|
||||
|
Loading…
Reference in New Issue
Block a user