Version: 8.3.0
SMESH_Mesh_i.cxx File Reference
#include "SMESH_Mesh_i.hxx"
#include "DriverMED_R_SMESHDS_Mesh.h"
#include "DriverMED_W_Field.h"
#include "DriverMED_W_SMESHDS_Mesh.h"
#include "MED_Factory.hxx"
#include "SMDS_EdgePosition.hxx"
#include "SMDS_ElemIterator.hxx"
#include "SMDS_FacePosition.hxx"
#include "SMDS_IteratorOnIterators.hxx"
#include "SMDS_MeshGroup.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMDS_VolumeTool.hxx"
#include "SMESHDS_Command.hxx"
#include "SMESHDS_CommandType.hxx"
#include "SMESHDS_Group.hxx"
#include "SMESHDS_GroupOnGeom.hxx"
#include "SMESH_Controls.hxx"
#include "SMESH_File.hxx"
#include "SMESH_Filter_i.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_Group.hxx"
#include "SMESH_Group_i.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MeshAlgos.hxx"
#include "SMESH_MeshEditor.hxx"
#include "SMESH_MeshEditor_i.hxx"
#include "SMESH_MeshPartDS.hxx"
#include "SMESH_MesherHelper.hxx"
#include "SMESH_PreMeshInfo.hxx"
#include "SMESH_PythonDump.hxx"
#include "SMESH_subMesh_i.hxx"
#include <SALOMEDS_Attributes_wrap.hxx>
#include <SALOMEDS_wrap.hxx>
#include <Utils_ExceptHandlers.hxx>
#include <utilities.h>
#include <GEOMImpl_Types.hxx>
#include <GEOM_wrap.hxx>
#include <BRep_Builder.hxx>
#include <Standard_ErrorHandler.hxx>
#include <TColStd_MapOfInteger.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_MapIteratorOfMapOfShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopoDS_Compound.hxx>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <vtkUnstructuredGridWriter.h>
#include "SMESH_TryCatch.hxx"

Macros

#define SMY_OWN_CATCH   catch( SALOME::SALOME_Exception& se ) { throw se; }
 
#define SMESH_CAUGHT   error =
 
#define SMESH_CAUGHT
 
#define RETURNCASE(hyp_stat)   case SMESH_Hypothesis::hyp_stat: return SMESH::hyp_stat;
 
#define METH   "SMESH_Mesh_i::exportMEDFields() "
 
#define _GET_ITER_DEFINE(iterType, methName, elem, elemType)
 

Functions

static SMESH::DriverMED_ReadStatus ConvertDriverMEDReadStatus (int theStatus)
 Convert enum Driver_Mesh::Status to SMESH::DriverMED_ReadStatus. More...
 
static SMESH::ComputeErrorConvertComputeError (SMESH_ComputeErrorPtr errorPtr)
 Convert SMESH_ComputeError to SMESH::ComputeError. More...
 
static SALOMEDS::Color getUniqueColor (const std::list< SALOMEDS::Color > &theReservedColors)
 Returns a random unique color. More...
 

Variables

static int MYDEBUG = 0
 

Macro Definition Documentation

#define _GET_ITER_DEFINE (   iterType,
  methName,
  elem,
  elemType 
)
Value:
iterType SMESH_MeshPartDS::methName( bool idInceasingOrder) const \
{ \
return _meshDS ? _meshDS->methName(idInceasingOrder) : iterType \
( new TIter( _elements[elemType].begin(), _elements[elemType].end() )); \
}
#define METH   "SMESH_Mesh_i::exportMEDFields() "
#define RETURNCASE (   hyp_stat)    case SMESH_Hypothesis::hyp_stat: return SMESH::hyp_stat;
#define SMESH_CAUGHT   error =
#define SMESH_CAUGHT
#define SMY_OWN_CATCH   catch( SALOME::SALOME_Exception& se ) { throw se; }

Function Documentation

static SMESH::ComputeError* ConvertComputeError ( SMESH_ComputeErrorPtr  errorPtr)
static
static SALOMEDS::Color getUniqueColor ( const std::list< SALOMEDS::Color > &  theReservedColors)
static

Returns a random unique color.

Referenced by SMESH_Mesh_i::SetAutoColor().

Variable Documentation

int MYDEBUG = 0
static