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
00028
00029 #ifndef _SMESH_ProjectionSource2D_I_HXX_
00030 #define _SMESH_ProjectionSource2D_I_HXX_
00031
00032 #include <SALOMEconfig.h>
00033 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
00034 #include CORBA_SERVER_HEADER(SMESH_Mesh)
00035
00036 #include "SMESH_Hypothesis_i.hxx"
00037 #include "StdMeshers_ProjectionSource2D.hxx"
00038
00039 class SMESH_Gen;
00040
00041
00047
00048
00049 class StdMeshers_ProjectionSource2D_i:
00050 public virtual POA_StdMeshers::StdMeshers_ProjectionSource2D,
00051 public virtual SMESH_Hypothesis_i
00052 {
00053 public:
00054
00055 StdMeshers_ProjectionSource2D_i( PortableServer::POA_ptr thePOA,
00056 int theStudyId,
00057 ::SMESH_Gen* theGenImpl );
00058
00059 virtual ~StdMeshers_ProjectionSource2D_i();
00060
00064 void SetSourceFace(GEOM::GEOM_Object_ptr face)
00065 throw ( SALOME::SALOME_Exception );
00066
00070 GEOM::GEOM_Object_ptr GetSourceFace();
00071
00075 void SetSourceMesh(SMESH::SMESH_Mesh_ptr mesh)
00076 throw ( SALOME::SALOME_Exception );
00077
00081 SMESH::SMESH_Mesh_ptr GetSourceMesh();
00082
00088 void SetVertexAssociation(GEOM::GEOM_Object_ptr sourceVertex1,
00089 GEOM::GEOM_Object_ptr sourceVertex2,
00090 GEOM::GEOM_Object_ptr targetVertex1,
00091 GEOM::GEOM_Object_ptr targetVertex2)
00092 throw ( SALOME::SALOME_Exception );
00093
00098 GEOM::GEOM_Object_ptr GetSourceVertex(CORBA::Long i);
00099
00104 GEOM::GEOM_Object_ptr GetTargetVertex(CORBA::Long i);
00105
00106
00107 ::StdMeshers_ProjectionSource2D* GetImpl();
00108
00109
00110 CORBA::Boolean IsDimSupported( SMESH::Dimension type );
00111
00112
00113
00114 virtual char* SaveTo();
00115 virtual void LoadFrom( const char* theStream );
00116
00117 private:
00118 SMESH::SMESH_Mesh_var myCorbaMesh;
00119 };
00120
00121 #endif
00122