27 #ifndef vtkXdmf3DataSet_h
28 #define vtkXdmf3DataSet_h
30 #include "vtkIOXdmf3Module.h"
31 #include "XdmfSharedPtr.hpp"
42 class XdmfTopologyType;
43 class XdmfRegularGrid;
45 class XdmfRectilinearGrid;
47 class XdmfCurvilinearGrid;
49 class XdmfUnstructuredGrid;
70 unsigned int preferredComponents = 0,
76 static bool VTKToXdmfArray(
79 unsigned int rank = 0,
unsigned int *dims = NULL);
85 static void XdmfToVTKAttributes(
96 static void VTKToXdmfAttributes(
vtkDataObject *dObject, XdmfGrid *grid);
102 static unsigned int GetNumberOfPointsPerCell(
int vtk_cell_type,
bool &fail);
103 static int GetVTKCellType(shared_ptr<const XdmfTopologyType> topologyType);
104 static int GetXdmfCellType(
int vtkType);
111 static void SetTime(XdmfGrid *grid,
double hasTime,
double time);
112 static void SetTime(XdmfGraph *graph,
double hasTime,
double time);
120 static void XdmfToVTK(
124 XdmfRegularGrid *grid,
131 static void CopyShape(
132 XdmfRegularGrid *grid,
139 static void VTKToXdmf(
142 bool hasTime,
double time,
143 const char*
name = 0);
149 static void XdmfToVTK(
153 XdmfRectilinearGrid *grid,
160 static void CopyShape(
161 XdmfRectilinearGrid *grid,
168 static void VTKToXdmf(
171 bool hasTime,
double time,
172 const char*
name = 0);
178 static void XdmfToVTK(
182 XdmfCurvilinearGrid *grid,
189 static void CopyShape(
190 XdmfCurvilinearGrid *grid,
197 static void VTKToXdmf(
200 bool hasTime,
double time,
201 const char*
name = 0);
207 static void XdmfToVTK(
211 XdmfUnstructuredGrid *grid,
218 static void CopyShape(
219 XdmfUnstructuredGrid *grid,
226 static void VTKToXdmf(
229 bool hasTime,
double time,
230 const char*
name = 0);
236 static void XdmfToVTK(
247 static void VTKToXdmf(
250 bool hasTime,
double time,
251 const char*
name = 0);
260 static void XdmfToVTKAttributes(
273 static void XdmfSubsetToVTK(
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