10 #ifndef vtk_m_io_internal_VTKDataSetStructures_h
11 #define vtk_m_io_internal_VTKDataSetStructures_h
25 DATASET_STRUCTURED_POINTS,
26 DATASET_STRUCTURED_GRID,
27 DATASET_UNSTRUCTURED_GRID,
29 DATASET_RECTILINEAR_GRID,
33 inline const char* DataSetStructureString(
int id)
35 static const char* strings[] = {
"",
45 inline DataSetStructure DataSetStructureId(
const std::string& str)
47 DataSetStructure structure = DATASET_UNKNOWN;
48 for (
int id = 1;
id < 7; ++id)
50 if (str == DataSetStructureString(
id))
52 structure =
static_cast<DataSetStructure
>(id);
62 #endif // vtk_m_io_internal_VTKDataSetStructures_h