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 // VISU CONVERTOR : 00024 // File : 00025 // Author : 00026 // Module : 00027 // 00028 #ifndef VISU_ConvertorDef_HeaderFile 00029 #define VISU_ConvertorDef_HeaderFile 00030 00036 #include "MED_SharedPtr.hxx" 00037 00038 namespace VISU 00039 { 00040 //--------------------------------------------------------------- 00041 enum TEntity {NODE_ENTITY, EDGE_ENTITY, FACE_ENTITY, CELL_ENTITY}; 00042 00043 00044 //--------------------------------------------------------------- 00046 enum EGeometry {ePOINT1=1, eSEG2=102, eSEG3=103, eTRIA3=203, 00047 eQUAD4=204, eTRIA6=206,eQUAD8=208, eTETRA4=304, 00048 ePYRA5=305, ePENTA6=306, eHEXA8=308, eTETRA10=310, 00049 ePYRA13=313, ePENTA15=315, eHEXA20=320, 00050 ePOLYGONE=400, ePOLYEDRE=500, eNONE=-1}; 00051 00052 00053 //--------------------------------------------------------------- 00055 enum TGaussMetric { AVERAGE_METRIC = 0, MINIMUM_METRIC, MAXIMUM_METRIC }; 00056 00057 00058 //--------------------------------------------------------------- 00059 struct TMesh; 00060 typedef MED::SharedPtr<TMesh> PMesh; 00061 00062 00063 //--------------------------------------------------------------- 00064 struct TGaussSubMesh; 00065 typedef MED::SharedPtr<TGaussSubMesh> PGaussSubMesh; 00066 00067 00068 //--------------------------------------------------------------- 00069 struct TGaussMesh; 00070 typedef MED::SharedPtr<TGaussMesh> PGaussMesh; 00071 00072 00073 //--------------------------------------------------------------- 00074 struct TSubProfile; 00075 typedef MED::SharedPtr<TSubProfile> PSubProfile; 00076 00077 00078 //--------------------------------------------------------------- 00079 struct TProfile; 00080 typedef MED::SharedPtr<TProfile> PProfile; 00081 00082 00083 //--------------------------------------------------------------- 00084 struct TMeshOnEntity; 00085 typedef MED::SharedPtr<TMeshOnEntity> PMeshOnEntity; 00086 00087 00088 //--------------------------------------------------------------- 00089 struct TFamily; 00090 typedef MED::SharedPtr<TFamily> PFamily; 00091 00092 00093 //--------------------------------------------------------------- 00094 struct TGroup; 00095 typedef MED::SharedPtr<TGroup> PGroup; 00096 00097 00098 //--------------------------------------------------------------- 00099 struct TField; 00100 typedef MED::SharedPtr<TField> PField; 00101 00102 00103 //--------------------------------------------------------------- 00104 struct TGauss; 00105 typedef MED::SharedPtr<TGauss> PGauss; 00106 00107 00108 //--------------------------------------------------------------- 00109 struct TValForTime; 00110 typedef MED::SharedPtr<TValForTime> PValForTime; 00111 00112 00113 //--------------------------------------------------------------- 00114 struct TGrille; 00115 typedef MED::SharedPtr<TGrille> PGrille; 00116 00117 00118 //--------------------------------------------------------------- 00119 } 00120 00121 #endif