18 #ifndef viskores_cont_internal_DefaultTypesVTK_h 19 #define viskores_cont_internal_DefaultTypesVTK_h 24 #include <viskores/TypeList.h> 26 #include <viskores/cont/CellSetList.h> 27 #include <viskores/cont/StorageList.h> 31 #ifdef VISKORES_ADD_XGC_DEFAULT_TYPES 32 #include <viskores/cont/ArrayHandleCartesianProduct.h> 33 #include <viskores/cont/ArrayHandleUniformPointCoordinates.h> 34 #include <viskores/cont/ArrayHandleXGCCoordinates.h> 35 #include <viskores/cont/StorageList.h> 60 viskores::List<viskores::Vec<viskores::Vec<viskores::Float32, 3>, 3>, viskores::Vec<viskores::Vec<viskores::Float64, 3>, 3> >;
62 using FieldTypeInVTK = viskores::ListAppend<viskores::TypeListVecCommon, VTKScalarTypes>;
65 viskores::ListAppend<viskores::TypeListVecCommon, SpecialGradientOutTypes, VTKScalarTypes>;
69 viskores::List<viskores::cont::CellSetStructured<3>, viskores::cont::CellSetStructured<2>, viskores::cont::CellSetStructured<1> >;
74 #ifdef VISKORES_USE_64BIT_IDS 75 using Int32AOSHandle = viskores::cont::ArrayHandle<viskores::Int32>;
76 using Int32AsIdAOSHandle = viskores::cont::ArrayHandleCast<viskores::Id, Int32AOSHandle>;
77 using Int32AsIdAOSStorage =
typename Int32AsIdAOSHandle::StorageTag;
80 Int32AsIdAOSStorage, Int32AsIdAOSStorage>;
82 viskores::cont::StorageTagBasic, viskores::cont::StorageTagBasic>;
85 #else // VISKORES_USE_64BIT_IDS 86 using Int64AOSHandle = viskores::cont::ArrayHandle<viskores::Int64, viskores::cont::StorageTagBasic>;
91 viskores::cont::StorageTagBasic, viskores::cont::StorageTagBasic>;
96 #endif // VISKORES_USE_64BIT_IDS 104 viskores::cont::CellSetExtrude
108 viskores::cont::CellSetExplicit<>,
109 viskores::cont::CellSetSingleType<>,
113 CellSetSingleType64Bit
117 using CellListAllInVTK = viskores::ListAppend<CellListStructuredInVTK, CellListUnstructuredInVTK>;
118 using CellListAllOutVTK = viskores::ListAppend<CellListStructuredOutVTK, CellListUnstructuredOutVTK>;
120 #ifdef VISKORES_ADD_XGC_DEFAULT_TYPES 121 using StorageListField = viskores::ListAppend<
122 viskores::List<viskores::cont::StorageTagXGCCoordinates>,
123 viskores::cont::StorageListCommon>;
128 #define VISKORES_DEFAULT_TYPE_LIST ::toviskores::FieldTypeInVTK 129 #define VISKORES_DEFAULT_CELL_SET_LIST_STRUCTURED ::toviskores::CellListStructuredInVTK 130 #define VISKORES_DEFAULT_CELL_SET_LIST_UNSTRUCTURED ::toviskores::CellListUnstructuredInVTK 132 #ifdef VISKORES_ADD_XGC_DEFAULT_TYPES 133 #define VISKORES_DEFAULT_STORAGE_LIST ::toviskores::StorageListField 136 #endif //viskores_cont_internal_DefaultTypesVTK_h viskores::List< viskores::Vec< viskores::Vec< viskores::Float32, 3 >, 3 >, viskores::Vec< viskores::Vec< viskores::Float64, 3 >, 3 > > SpecialGradientOutTypes
viskores::cont::CellSetSingleType< Int64AsIdAOSStorage > CellSetSingleType64Bit
viskores::List< viskores::cont::CellSetStructured< 3 >, viskores::cont::CellSetStructured< 2 >, viskores::cont::CellSetStructured< 1 > > CellListStructuredInVTK
viskores::cont::ArrayHandleCast< viskores::Id, Int64AOSHandle > Int64AsIdAOSHandle
CellListStructuredInVTK CellListStructuredOutVTK
viskores::List< signed char, unsigned char, short, unsigned short, int, unsigned int, long long, unsigned long long, float, double, char, long, unsigned long > VTKScalarTypes
viskores::List< CellSetExplicit32Bit, CellSetExplicit64Bit, CellSetSingleType32Bit, CellSetSingleType64Bit, viskores::cont::CellSetExtrude > CellListUnstructuredInVTK
viskores::ListAppend< viskores::TypeListVecCommon, VTKScalarTypes > FieldTypeInVTK
viskores::ListAppend< CellListStructuredOutVTK, CellListUnstructuredOutVTK > CellListAllOutVTK
viskores::cont::CellSetSingleType< viskores::cont::StorageTagBasic > CellSetSingleType32Bit
viskores::cont::CellSetExplicit< viskores::cont::StorageTagBasic, viskores::cont::StorageTagBasic, viskores::cont::StorageTagBasic > CellSetExplicit32Bit
viskores::ListAppend< viskores::TypeListVecCommon, SpecialGradientOutTypes, VTKScalarTypes > FieldTypeOutVTK
typename Int64AsIdAOSHandle::StorageTag Int64AsIdAOSStorage
viskores::ListAppend< CellListStructuredInVTK, CellListUnstructuredInVTK > CellListAllInVTK
viskores::cont::ArrayHandle< viskores::Int64, viskores::cont::StorageTagBasic > Int64AOSHandle
viskores::cont::CellSetExplicit< viskores::cont::StorageTagBasic, Int64AsIdAOSStorage, Int64AsIdAOSStorage > CellSetExplicit64Bit
viskores::List< viskores::cont::CellSetExplicit<>, viskores::cont::CellSetSingleType<>, CellSetExplicit32Bit, CellSetExplicit64Bit, CellSetSingleType32Bit, CellSetSingleType64Bit > CellListUnstructuredOutVTK