0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported

+  SMESH_Group (SMESHDS_GroupBase* groupDS);
This commit is contained in:
eap 2011-08-10 10:17:44 +00:00
parent 111c7a0cd2
commit 4913698067
2 changed files with 13 additions and 0 deletions

View File

@ -62,6 +62,18 @@ SMESH_Group::SMESH_Group (int theID,
theType);
}
//================================================================================
/*!
* \brief Constructor accesible to SMESH_Mesh only
*/
//================================================================================
SMESH_Group::SMESH_Group (SMESHDS_GroupBase* groupDS): myGroupDS( groupDS )
{
if ( myGroupDS )
myName = myGroupDS->GetStoreName();
}
//=============================================================================
/*!
*

View File

@ -49,6 +49,7 @@ class SMESH_EXPORT SMESH_Group
const char* theName,
const TopoDS_Shape& theShape = TopoDS_Shape(),
const SMESH_PredicatePtr& thePredicate = SMESH_PredicatePtr());
SMESH_Group (SMESHDS_GroupBase* groupDS);
~SMESH_Group ();
void SetName (const char* theName) { myName = theName; }