OGS 6.3.0-179-g962fdcd4e.dirty.20200403132553
MeshEnums.h File Reference

Detailed Description

Definition of mesh-related Enumerations.

Author
Karsten Rink
Date
2012-05-02

Definition in file MeshEnums.h.

#include <string>
#include <vector>
Include dependency graph for MeshEnums.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MeshLib
 Interface for heuristic search length strategy.
 

Enumerations

enum  MeshLib::MeshElemType {
  MeshLib::MeshElemType::INVALID = 0, MeshLib::MeshElemType::POINT = 1, MeshLib::MeshElemType::LINE = 3, MeshLib::MeshElemType::QUAD = 9,
  MeshLib::MeshElemType::HEXAHEDRON = 12, MeshLib::MeshElemType::TRIANGLE = 5, MeshLib::MeshElemType::TETRAHEDRON = 10, MeshLib::MeshElemType::PRISM = 16,
  MeshLib::MeshElemType::PYRAMID = 14
}
 Types of mesh elements supported by OpenGeoSys. Values are from VTKCellType enum. More...
 
enum  MeshLib::CellType {
  MeshLib::CellType::INVALID = 0, MeshLib::CellType::POINT1 = 1, MeshLib::CellType::LINE2 = 2, MeshLib::CellType::LINE3 = 3,
  MeshLib::CellType::TRI3 = 4, MeshLib::CellType::TRI6 = 5, MeshLib::CellType::QUAD4 = 6, MeshLib::CellType::QUAD8 = 7,
  MeshLib::CellType::QUAD9 = 8, MeshLib::CellType::TET4 = 9, MeshLib::CellType::TET10 = 10, MeshLib::CellType::HEX8 = 11,
  MeshLib::CellType::HEX20 = 12, MeshLib::CellType::HEX27 = 13, MeshLib::CellType::PRISM6 = 14, MeshLib::CellType::PRISM15 = 15,
  MeshLib::CellType::PRISM18 = 16, MeshLib::CellType::PYRAMID5 = 17, MeshLib::CellType::PYRAMID13 = 18
}
 Types of mesh elements supported by OpenGeoSys. More...
 
enum  MeshLib::MeshQualityType {
  MeshLib::MeshQualityType::INVALID = 0, MeshLib::MeshQualityType::ELEMENTSIZE, MeshLib::MeshQualityType::SIZEDIFFERENCE, MeshLib::MeshQualityType::EDGERATIO,
  MeshLib::MeshQualityType::EQUIANGLESKEW, MeshLib::MeshQualityType::RADIUSEDGERATIO
}
 Describes a mesh quality metric. More...
 
enum  MeshLib::UseIntensityAs { MeshLib::UseIntensityAs::ELEVATION, MeshLib::UseIntensityAs::MATERIALS, MeshLib::UseIntensityAs::DATAVECTOR, MeshLib::UseIntensityAs::NONE }
 Selection of possible interpretations for intensities. More...
 

Functions

std::string MeshLib::MeshElemType2String (const MeshElemType t)
 Given a MeshElemType this returns the appropriate string. More...
 
std::string MeshLib::MeshElemType2StringShort (const MeshElemType t)
 Given a MeshElemType this returns the appropriate string with a short name. More...
 
MeshElemType MeshLib::String2MeshElemType (const std::string &s)
 Given a string of the shortened name of the element type, this returns the corresponding MeshElemType. More...
 
std::vector< MeshElemType > MeshLib::getMeshElemTypes ()
 Returns a vector of all mesh element types. More...
 
std::vector< std::string > MeshLib::getMeshElemTypeStringsShort ()
 Returns a vector of strings of mesh element types. More...
 
std::string MeshLib::CellType2String (const CellType t)
 Given a MeshElemType this returns the appropriate string. More...
 
std::string MeshLib::MeshQualityType2String (const MeshQualityType t)