xmsgrid  1.0
XmUGrid.h File Reference

Contains the XmUGrid Class and supporting data types. More...

#include <memory>
#include <xmscore/stl/vector.h>

Go to the source code of this file.

Classes

class  xms::XmUGrid
 Geometry for an unstructured grid. An XmUGrid is defined as a vector of 3d points and a stream of cells. Throughout this interface, we use these terms: More...
 

Namespaces

 xms
 XMS Namespace.
 

Enumerations

enum  xms::XmUGridCellType {
  XMU_INVALID_CELL_TYPE = -1, XMU_EMPTY_CELL = 0, XMU_VERTEX = 1, XMU_POLY_VERTEX = 2,
  XMU_LINE = 3, XMU_POLY_LINE = 4, XMU_TRIANGLE = 5, XMU_TRIANGLE_STRIP = 6,
  XMU_POLYGON = 7, XMU_PIXEL = 8, XMU_QUAD = 9, XMU_TETRA = 10,
  XMU_VOXEL = 11, XMU_HEXAHEDRON = 12, XMU_WEDGE = 13, XMU_PYRAMID = 14,
  XMU_PENTAGONAL_PRISM = 15, XMU_HEXAGONAL_PRISM = 16, XMU_QUADRATIC_EDGE = 21, XMU_QUADRATIC_TRIANGLE = 22,
  XMU_QUADRATIC_QUAD = 23, XMU_QUADRATIC_POLYGON = 36, XMU_QUADRATIC_TETRA = 24, XMU_QUADRATIC_HEXAHEDRON = 25,
  XMU_QUADRATIC_WEDGE = 26, XMU_QUADRATIC_PYRAMID = 27, XMU_BIQUADRATIC_QUAD = 28, XMU_TRIQUADRATIC_HEXAHEDRON = 29,
  XMU_QUADRATIC_LINEAR_QUAD = 30, XMU_QUADRATIC_LINEAR_WEDGE = 31, XMU_BIQUADRATIC_QUADRATIC_WEDGE = 32, XMU_BIQUADRATIC_QUADRATIC_HEXAHEDRON = 33,
  XMU_BIQUADRATIC_TRIANGLE = 34, XMU_CUBIC_LINE = 35, XMU_CONVEX_POINT_SET = 41, XMU_POLYHEDRON = 42,
  XMU_PARAMETRIC_CURVE = 51, XMU_PARAMETRIC_SURFACE = 52, XMU_PARAMETRIC_TRI_SURFACE = 53, XMU_PARAMETRIC_QUAD_SURFACE = 54,
  XMU_PARAMETRIC_TETRA_REGION = 55, XMU_PARAMETRIC_HEX_REGION = 56, XMU_HIGHER_ORDER_EDGE = 60, XMU_HIGHER_ORDER_TRIANGLE = 61,
  XMU_HIGHER_ORDER_QUAD = 62, XMU_HIGHER_ORDER_POLYGON = 63, XMU_HIGHER_ORDER_TETRAHEDRON = 64, XMU_HIGHER_ORDER_WEDGE = 65,
  XMU_HIGHER_ORDER_PYRAMID = 66, XMU_HIGHER_ORDER_HEXAHEDRON = 67, XMU_NUMBER_OF_CELL_TYPES
}
 Matches cell types from VTK (see vtkCellType.h)
 
enum  xms::XmUGridFaceOrientation {
  XMU_ORIENTATION_UNKNOWN = -1, XMU_ORIENTATION_SIDE = 0, XMU_ORIENTATION_TOP = 1, XMU_ORIENTATION_BOTTOM = 2,
  XMU_ORIENTATION_NUMBER
}
 The orientation of a 3D face must be one of these.
 

Functions

std::shared_ptr< XmUGridxms::TEST_XmUGrid1Left90Tri ()
 Builds a 1 cell (left 90 degree triangle) 2D XmUGrid for testing. More...
 
std::shared_ptr< XmUGridxms::TEST_XmUGridSimpleQuad ()
 Builds a 2 cell (Quad) 2D XmUGrid for testing. More...
 
std::shared_ptr< XmUGridxms::TEST_XmUGrid2dLinear ()
 Builds an XmUGrid with supported 1D and 2D linear cells for testing. More...
 
std::shared_ptr< XmUGridxms::TEST_XmUGrid3dLinear ()
 Builds an XmUGrid with supported 3D linear cells for testing. More...
 
std::shared_ptr< XmUGridxms::TEST_XmUGridHexagonalPolyhedron ()
 Builds a 1 cell hexagon with cell type polyhedron. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuildQuadUGrid (int a_rows, int a_cols)
 Builds a UGrid of Quads at 1 spacing for rows & cols specified. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuildQuadUGrid (int a_rows, int a_cols, const xms::Pt3d &a_origin)
 Builds a UGrid of Quads at 1 spacing for rows & cols specified. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuildHexahedronUgrid (int a_rows, int a_cols, int a_lays)
 Builds a UGrid of Quads at 1 spacing for rows & cols specified. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuildHexahedronUgrid (int a_rows, int a_cols, int a_lays, const xms::Pt3d &a_origin)
 Builds a UGrid of Quads at 1 spacing for rows & cols specified. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuildPolyhedronUgrid (int a_rows, int a_cols, int a_lays)
 Builds a UGrid of Quads at 1 spacing for rows & cols specified. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuildPolyhedronUgrid (int a_rows, int a_cols, int a_lays, const xms::Pt3d &a_origin)
 Builds a UGrid of Quads at 1 spacing for rows & cols specified. More...
 
std::shared_ptr< xms::XmUGridxms::TEST_XmUBuild3DChevronUgrid ()
 Builds a UGrid with one 3D Chevron polyhedron. More...
 

Detailed Description

Contains the XmUGrid Class and supporting data types.

Definition in file XmUGrid.h.