SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
smtk::mesh Namespace Reference

Mesh representation, classification, and manipulation. More...

Namespaces

 json
 json serialization.
 
 moab
 moab is an external meshing library.
 

Classes

class  Allocator
 
struct  BoundingBox
 An API for computing the bounding box for a geometric resource or component. More...
 
class  BufferedCellAllocator
 
struct  CellEnumToType
 
struct  CellEnumToType< smtk::mesh::Hexahedron >
 
struct  CellEnumToType< smtk::mesh::Line >
 
struct  CellEnumToType< smtk::mesh::Polygon >
 
struct  CellEnumToType< smtk::mesh::Pyramid >
 
struct  CellEnumToType< smtk::mesh::Quad >
 
struct  CellEnumToType< smtk::mesh::Tetrahedron >
 
struct  CellEnumToType< smtk::mesh::Triangle >
 
struct  CellEnumToType< smtk::mesh::Vertex >
 
struct  CellEnumToType< smtk::mesh::Wedge >
 
class  CellField
 
class  CellFieldTag
 
struct  CellFixedPointNumberTag
 
class  CellForEach
 
struct  CellHexahedron
 
struct  CellLine
 
struct  CellPolygon
 
struct  CellPyramid
 
struct  CellQuad
 
class  CellSet
 
struct  CellTetrahedron
 
struct  CellTopologicalDimensionsTag
 
struct  CellTraits
 The templated CellTraits struct provides the basic high level information about cells such as: More...
 
struct  CellTraits< smtk::mesh::CellHexahedron >
 
struct  CellTraits< smtk::mesh::CellLine >
 
struct  CellTraits< smtk::mesh::CellPolygon >
 
struct  CellTraits< smtk::mesh::CellPyramid >
 
struct  CellTraits< smtk::mesh::CellQuad >
 
struct  CellTraits< smtk::mesh::CellTetrahedron >
 
struct  CellTraits< smtk::mesh::CellTriangle >
 
struct  CellTraits< smtk::mesh::CellVertex >
 
struct  CellTraits< smtk::mesh::CellWedge >
 
struct  CellTriangle
 
struct  CellVariablePointNumberTag
 
struct  CellVertex
 
struct  CellWedge
 
class  Component
 A lightweight object for representing meshset information as a resource component. More...
 
class  ConnectivityStorage
 
class  DeleteMesh
 Delete a mesh. More...
 
class  Dirichlet
 
class  Domain
 
class  ElevateMesh
 A class for modifying the z-coordinates of a mesh's nodes according to an interpolated data set. More...
 
class  Export
 A class for writing meshes to file. More...
 
class  ExtractAdjacency
 Extract a mesh's adjacency mesh. More...
 
class  ExtractByDihedralAngle
 Extract mesh subset by accepting all neighboring facets that meet the selected meshset with a dihedral angle less than a given value. More...
 
class  ExtractSkin
 Extract a mesh's skin. More...
 
struct  FieldTypeFor
 
struct  FieldTypeFor< double >
 
struct  FieldTypeFor< int >
 
class  GenerateHotStartData
 A class for generating hot start data for AdH. More...
 
class  Id
 
class  Import
 Import an smtk mesh file. More...
 
class  IncrementalAllocator
 
class  IntegerTag
 
class  Interface
 
class  InterpolateOntoMesh
 A class for generating a mesh data set from interpolation points. More...
 
class  InverseDistanceWeighting
 A functor that converts an external data set into a continuous field via inverse distance weighting. More...
 
class  MergeCoincidentPoints
 Merge coincident points in a meshset. More...
 
class  MeshForEach
 
class  MeshSet
 
class  Model
 
class  Neumann
 
class  OpaqueTag
 
class  PointCloud
 A wrapper for point cloud data. More...
 
class  PointCloudFromCSV
 A GeneratorType for creating PointClouds from CSV files. More...
 
class  PointCloudGenerator
 
class  PointConnectivity
 
class  PointField
 
class  PointFieldTag
 
class  PointForEach
 
class  PointLocator
 
class  PointLocatorImpl
 
class  PointSet
 
class  PrintMeshInformation
 Delete a mesh. More...
 
class  RadialAverage
 A functor that converts an external data set into a continuous field via radial averaging. More...
 
class  Read
 Read an smtk mesh file. More...
 
class  ReadResource
 Read an smtk mesh resource. More...
 
class  Registrar
 
class  Resource
 
class  SelectCells
 Construct a mesh selection from a mesh resource and a list of cell ids. More...
 
class  Selection
 A lightweight object for representing meshset information as a transient resource component. More...
 
class  SetMeshName
 Set the name of a meshset. More...
 
class  StructuredGrid
 A wrapper for structured data. More...
 
class  StructuredGridGenerator
 
class  Subtract
 Subtract one meshset from another. More...
 
class  Transform
 Transform a mesh. More...
 
class  TypeSet
 
class  UndoElevateMesh
 A class for reversing the results of operators that elevate a mesh. More...
 
class  UUIDTag
 
class  Write
 A class for writing meshes to file. More...
 
class  WriteResource
 Write an smtk mesh file. More...
 

Typedefs

typedef smtk::shared_ptr< smtk::mesh::ResourceResourcePtr
 
typedef smtk::shared_ptr< const smtk::mesh::ResourceConstResourcePtr
 
typedef smtk::shared_ptr< smtk::mesh::ComponentComponentPtr
 
typedef smtk::shared_ptr< smtk::mesh::InterfaceInterfacePtr
 
typedef smtk::shared_ptr< smtk::mesh::AllocatorAllocatorPtr
 
typedef smtk::shared_ptr< smtk::mesh::BufferedCellAllocatorBufferedCellAllocatorPtr
 
typedef smtk::shared_ptr< smtk::mesh::IncrementalAllocatorIncrementalAllocatorPtr
 
typedef smtk::shared_ptr< smtk::mesh::ConnectivityStorageConnectivityStoragePtr
 
typedef smtk::shared_ptr< smtk::mesh::PointLocatorImplPointLocatorImplPtr
 
typedef std::bitset< CellType_MAX > CellTypes
 
typedef std::vector< smtk::mesh::ComponentComponentList
 
typedef std::set< smtk::mesh::ComponentComponents
 
typedef std::bitset< DimensionType_MAX > DimensionTypes
 
typedef std::ptrdiff_t EntityId
 
typedef std::size_t Handle
 
typedef boost::icl::closed_interval< Handle > HandleInterval
 
typedef boost::icl::interval_set< Handle, std::less, HandleInterval > HandleRange
 
typedef std::vector< smtk::mesh::MeshSetMeshList
 
typedef std::set< smtk::mesh::MeshSetMeshSets
 

Enumerations

enum  CellType {
  Vertex = 0, Line = 1, Triangle = 2, Quad = 3,
  Polygon = 4, Tetrahedron = 5, Pyramid = 6, Wedge = 7,
  Hexahedron = 8, CellType_MAX = 9
}
 Enum types used for querying the interface. More...
 
enum  DimensionType {
  Dims0 = 0, Dims1 = 1, Dims2 = 2, Dims3 = 3,
  DimensionType_MAX = 4
}
 
enum  FieldType { Integer, Double, MaxFieldType }
 
enum  ContainmentType { PartiallyContained = 1, FullyContained = 2 }
 

Functions

CellSet set_intersect (const CellSet &a, const CellSet &b)
 
CellSet set_difference (const CellSet &a, const CellSet &b)
 
CellSet set_union (const CellSet &a, const CellSet &b)
 
CellSet point_intersect (const CellSet &a, const CellSet &b, ContainmentType t)
 
CellSet point_difference (const CellSet &a, const CellSet &b, ContainmentType t)
 
SMTKCORE_EXPORT void for_each (const CellSet &a, CellForEach &filter)
 
int verticesPerCell (CellType ctype)
 Return the number of vertices that define a cell of this type (or -1).
 
std::string cellTypeSummary (CellType ctype, int flag)
 Return the name of the mesh cell type. More...
 
const_element_iterator rangeElementsBegin (const HandleRange &)
 Return an iterator to the first element in the range.
 
const_element_iterator rangeElementsEnd (const HandleRange &)
 Return an iterator to the last element in the range.
 
Handle rangeElement (const HandleRange &, std::size_t)
 Given a handle range and an index i, return the i-th handle in the range.
 
bool rangeContains (const HandleRange &, Handle)
 Return true if the handle is contained within the handle range.
 
bool rangeContains (const HandleRange &, const HandleInterval &)
 Return true if the handle interval is contained within the handle range.
 
bool rangeContains (const HandleRange &super, const HandleRange &sub)
 Return true if the second handle range is contained within the first handle range.
 
std::size_t rangeIndex (const HandleRange &, Handle)
 Return the element index of a handle value.
 
std::size_t rangeIntervalCount (const HandleRange &)
 Return the number of intervals in the range.
 
bool rangesEqual (const HandleRange &, const HandleRange &)
 Determine whether two ranges are equal.
 
MeshSet set_intersect (const MeshSet &a, const MeshSet &b)
 
MeshSet set_difference (const MeshSet &a, const MeshSet &b)
 
MeshSet set_union (const MeshSet &a, const MeshSet &b)
 
SMTKCORE_EXPORT void for_each (const MeshSet &a, MeshForEach &filter)
 
PointSet set_intersect (const PointSet &a, const PointSet &b)
 
PointSet set_difference (const PointSet &a, const PointSet &b)
 
PointSet set_union (const PointSet &a, const PointSet &b)
 
void for_each (const PointSet &a, PointForEach &filter)
 
smtk::resource::ResourcePtr read (const std::string &filename, const std::shared_ptr< smtk::common::Managers > &managers)
 
bool write (const smtk::resource::ResourcePtr &resource, const std::shared_ptr< smtk::common::Managers > &managers)
 

Variables

decltype(boost::icl::elements_begin(std::declval< const HandleRange >())) typedef const_element_iterator
 

Detailed Description

Mesh representation, classification, and manipulation.

A generator for StructuredGrids.

A generator for PointClouds.

PointCloudGenerator accepts as input (a) a string describing a data file or (b) an auxiliary geometry instance. This class is extended by classes that inherit from GeneratorType (see smtk::common::Generator).

StructuredGridGenerator accepts as input (a) a string describing a data file or (b) an auxiliary geometry instance. This class is extended by classes that inherit from GeneratorType (see smtk::common::Generator).

Typedef Documentation

◆ AllocatorPtr

◆ BufferedCellAllocatorPtr

◆ ComponentPtr

◆ ConnectivityStoragePtr

◆ ConstResourcePtr

typedef smtk::shared_ptr<const smtk::mesh::Resource> smtk::mesh::ConstResourcePtr

◆ IncrementalAllocatorPtr

◆ InterfacePtr

◆ PointLocatorImplPtr

◆ ResourcePtr

typedef smtk::shared_ptr<smtk::mesh::Resource> smtk::mesh::ResourcePtr

Enumeration Type Documentation

◆ CellType

Enum types used for querying the interface.

When changing this enum, be sure to update verticesPerCell() and cellTypeName()!

Function Documentation

◆ cellTypeSummary()

SMTKCORE_EXPORT std::string smtk::mesh::cellTypeSummary ( CellType  ctype,
int  flag 
)

Return the name of the mesh cell type.

If the flag value is non-zero, return the plural form of the name.