Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _MED_SMESH_MEDSUPPORT_I_HXX_
00028 #define _MED_SMESH_MEDSUPPORT_I_HXX_
00029
00030 #include "SMESH.hxx"
00031
00032 #include <SALOMEconfig.h>
00033 #include CORBA_SERVER_HEADER(MED)
00034 #include <string>
00035
00036 #include "SMESHDS_Mesh.hxx"
00037 #include "SMESHDS_SubMesh.hxx"
00038 #include "SMDS_MeshElement.hxx"
00039 #include "SMDS_MeshNode.hxx"
00040
00041 #include "SMESH_MEDSupport_i.hxx"
00042 #include "SALOME_GenericObj_i.hh"
00043 class SMESH_subMesh_i;
00044
00045 class SMESH_I_EXPORT SMESH_MEDSupport_i:
00046 public virtual POA_SALOME_MED::SUPPORT, public virtual SALOME::GenericObj_i
00047 {
00048 public:
00049
00050
00051 SMESH_MEDSupport_i(SMESH_subMesh_i * sm,
00052 std::string name, std::string description, SALOME_MED::medEntityMesh entity);
00053 SMESH_MEDSupport_i(const SMESH_MEDSupport_i & s);
00054
00055
00056 char *getName() throw(SALOME::SALOME_Exception);
00057 char *getDescription() throw(SALOME::SALOME_Exception);
00058 SALOME_MED::GMESH_ptr getMesh() throw(SALOME::SALOME_Exception);
00059 CORBA::Boolean isOnAllElements() throw(SALOME::SALOME_Exception);
00060 SALOME_MED::medEntityMesh getEntity() throw(SALOME::SALOME_Exception);
00061 CORBA::Long
00062 getNumberOfElements(SALOME_MED::medGeometryElement geomElement)
00063 throw(SALOME::SALOME_Exception);
00064
00065 CORBA::Long getNumberOfTypes() throw (SALOME::SALOME_Exception);
00066
00067 SALOME_TYPES::ListOfLong *
00068 getNumber(SALOME_MED::medGeometryElement geomElement)
00069 throw(SALOME::SALOME_Exception);
00070
00074 SALOME_TYPES::ListOfLong *
00075 getNumberFromFile(SALOME_MED::medGeometryElement geomElement)
00076 throw(SALOME::SALOME_Exception);
00077
00078 SALOME_TYPES::ListOfLong * getNumberIndex()
00079 throw(SALOME::SALOME_Exception);
00080
00081 CORBA::Long
00082 getNumberOfGaussPoint(SALOME_MED::medGeometryElement geomElement)
00083 throw(SALOME::SALOME_Exception);
00084
00085 SALOME_TYPES::ListOfLong* getNumbersOfGaussPoint()
00086 throw (SALOME::SALOME_Exception);
00087
00088 SALOME_MED::medGeometryElement_array *getTypes()
00089 throw(SALOME::SALOME_Exception);
00090
00091 void getBoundaryElements() throw (SALOME::SALOME_Exception);
00092
00093 CORBA::Long getCorbaIndex() throw(SALOME::SALOME_Exception);
00094
00095 SALOME_MED::SUPPORT::supportInfos * getSupportGlobal()
00096 throw (SALOME::SALOME_Exception);
00097
00098 void createSeq() throw(SALOME::SALOME_Exception);
00099
00100 public:
00101 const SMESHDS_SubMesh * _subMeshDS;
00102 ::SMESH_subMesh_i * _subMesh_i;
00103
00104 SMESHDS_Mesh * _meshDS;
00105 std::string _name;
00106 std::string _description;
00107 bool _isOnAllElements;
00108 bool _seqNumber;
00109 int _seqLength;
00110
00111 SALOME_MED::medEntityMesh _entity;
00112 SALOME_MED::medGeometryElement * _geometricType;
00113 int _numberOfGeometricType;
00114
00115 protected:
00116 SMESH_MEDSupport_i();
00117 ~SMESH_MEDSupport_i();
00118 };
00119
00120 #endif