VTK
9.4.20241117
|
Enumerations | |
enum class | FieldsFlag { None = 0x0 , Points = 0x1 , Cells = 0x2 , PointsAndCells = Points | Cells } |
Functions | |
static const char * | NoNameVTKFieldName () |
Temporary name for arrays converted from VTK that do not have a name. | |
template<typename T > | |
vtkm::cont::ArrayHandleBasic< T > | vtkAOSDataArrayToFlatArrayHandle (vtkAOSDataArrayTemplate< T > *input) |
template<typename T > | |
vtkm::cont::ArrayHandleBasic< T > | vtkSOADataArrayToComponentArrayHandle (vtkSOADataArrayTemplate< T > *input, int componentIndex) |
template<typename T > | |
vtkm::cont::ArrayHandleRuntimeVec< T > | vtkDataArrayToArrayHandle (vtkAOSDataArrayTemplate< T > *input) |
template<typename T > | |
vtkm::cont::ArrayHandleRecombineVec< T > | vtkDataArrayToArrayHandle (vtkSOADataArrayTemplate< T > *input) |
template<typename DataArrayType > | |
vtkm::cont::UnknownArrayHandle | vtkDataArrayToUnknownArrayHandle (DataArrayType *input) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT void | ProcessFields (vtkDataSet *input, vtkm::cont::DataSet &dataset, tovtkm::FieldsFlag fields) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::Field | Convert (vtkDataArray *input, int association) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::UnknownCellSet | ConvertSingleType (vtkCellArray *cells, int cellType, vtkIdType numberOfPoints) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::UnknownCellSet | Convert (vtkUnsignedCharArray *types, vtkCellArray *cells, vtkIdType numberOfPoints) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::CoordinateSystem | Convert (vtkPoints *points) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet | Convert (vtkStructuredGrid *input, FieldsFlag fields=FieldsFlag::None) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet | Convert (vtkRectilinearGrid *input, FieldsFlag fields) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet | Convert (vtkDataSet *input, FieldsFlag fields=FieldsFlag::None) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet | Convert (vtkImageData *input, FieldsFlag fields=FieldsFlag::None) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet | Convert (vtkPolyData *input, FieldsFlag fields=FieldsFlag::None) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet | Convert (vtkUnstructuredGrid *input, FieldsFlag fields=FieldsFlag::None) |
|
strong |
Enumerator | |
---|---|
None | |
Points | |
Cells | |
PointsAndCells |
Definition at line 202 of file DataArrayConverters.h.
|
inlinestatic |
Temporary name for arrays converted from VTK that do not have a name.
Unnamed arrays seem to be supported by VTK, but VTK-m requires all fields to have a name.
Definition at line 49 of file DataArrayConverters.h.
vtkm::cont::ArrayHandleBasic< T > tovtkm::vtkAOSDataArrayToFlatArrayHandle | ( | vtkAOSDataArrayTemplate< T > * | input | ) |
Definition at line 56 of file DataArrayConverters.h.
vtkm::cont::ArrayHandleBasic< T > tovtkm::vtkSOADataArrayToComponentArrayHandle | ( | vtkSOADataArrayTemplate< T > * | input, |
int | componentIndex | ||
) |
Definition at line 87 of file DataArrayConverters.h.
vtkm::cont::ArrayHandleRuntimeVec< T > tovtkm::vtkDataArrayToArrayHandle | ( | vtkAOSDataArrayTemplate< T > * | input | ) |
Definition at line 116 of file DataArrayConverters.h.
vtkm::cont::ArrayHandleRecombineVec< T > tovtkm::vtkDataArrayToArrayHandle | ( | vtkSOADataArrayTemplate< T > * | input | ) |
Definition at line 123 of file DataArrayConverters.h.
vtkm::cont::UnknownArrayHandle tovtkm::vtkDataArrayToUnknownArrayHandle | ( | DataArrayType * | input | ) |
Definition at line 141 of file DataArrayConverters.h.
VTKACCELERATORSVTKMDATAMODEL_EXPORT void tovtkm::ProcessFields | ( | vtkDataSet * | input, |
vtkm::cont::DataSet & | dataset, | ||
tovtkm::FieldsFlag | fields | ||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::Field tovtkm::Convert | ( | vtkDataArray * | input, |
int | association | ||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::UnknownCellSet tovtkm::ConvertSingleType | ( | vtkCellArray * | cells, |
int | cellType, | ||
vtkIdType | numberOfPoints | ||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::UnknownCellSet tovtkm::Convert | ( | vtkUnsignedCharArray * | types, |
vtkCellArray * | cells, | ||
vtkIdType | numberOfPoints | ||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::CoordinateSystem tovtkm::Convert | ( | vtkPoints * | points | ) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet tovtkm::Convert | ( | vtkStructuredGrid * | input, |
FieldsFlag | fields = FieldsFlag::None |
||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet tovtkm::Convert | ( | vtkRectilinearGrid * | input, |
FieldsFlag | fields | ||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet tovtkm::Convert | ( | vtkDataSet * | input, |
FieldsFlag | fields = FieldsFlag::None |
||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet tovtkm::Convert | ( | vtkImageData * | input, |
FieldsFlag | fields = FieldsFlag::None |
||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet tovtkm::Convert | ( | vtkPolyData * | input, |
FieldsFlag | fields = FieldsFlag::None |
||
) |
VTKACCELERATORSVTKMDATAMODEL_EXPORT vtkm::cont::DataSet tovtkm::Convert | ( | vtkUnstructuredGrid * | input, |
FieldsFlag | fields = FieldsFlag::None |
||
) |