30 #ifndef vtkXdmf3DataSet_h
31 #define vtkXdmf3DataSet_h
33 #include "vtkIOXdmf3Module.h"
34 #include "XdmfSharedPtr.hpp"
45 class XdmfTopologyType;
46 class XdmfRegularGrid;
48 class XdmfRectilinearGrid;
50 class XdmfCurvilinearGrid;
52 class XdmfUnstructuredGrid;
72 unsigned int preferredComponents = 0,
78 static bool VTKToXdmfArray(
81 unsigned int rank = 0,
unsigned int *dims = NULL);
87 static void XdmfToVTKAttributes(
97 static void VTKToXdmfAttributes(
vtkDataObject *dObject, XdmfGrid *grid);
101 static unsigned int GetNumberOfPointsPerCell(
int vtk_cell_type,
bool &fail);
102 static int GetVTKCellType(shared_ptr<const XdmfTopologyType> topologyType);
103 static int GetXdmfCellType(
int vtkType);
108 static void SetTime(XdmfGrid *grid,
double hasTime,
double time);
109 static void SetTime(XdmfGraph *graph,
double hasTime,
double time);
116 static void XdmfToVTK(
120 XdmfRegularGrid *grid,
127 static void CopyShape(
128 XdmfRegularGrid *grid,
135 static void VTKToXdmf(
138 bool hasTime,
double time,
139 const char*
name = 0);
145 static void XdmfToVTK(
149 XdmfRectilinearGrid *grid,
156 static void CopyShape(
157 XdmfRectilinearGrid *grid,
164 static void VTKToXdmf(
167 bool hasTime,
double time,
168 const char*
name = 0);
174 static void XdmfToVTK(
178 XdmfCurvilinearGrid *grid,
185 static void CopyShape(
186 XdmfCurvilinearGrid *grid,
193 static void VTKToXdmf(
196 bool hasTime,
double time,
197 const char*
name = 0);
203 static void XdmfToVTK(
207 XdmfUnstructuredGrid *grid,
214 static void CopyShape(
215 XdmfUnstructuredGrid *grid,
222 static void VTKToXdmf(
225 bool hasTime,
double time,
226 const char*
name = 0);
232 static void XdmfToVTK(
243 static void VTKToXdmf(
246 bool hasTime,
double time,
247 const char*
name = 0);
256 static void XdmfToVTKAttributes(
269 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