General data about VTK files for use by read and write code. More...
#include <VtkUtil.hpp>
Static Public Member Functions | |
static const VtkElemType * | get_vtk_type (EntityType type, unsigned num_nodes) |
Get the VTK type corresponding to a tuple of the MOAB type and number of nodes. num_nodes is ignored for MBPOLYGON type. More... | |
Static Public Attributes | |
static const char * | vtkTypeNames [] |
vtk data type names, indexed by DataType More... | |
static const VtkElemType | vtkElemTypes [] |
Vtk types, indexed by VTK type number. For unused VTK type numbers, mb_type will be MBMAXTYPE. More... | |
static const unsigned | numVtkElemType = sizeof( VtkUtil::vtkElemTypes ) / sizeof( VtkUtil::vtkElemTypes[0] ) |
Lenght of vtkElemTypes. More... | |
General data about VTK files for use by read and write code.
Definition at line 43 of file VtkUtil.hpp.
|
static |
Get the VTK type corresponding to a tuple of the MOAB type and number of nodes. num_nodes is ignored for MBPOLYGON type.
Definition at line 125 of file VtkUtil.cpp.
References moab::mb_to_vtk_type, MBPOLYGON, MBPOLYHEDRON, and vtkElemTypes.
Referenced by moab::WriteVtk::gather_mesh(), and moab::WriteVtk::write_elems().
|
static |
Lenght of vtkElemTypes.
Definition at line 55 of file VtkUtil.hpp.
Referenced by moab::ReadVtk::vtk_read_unstructured_grid().
|
static |
Vtk types, indexed by VTK type number. For unused VTK type numbers, mb_type will be MBMAXTYPE.
Definition at line 52 of file VtkUtil.hpp.
Referenced by get_vtk_type(), and moab::ReadVtk::vtk_read_unstructured_grid().
|
static |
vtk data type names, indexed by DataType
Definition at line 48 of file VtkUtil.hpp.
Referenced by moab::WriteVtk::write_tag().