27 #ifndef vtkXdmf3DataSet_h 28 #define vtkXdmf3DataSet_h 30 #include "vtkIOXdmf3Module.h" 33 #include "vtk_xdmf3.h" 34 #include VTKXDMF3_HEADER(core/XdmfSharedPtr.hpp) 48 class XdmfTopologyType;
49 class XdmfRegularGrid;
51 class XdmfRectilinearGrid;
53 class XdmfCurvilinearGrid;
55 class XdmfUnstructuredGrid;
78 static bool VTKToXdmfArray(
79 vtkDataArray* vArray, XdmfArray* xArray,
unsigned int rank = 0,
unsigned int* dims =
nullptr);
93 static void VTKToXdmfAttributes(
vtkDataObject* dObject, XdmfGrid* grid);
99 static unsigned int GetNumberOfPointsPerCell(
int vtk_cell_type,
bool& fail);
100 static int GetVTKCellType(shared_ptr<const XdmfTopologyType> topologyType);
101 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);
124 static void CopyShape(
130 static void VTKToXdmf(
144 static void CopyShape(
151 const char*
name = 0);
164 static void CopyShape(
171 const char*
name = 0);
190 static void VTKToXdmf(
191 vtkPointSet* dataSet, XdmfDomain* domain,
bool hasTime,
double time,
const char*
name = 0);
204 static void VTKToXdmf(
213 static void XdmfToVTKAttributes(
225 static void XdmfSubsetToVTK(XdmfGrid* grid,
unsigned int setnum,
vtkDataSet* dataSet,
233 static int GetVTKFiniteElementCellType(
unsigned int element_degree,
234 const std::string& element_family, shared_ptr<const XdmfTopologyType> topologyType);
247 static void ParseFiniteElementFunction(
vtkDataObject* dObject,
248 shared_ptr<XdmfAttribute> xmfAttribute,
vtkDataArray* array, XdmfGrid* grid,
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