SALOME - SMESH
|
00001 // Copyright (C) 2007-2008 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 // SMESH SMDS : implementaion of Salome mesh data structure 00023 // File : SMDSAbs_ElementType.hxx 00024 // Module : SMESH 00025 00026 #ifndef _SMDSAbs_ElementType_HeaderFile 00027 #define _SMDSAbs_ElementType_HeaderFile 00028 00032 enum SMDSAbs_ElementType 00033 { 00034 SMDSAbs_All, 00035 SMDSAbs_Node, 00036 SMDSAbs_Edge, 00037 SMDSAbs_Face, 00038 SMDSAbs_Volume, 00039 SMDSAbs_0DElement, 00040 SMDSAbs_NbElementTypes 00041 }; 00042 00044 enum SMDSAbs_GeometryType 00045 { 00046 // 0D element 00047 SMDSGeom_POINT, 00048 // 1D element 00049 SMDSGeom_EDGE, 00050 // 2D element 00051 SMDSGeom_TRIANGLE, 00052 SMDSGeom_QUADRANGLE, 00053 SMDSGeom_POLYGON, 00054 // 3D element 00055 SMDSGeom_TETRA, 00056 SMDSGeom_PYRAMID, 00057 SMDSGeom_HEXA, 00058 SMDSGeom_PENTA, 00059 SMDSGeom_POLYHEDRA, 00060 }; 00061 00062 00063 enum SMDSAbs_ElementOrder { 00064 ORDER_ANY, 00065 ORDER_LINEAR, 00066 ORDER_QUADRATIC 00067 }; 00068 00073 enum SMDSAbs_EntityType { 00074 SMDSEntity_Node, 00075 SMDSEntity_0D, 00076 SMDSEntity_Edge, 00077 SMDSEntity_Quad_Edge, 00078 SMDSEntity_Triangle, 00079 SMDSEntity_Quad_Triangle, 00080 SMDSEntity_Quadrangle, 00081 SMDSEntity_Quad_Quadrangle, 00082 SMDSEntity_Polygon, 00083 SMDSEntity_Quad_Polygon, 00084 SMDSEntity_Tetra, 00085 SMDSEntity_Quad_Tetra, 00086 SMDSEntity_Pyramid, 00087 SMDSEntity_Quad_Pyramid, 00088 SMDSEntity_Hexa, 00089 SMDSEntity_Quad_Hexa, 00090 SMDSEntity_Penta, 00091 SMDSEntity_Quad_Penta, 00092 SMDSEntity_Polyhedra, 00093 SMDSEntity_Quad_Polyhedra, 00094 SMDSEntity_Last 00095 }; 00096 00097 #endif