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;
69 unsigned int preferredComponents = 0,
75 static bool VTKToXdmfArray(
78 unsigned int rank = 0,
unsigned int *dims = NULL);
84 static void XdmfToVTKAttributes(
94 static void VTKToXdmfAttributes(
vtkDataObject *dObject, XdmfGrid *grid);
98 static unsigned int GetNumberOfPointsPerCell(
int vtk_cell_type,
bool &fail);
99 static int GetVTKCellType(shared_ptr<const XdmfTopologyType> topologyType);
100 static int GetXdmfCellType(
int vtkType);
105 static void SetTime(XdmfGrid *grid,
double hasTime,
double time);
106 static void SetTime(XdmfGraph *graph,
double hasTime,
double time);
113 static void XdmfToVTK(
117 XdmfRegularGrid *grid,
124 static void CopyShape(
125 XdmfRegularGrid *grid,
132 static void VTKToXdmf(
135 bool hasTime,
double time,
136 const char*
name = 0);
142 static void XdmfToVTK(
146 XdmfRectilinearGrid *grid,
153 static void CopyShape(
154 XdmfRectilinearGrid *grid,
161 static void VTKToXdmf(
164 bool hasTime,
double time,
165 const char*
name = 0);
171 static void XdmfToVTK(
175 XdmfCurvilinearGrid *grid,
182 static void CopyShape(
183 XdmfCurvilinearGrid *grid,
190 static void VTKToXdmf(
193 bool hasTime,
double time,
194 const char*
name = 0);
200 static void XdmfToVTK(
204 XdmfUnstructuredGrid *grid,
211 static void CopyShape(
212 XdmfUnstructuredGrid *grid,
219 static void VTKToXdmf(
222 bool hasTime,
double time,
223 const char*
name = 0);
229 static void XdmfToVTK(
240 static void VTKToXdmf(
243 bool hasTime,
double time,
244 const char*
name = 0);
253 static void XdmfToVTKAttributes(
266 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