VTK-m  2.2
Classes | Namespaces | Functions
Field.h File Reference
#include <vtkm/cont/vtkm_cont_export.h>
#include <vtkm/Range.h>
#include <vtkm/Types.h>
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/cont/CastAndCall.h>
#include <vtkm/cont/UnknownArrayHandle.h>

Go to the source code of this file.

Classes

class  vtkm::cont::Field
 A Field encapsulates an array on some piece of the mesh, such as the points, a cell set, a point logical dimension, or the whole mesh. More...
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::cont
 VTK-m Control Environment.
 

Functions

template<typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::Field &field, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic Field to make it be treated just like any other dynamic object. More...
 
template<typename T >
vtkm::cont::Field vtkm::cont::make_Field (std::string name, Field::Association association, const T *data, vtkm::Id size, vtkm::CopyFlag copy)
 Convenience functions to build fields from C style arrays and std::vector. More...
 
template<typename T >
vtkm::cont::Field vtkm::cont::make_Field (std::string name, Field::Association association, const std::vector< T > &data, vtkm::CopyFlag copy)
 
template<typename T >
vtkm::cont::Field vtkm::cont::make_FieldMove (std::string name, Field::Association association, std::vector< T > &&data)
 
template<typename T >
vtkm::cont::Field vtkm::cont::make_Field (std::string name, Field::Association association, std::vector< T > &&data, vtkm::CopyFlag)
 
template<typename T >
vtkm::cont::Field vtkm::cont::make_Field (std::string name, Field::Association association, std::initializer_list< T > &&data)
 
template<typename T , typename S >
vtkm::cont::Field vtkm::cont::make_FieldPoint (std::string name, const vtkm::cont::ArrayHandle< T, S > &data)
 Convenience function to build point fields from vtkm::cont::ArrayHandle. More...
 
vtkm::cont::Field vtkm::cont::make_FieldPoint (std::string name, const vtkm::cont::UnknownArrayHandle &data)
 Convenience function to build point fields from vtkm::cont::UnknownArrayHandle. More...
 
template<typename T , typename S >
vtkm::cont::Field vtkm::cont::make_FieldCell (std::string name, const vtkm::cont::ArrayHandle< T, S > &data)
 Convenience function to build cell fields from vtkm::cont::ArrayHandle. More...
 
vtkm::cont::Field vtkm::cont::make_FieldCell (std::string name, const vtkm::cont::UnknownArrayHandle &data)
 Convenience function to build cell fields from vtkm::cont::UnknownArrayHandle. More...