VTK data types handling. More...
Static Public Member Functions | |
template<typename T> | |
static VTKDataType | registerType () |
template<typename T> | |
static VTKDataType | registerType (VTKDataType VTKType) |
static uint8_t | sizeOfType (VTKDataType type) |
template<typename T, int nesting = 0, typename std::enable_if< std::is_pod< T >::value &&!utils::is_iterable< T >::value >::type * = nullptr> | |
static VTKDataType | whichType () |
template<typename T, int nesting = 0, typename std::enable_if< utils::is_iterable< T >::value >::type * = nullptr> | |
static VTKDataType | whichType () |
static VTKDataType | whichType (const std::type_info &) |
Detailed Description
Member Function Documentation
◆ registerType() [1/2]
|
static |
Registers a type that will be used by the VTK functions
- Template Parameters
-
T is the type that will be registered
Definition at line 36 of file VTKTypes.tpp.
◆ registerType() [2/2]
|
static |
Registers a type that will be used by the VTK functions
- Template Parameters
-
T is the type that will be registered
- Parameters
-
[in] VTKType is the VTK type that will be associated with the specified
Definition at line 98 of file VTKTypes.tpp.
◆ sizeOfType()
|
static |
Calculates the size in bytes of basic types supported by VTK
- Parameters
-
[in] type type of data [ VTKDataType::[[U]Int[8/16/32/64] / Float[32/64] ] ]
- Returns
- size of basic type
Definition at line 67 of file VTKTypes.cpp.
◆ whichType() [1/2]
|
static |
Determines the basic VTK type from argument.
- Template Parameters
-
T type of argument nesting level of nesting
- Returns
- basic VTK type
Definition at line 117 of file VTKTypes.tpp.
◆ whichType() [2/2]
|
static |
Determines the basic VTK type from argument.
- Parameters
-
[in] typeInfo argument type
- Returns
- basic VTK type
Definition at line 102 of file VTKTypes.cpp.
The documentation for this class was generated from the following files:
- src/IO/VTK.hpp
- src/IO/VTKTypes.cpp
- src/IO/VTKTypes.tpp
