27 #ifndef vtkXdmf3DataSet_h 28 #define vtkXdmf3DataSet_h 30 #include "vtkIOXdmf3Module.h" 31 #include "XdmfSharedPtr.hpp" 43 class XdmfTopologyType;
44 class XdmfRegularGrid;
46 class XdmfRectilinearGrid;
48 class XdmfCurvilinearGrid;
50 class XdmfUnstructuredGrid;
71 unsigned int preferredComponents = 0,
77 static bool VTKToXdmfArray(
80 unsigned int rank = 0,
unsigned int *dims =
nullptr);
86 static void XdmfToVTKAttributes(
97 static void VTKToXdmfAttributes(
vtkDataObject *dObject, XdmfGrid *grid);
103 static unsigned int GetNumberOfPointsPerCell(
int vtk_cell_type,
bool &fail);
104 static int GetVTKCellType(shared_ptr<const XdmfTopologyType> topologyType);
105 static int GetXdmfCellType(
int vtkType);
112 static void SetTime(XdmfGrid *grid,
double hasTime,
double time);
113 static void SetTime(XdmfGraph *graph,
double hasTime,
double time);
121 static void XdmfToVTK(
125 XdmfRegularGrid *grid,
132 static void CopyShape(
133 XdmfRegularGrid *grid,
140 static void VTKToXdmf(
143 bool hasTime,
double time,
144 const char*
name = 0);
150 static void XdmfToVTK(
154 XdmfRectilinearGrid *grid,
161 static void CopyShape(
162 XdmfRectilinearGrid *grid,
169 static void VTKToXdmf(
172 bool hasTime,
double time,
173 const char*
name = 0);
179 static void XdmfToVTK(
183 XdmfCurvilinearGrid *grid,
190 static void CopyShape(
191 XdmfCurvilinearGrid *grid,
198 static void VTKToXdmf(
201 bool hasTime,
double time,
202 const char*
name = 0);
208 static void XdmfToVTK(
212 XdmfUnstructuredGrid *grid,
219 static void CopyShape(
220 XdmfUnstructuredGrid *grid,
227 static void VTKToXdmf(
230 bool hasTime,
double time,
231 const char*
name = 0);
237 static void XdmfToVTK(
248 static void VTKToXdmf(
251 bool hasTime,
double time,
252 const char*
name = 0);
261 static void XdmfToVTKAttributes(
274 static void XdmfSubsetToVTK(
286 static int GetVTKFiniteElementCellType(
287 unsigned int element_degree,
289 shared_ptr<const XdmfTopologyType> topologyType);
302 static void ParseFiniteElementFunction(
304 shared_ptr <XdmfAttribute> xmfAttribute,
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
abstract class for specifying dataset behavior
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