VTK  9.5.20251125
vtkArrayDispatchDataSetArrayList.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef vtkArrayDispatchDataSetArrayList_h
5#define vtkArrayDispatchDataSetArrayList_h
6
7#include "vtkAOSDataArrayTemplate.h" // For vtkAOSDataArrayTemplate
8#include "vtkAffineTypeInt32Array.h" // For vtkAffineTypeInt32Array
9#include "vtkAffineTypeInt64Array.h" // For vtkAffineTypeInt64Array
10#include "vtkConstantArray.h" // For vtkConstantArray
11#include "vtkSOADataArrayTemplate.h" // For vtkSOADataArrayTemplate
12#include "vtkStructuredPointArray.h" // For vtkStructuredPointArray
13#include "vtkTypeInt32Array.h" // For vtkTypeInt32Array
14#include "vtkTypeInt64Array.h" // For vtkTypeInt64Array
15#include "vtkTypeList.h" // For vtkTypeList
16
17namespace vtkArrayDispatch
18{
19VTK_ABI_NAMESPACE_BEGIN
20
26 vtkTypeList::Create<vtkAOSDataArrayTemplate<float>, vtkAOSDataArrayTemplate<double>>;
27
33 vtkTypeList::Create<vtkSOADataArrayTemplate<float>, vtkSOADataArrayTemplate<double>>>::Result;
34
41
43
50using StorageConnectivityArrays = vtkTypeList::Create<vtkTypeInt32Array, vtkTypeInt64Array>;
51using StorageOffsetsArrays = vtkTypeList::Create<vtkTypeInt32Array, vtkTypeInt64Array,
52 vtkAffineTypeInt32Array, vtkAffineTypeInt64Array>;
54
56
69
74 vtkTypeList::Create<vtkAOSDataArrayTemplate<unsigned char>, vtkConstantArray<unsigned char>>;
75
76VTK_ABI_NAMESPACE_END
77}
78
79#endif // vtkArrayDispatchDataSetArrayList_h
Array-Of-Structs implementation of vtkGenericDataArray.
vtkTypeList::Create< vtkAOSDataArrayTemplate< float >, vtkAOSDataArrayTemplate< double > > AOSPointArrays
The type list of AOS point arrays.
vtkTypeList::Unique< vtkTypeList::Create< vtkAOSDataArrayTemplate< int >, vtkAOSDataArrayTemplate< long >, vtkAOSDataArrayTemplate< long long > > >::Result InputConnectivityArrays
List of possible ArrayTypes that are compatible with internal storage of vtkCellArray.
vtkTypeList::Create< vtkAOSDataArrayTemplate< unsigned char >, vtkConstantArray< unsigned char > > CellTypesArrays
List of possible array types to use for vtkUnstructuredGrid's cell types array.
vtkTypeList::Unique< vtkTypeList::Create< vtkAOSDataArrayTemplate< int >, vtkAOSDataArrayTemplate< long >, vtkAOSDataArrayTemplate< long long >, vtkAffineArray< int >, vtkAffineArray< long >, vtkAffineArray< long long > > >::Result InputOffsetsArrays
List of possible ArrayTypes that are compatible with internal storage of vtkCellArray.
vtkTypeList::Append< PointArrays, vtkTypeList::Create< vtkStructuredPointArray< double > > >::Result AllPointArrays
The type list of AOS, SOA, structured point arrays.
vtkTypeList::Create< vtkTypeInt32Array, vtkTypeInt64Array, vtkAffineTypeInt32Array, vtkAffineTypeInt64Array > StorageOffsetsArrays
List of possible array types used for storage of vtkCellArray.
vtkTypeList::Append< AOSPointArrays, vtkTypeList::Create< vtkSOADataArrayTemplate< float >, vtkSOADataArrayTemplate< double > > >::Result PointArrays
The type list of AOS & SOA point arrays.
vtkTypeList::Create< vtkTypeInt32Array, vtkTypeInt64Array > StorageConnectivityArrays
List of possible array types used for storage of vtkCellArray.
Struct-Of-Arrays implementation of vtkGenericDataArray.
Appends types/TypeLists to TypeList TList and stores the result in Result.
Remove all duplicate types from TypeList TList, storing the new list in Result.
vtkImplicitArray< vtkAffineImplicitBackend< T >, vtkArrayTypes::VTK_AFFINE_ARRAY > vtkAffineArray
A utility alias for wrapping affine functions in implicit arrays.
vtkImplicitArray< vtkConstantImplicitBackend< T >, vtkArrayTypes::VTK_CONSTANT_ARRAY > vtkConstantArray
A utility alias for wrapping constant functions in implicit arrays.