-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include "SMESH.hxx"
#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(SMESH_Gen)
#include CORBA_SERVER_HEADER(SMESH_Mesh)
#include CORBA_SERVER_HEADER(SMESH_Group)
#include CORBA_SERVER_HEADER(SMESH_Hypothesis)
#include "SMESH_Hypothesis.hxx"
#include "SMESH_Mesh.hxx"
-//#include "SMESH_subMesh_i.hxx"
#include "SMESH_subMesh.hxx"
#include "SALOME_GenericObj_i.hh"
SMESH::SMESH_Group_ptr CutListOfGroups( const SMESH::ListOfGroups& theMainGroups,
const SMESH::ListOfGroups& theToolGroups,
const char* theName )
- throw (SALOME::SALOME_Exception);
+ throw (SALOME::SALOME_Exception);
SMESH::SMESH_Group_ptr CreateDimGroup( const SMESH::ListOfGroups& theGroups,
SMESH::ElementType theElemType,
const char* theName )
- throw (SALOME::SALOME_Exception);
-
+ throw (SALOME::SALOME_Exception);
- SMESH::SMESH_Group_ptr ConvertToStandalone( SMESH::SMESH_GroupBase_ptr theGroupOn );
-// SMESH::string_array* GetLog(CORBA::Boolean clearAfterGet)
-// throw (SALOME::SALOME_Exception);
+ SMESH::SMESH_Group_ptr ConvertToStandalone( SMESH::SMESH_GroupBase_ptr theGroupOn )
+ throw (SALOME::SALOME_Exception);
SMESH::log_array* GetLog(CORBA::Boolean clearAfterGet)
throw (SALOME::SALOME_Exception);
- SMESH::SMESH_MeshEditor_ptr GetMeshEditor();
+ SMESH::SMESH_MeshEditor_ptr GetMeshEditor() throw (SALOME::SALOME_Exception);
- SMESH::SMESH_MeshEditor_ptr GetMeshEditPreviewer();
+ SMESH::SMESH_MeshEditor_ptr GetMeshEditPreviewer() throw (SALOME::SALOME_Exception);
CORBA::Boolean HasModificationsToDiscard() throw (SALOME::SALOME_Exception);
- void ClearLog()
- throw (SALOME::SALOME_Exception);
+ void ClearLog() throw (SALOME::SALOME_Exception);
- CORBA::Long GetId()
- throw (SALOME::SALOME_Exception);
+ CORBA::Long GetId() throw (SALOME::SALOME_Exception);
- CORBA::Long GetStudyId()
- throw (SALOME::SALOME_Exception);
+ CORBA::Long GetStudyId() throw (SALOME::SALOME_Exception);
// --- C++ interface
void SetImpl(::SMESH_Mesh* impl);
int ImportSTLFile( const char* theFileName )
throw (SALOME::SALOME_Exception);
+ SMESH::ComputeError* ImportGMFFile( const char* theFileName,
+ bool theMakeRequiredGroups)
+ throw (SALOME::SALOME_Exception);
+
/*!
* consult DriverMED_R_SMESHDS_Mesh::ReadStatus for returned value
*/
void ExportCGNS(SMESH::SMESH_IDSource_ptr meshPart,
const char* file,
CORBA::Boolean overwrite) throw (SALOME::SALOME_Exception);
+ void ExportGMF(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file,
+ CORBA::Boolean withRequiredGroups) throw (SALOME::SALOME_Exception);
void ExportPartToMED(SMESH::SMESH_IDSource_ptr meshPart,
const char* file,
CORBA::Long NbTrianglesOfOrder(SMESH::ElementOrder order)
throw (SALOME::SALOME_Exception);
+ CORBA::Long NbBiQuadTriangles()
+ throw (SALOME::SALOME_Exception);
+
CORBA::Long NbQuadrangles()
throw (SALOME::SALOME_Exception);
*/
SMESH::NodePosition* GetNodePosition(CORBA::Long NodeID);
+ /*!
+ * \brief Return position of an element on shape
+ */
+ SMESH::ElementPosition GetElementPosition(CORBA::Long ElemID);
+
/*!
* If given element is node returns IDs of shape from position
* If there is not node for given ID - returns -1