4#ifndef vtkIOSSCellGridUtilities_h
5#define vtkIOSSCellGridUtilities_h
28#include "vtkTypeInt32Array.h"
29#include "vtkTypeInt64Array.h"
35#include VTK_IOSS(Ioss_Region.h)
36#include VTK_IOSS(Ioss_Transform.h)
37#include VTK_IOSS(Ioss_StructuredBlock.h)
38#include VTK_IOSS(Ioss_SideSet.h)
39#include VTK_IOSS(Ioss_SideBlock.h)
45VTK_ABI_NAMESPACE_BEGIN
55VTK_ABI_NAMESPACE_BEGIN
70 int& ioss_cell_points,
int& ioss_cell_order,
vtkCellGrid* cellGrid =
nullptr);
88 int ioss_cell_points,
int spec_index = -1,
const std::string& group_name = std::string(),
114 int& ioss_cell_points,
int& ioss_cell_order,
vtkCellGrid* cell_grid =
nullptr,
126bool GetShape(Ioss::Region* region,
const Ioss::GroupingEntity* group_entity,
object to represent cell connectivity
Visualization data composed of cells of arbitrary type.
Base class for a discontinuous Galerkin cells of all shapes.
abstract class to specify dataset behavior
Hold a reference to a vtkObjectBase instance.
internal utilities for vtkIOSSCellGridReader
vtkSmartPointer< vtkCellMetadata > GetCellMetadata(const Ioss::ElementTopology *topology, int &ioss_cell_points, int &ioss_cell_order, vtkCellGrid *cellGrid=nullptr)
Returns the an instance of a vtkCellMetadata subclass that can hold data corresponding to the input I...
bool GetShape(Ioss::Region *region, const Ioss::GroupingEntity *group_entity, vtkCellAttribute::CellTypeInfo &cellShapeInfo, int timestep, vtkDGCell *meta, vtkCellGrid *grid=nullptr, vtkIOSSUtilities::Cache *cache=nullptr)
Fetch the nodal coordinates for group_entity and create the cell_grid's shape attribute.
bool GetConnectivity(const Ioss::GroupingEntity *group_entity, vtkCellGrid *grid, vtkDGCell *meta, int ioss_cell_points, int spec_index=-1, const std::string &group_name=std::string(), vtkIOSSUtilities::Cache *cache=nullptr)
Read connectivity and possibly ghost-node markings into meta.
const Ioss::ElementTopology * GetElementTopology(vtkCellMetadata *cellType)
Return (if possible) an Ioss::ElementTopology object that corresponds to the input cell metadata.