VTK  9.4.20241118
Classes | Namespaces | Enumerations | Functions
DataArrayConverters.h File Reference
#include "vtkAcceleratorsVTKmCoreModule.h"
#include "vtkmConfigCore.h"
#include "vtkAOSDataArrayTemplate.h"
#include "vtkSOADataArrayTemplate.h"
#include "vtkLogger.h"
#include <vtkm/cont/ArrayExtractComponent.h>
#include <vtkm/cont/ArrayHandleBasic.h>
#include <vtkm/cont/ArrayHandleRecombineVec.h>
#include <vtkm/cont/ArrayHandleRuntimeVec.h>
#include <vtkm/cont/ArrayHandleSOA.h>
#include <vtkm/cont/ArrayHandleStride.h>
#include <vtkm/cont/Field.h>
#include <vtkm/cont/UnknownArrayHandle.h>
#include <type_traits>
#include <utility>
Include dependency graph for DataArrayConverters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tovtkm::DataArrayToArrayHandle< vtkAOSDataArrayTemplate< T >, NumComponents >
 
struct  tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, NumComponents >
 
struct  tovtkm::DataArrayToArrayHandle< vtkSOADataArrayTemplate< T >, 1 >
 

Namespaces

namespace  vtkm
 
namespace  vtkm::cont
 
namespace  tovtkm
 
namespace  fromvtkm
 

Enumerations

enum class  tovtkm::FieldsFlag { tovtkm::None = 0x0 , tovtkm::Points = 0x1 , tovtkm::Cells = 0x2 , tovtkm::PointsAndCells = Points | Cells }
 

Functions

static const char * tovtkm::NoNameVTKFieldName ()
 Temporary name for arrays converted from VTK that do not have a name.
 
template<typename T >
vtkm::cont::ArrayHandleBasic< T > tovtkm::vtkAOSDataArrayToFlatArrayHandle (vtkAOSDataArrayTemplate< T > *input)
 
template<typename T >
vtkm::cont::ArrayHandleBasic< T > tovtkm::vtkSOADataArrayToComponentArrayHandle (vtkSOADataArrayTemplate< T > *input, int componentIndex)
 
template<typename T >
vtkm::cont::ArrayHandleRuntimeVec< T > tovtkm::vtkDataArrayToArrayHandle (vtkAOSDataArrayTemplate< T > *input)
 
template<typename T >
vtkm::cont::ArrayHandleRecombineVec< T > tovtkm::vtkDataArrayToArrayHandle (vtkSOADataArrayTemplate< T > *input)
 
template<typename DataArrayType >
vtkm::cont::UnknownArrayHandle tovtkm::vtkDataArrayToUnknownArrayHandle (DataArrayType *input)
 
VTKACCELERATORSVTKMCORE_EXPORT vtkDataArrayfromvtkm::Convert (const vtkm::cont::Field &input)
 
VTKACCELERATORSVTKMCORE_EXPORT vtkDataArrayfromvtkm::Convert (const vtkm::cont::UnknownArrayHandle &input, const std::string &name)
 
VTKACCELERATORSVTKMCORE_EXPORT vtkPointsfromvtkm::Convert (const vtkm::cont::CoordinateSystem &input)
 
tovtkm::FieldsFlag operator& (const tovtkm::FieldsFlag &a, const tovtkm::FieldsFlag &b)
 
tovtkm::FieldsFlag operator| (const tovtkm::FieldsFlag &a, const tovtkm::FieldsFlag &b)
 

Function Documentation

◆ operator&()

tovtkm::FieldsFlag operator& ( const tovtkm::FieldsFlag a,
const tovtkm::FieldsFlag b 
)
inline

Definition at line 231 of file DataArrayConverters.h.

◆ operator|()

tovtkm::FieldsFlag operator| ( const tovtkm::FieldsFlag a,
const tovtkm::FieldsFlag b 
)
inline

Definition at line 237 of file DataArrayConverters.h.