Back to index

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