00001 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE 00002 // 00003 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, 00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 00005 // 00006 // This library is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public 00008 // License as published by the Free Software Foundation; either 00009 // version 2.1 of the License. 00010 // 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 // 00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com 00021 // 00022 00023 // SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses 00024 // File : StdMeshers_Hexa_3D_i.hxx 00025 // Moved here from SMESH_Hexa_3D_i.hxx 00026 // Author : Paul RASCLE, EDF 00027 // Module : SMESH 00028 // $Header: /home/server/cvs/SMESH/SMESH_SRC/src/StdMeshers_I/StdMeshers_Projection_1D_2D_3D_i.hxx,v 1.3.20.1.8.1 2011-06-02 05:57:35 vsr Exp $ 00029 // 00030 #ifndef _SMESH_Projection_3D_I_HXX_ 00031 #define _SMESH_Projection_3D_I_HXX_ 00032 00033 #include <SALOMEconfig.h> 00034 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis) 00035 00036 #include "SMESH_1D_Algo_i.hxx" 00037 #include "SMESH_2D_Algo_i.hxx" 00038 #include "SMESH_3D_Algo_i.hxx" 00039 #include "StdMeshers_Projection_1D.hxx" 00040 #include "StdMeshers_Projection_2D.hxx" 00041 #include "StdMeshers_Projection_3D.hxx" 00042 00043 class SMESH_Gen; 00044 00045 // ====================================================== 00046 // Projection 3D algorithm 00047 // ====================================================== 00048 00049 class StdMeshers_Projection_3D_i: 00050 public virtual POA_StdMeshers::StdMeshers_Projection_3D, 00051 public virtual SMESH_3D_Algo_i 00052 { 00053 public: 00054 // Constructor 00055 StdMeshers_Projection_3D_i( PortableServer::POA_ptr thePOA, 00056 int theStudyId, 00057 ::SMESH_Gen* theGenImpl ); 00058 00059 // Destructor 00060 virtual ~StdMeshers_Projection_3D_i(); 00061 00062 // Get implementation 00063 ::StdMeshers_Projection_3D* GetImpl(); 00064 }; 00065 00066 // ====================================================== 00067 // Projection 3D algorithm 00068 // ====================================================== 00069 00070 class StdMeshers_Projection_2D_i: 00071 public virtual POA_StdMeshers::StdMeshers_Projection_2D, 00072 public virtual SMESH_2D_Algo_i 00073 { 00074 public: 00075 // Constructor 00076 StdMeshers_Projection_2D_i( PortableServer::POA_ptr thePOA, 00077 int theStudyId, 00078 ::SMESH_Gen* theGenImpl ); 00079 00080 // Destructor 00081 virtual ~StdMeshers_Projection_2D_i(); 00082 00083 // Get implementation 00084 ::StdMeshers_Projection_2D* GetImpl(); 00085 }; 00086 00087 // ====================================================== 00088 // Projection 3D algorithm 00089 // ====================================================== 00090 00091 class StdMeshers_Projection_1D_i: 00092 public virtual POA_StdMeshers::StdMeshers_Projection_1D, 00093 public virtual SMESH_1D_Algo_i 00094 { 00095 public: 00096 // Constructor 00097 StdMeshers_Projection_1D_i( PortableServer::POA_ptr thePOA, 00098 int theStudyId, 00099 ::SMESH_Gen* theGenImpl ); 00100 00101 // Destructor 00102 virtual ~StdMeshers_Projection_1D_i(); 00103 00104 // Get implementation 00105 ::StdMeshers_Projection_1D* GetImpl(); 00106 }; 00107 00108 00109 #endif