VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IO
ADIOS2
VTX
common
VTXTypes.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: VTXTypes.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
16
/*
17
* VTXTypes.h : header-only type definitions needed by the VTK::IOADIOS2 module
18
*
19
* Created on: May 14, 2019
20
* Author: William F Godoy godoywf@ornl.gov
21
*/
22
23
#ifndef VTK_IO_ADIOS2_VTX_COMMON_VTXTypes_h
24
#define VTK_IO_ADIOS2_VTX_COMMON_VTXTypes_h
25
26
#include <map>
27
#include <vector>
28
29
#include "
VTXDataArray.h
"
30
31
#include <adios2.h>
32
33
namespace
vtx
34
{
35
namespace
types
36
{
37
39
using
DataSet
= std::map<std::string, DataArray>;
40
41
enum class
DataSetType
42
{
43
CellData
,
44
PointData
,
45
Points
,
46
Coordinates
,
47
Cells
,
48
Verts
,
49
Lines
,
50
Strips
,
51
Polys
52
};
53
54
using
Piece
= std::map<DataSetType, DataSet>;
55
56
#define VTK_IO_ADIOS2_VTX_ARRAY_TYPE(MACRO) \
57
MACRO(int32_t) \
58
MACRO(uint32_t) \
59
MACRO(int64_t) \
60
MACRO(uint64_t) \
61
MACRO(float) \
62
MACRO(double)
63
64
}
// end namespace types
65
}
// end namespace vtx
66
67
#endif
/* VTK_IO_ADIOS2_VTX_COMMON_VTXTypes_h */
VTXDataArray.h
vtx::types::DataSet
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
Definition:
VTXTypes.h:39
vtx::types::DataSetType
DataSetType
Definition:
VTXTypes.h:42
vtx::types::DataSetType::CellData
@ CellData
vtx::types::DataSetType::Strips
@ Strips
vtx::types::DataSetType::Cells
@ Cells
vtx::types::DataSetType::Points
@ Points
vtx::types::DataSetType::Coordinates
@ Coordinates
vtx::types::DataSetType::Lines
@ Lines
vtx::types::DataSetType::Verts
@ Verts
vtx::types::DataSetType::PointData
@ PointData
vtx::types::DataSetType::Polys
@ Polys
vtx::types::Piece
std::map< DataSetType, DataSet > Piece
Definition:
VTXTypes.h:54
vtx
Definition:
vtkADIOS2VTXReader.h:36
Generated on Fri Apr 21 2023 10:28:55 for VTK by
1.9.6