14 #ifndef vtkXdmf3DataSet_h
15 #define vtkXdmf3DataSet_h
17 #include "vtkIOXdmf3Module.h"
20 #include "vtk_xdmf3.h"
21 #include VTKXDMF3_HEADER(core/XdmfSharedPtr.hpp)
30 class XdmfTopologyType;
31 class XdmfRegularGrid;
32 class XdmfRectilinearGrid;
33 class XdmfCurvilinearGrid;
34 class XdmfUnstructuredGrid;
38 VTK_ABI_NAMESPACE_BEGIN
67 static bool VTKToXdmfArray(
68 vtkDataArray* vArray, XdmfArray* xArray,
unsigned int rank = 0,
unsigned int* dims =
nullptr);
82 static void VTKToXdmfAttributes(
vtkDataObject* dObject, XdmfGrid* grid);
88 static unsigned int GetNumberOfPointsPerCell(
int vtk_cell_type,
bool& fail);
89 static int GetVTKCellType(shared_ptr<const XdmfTopologyType> topologyType);
90 static int GetXdmfCellType(
int vtkType);
97 static void SetTime(XdmfGrid* grid,
double hasTime,
double time);
98 static void SetTime(XdmfGraph* graph,
double hasTime,
double time);
113 static void CopyShape(
119 static void VTKToXdmf(
vtkImageData* dataSet, XdmfDomain* domain,
bool hasTime,
double time,
120 const char*
name =
nullptr);
133 static void CopyShape(
139 static void VTKToXdmf(
vtkRectilinearGrid* dataSet, XdmfDomain* domain,
bool hasTime,
double time,
140 const char*
name =
nullptr);
153 static void CopyShape(
159 static void VTKToXdmf(
vtkStructuredGrid* dataSet, XdmfDomain* domain,
bool hasTime,
double time,
160 const char*
name =
nullptr);
179 static void VTKToXdmf(
vtkPointSet* dataSet, XdmfDomain* domain,
bool hasTime,
double time,
180 const char*
name =
nullptr);
193 static void VTKToXdmf(
vtkDirectedGraph* dataSet, XdmfDomain* domain,
bool hasTime,
double time,
194 const char*
name =
nullptr);
202 static void XdmfToVTKAttributes(
214 static void XdmfSubsetToVTK(XdmfGrid* grid,
unsigned int setnum,
vtkDataSet* dataSet,
222 static int GetVTKFiniteElementCellType(
unsigned int element_degree,
223 const std::string& element_family, shared_ptr<const XdmfTopologyType> topologyType);
236 static void ParseFiniteElementFunction(
vtkDataObject* dObject,
237 shared_ptr<XdmfAttribute> xmfAttribute,
vtkDataArray* array, XdmfGrid* grid,
241 VTK_ABI_NAMESPACE_END
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
LRU cache of XDMF Arrays.
abstract class to specify dataset behavior
concrete class for storing a set of points
topologically and geometrically regular array of data
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
An editable directed graph.
topologically regular array of data
dataset level translation between xdmf3 and vtk
general representation of visualization data
helper to identify requested arrays with