VTK-m  2.0
Classes | Namespaces | Functions
CastAndCall.h File Reference
#include <vtkm/internal/IndexTag.h>
#include <vtkm/cont/DefaultTypes.h>
#include <vtkm/cont/UnknownArrayHandle.h>
#include <utility>

Go to the source code of this file.

Classes

class  vtkm::cont::ArrayHandle< T, StorageTag_ >
 Manages an array-worth of data. More...
 
class  vtkm::cont::CellSetStructured< DIMENSION >
 
class  vtkm::cont::CellSetSingleType< ConnectivityStorageTag >
 
class  vtkm::cont::CellSetExplicit< ShapesStorageTag, ConnectivityStorageTag, OffsetsStorageTag >
 
class  vtkm::cont::CellSetPermutation< OriginalCellSetType_, PermutationArrayHandleType_ >
 

Namespaces

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

Functions

template<typename DynamicObject , typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const DynamicObject &dynamicObject, Functor &&f, Args &&... args)
 A Generic interface to CastAndCall. More...
 
template<typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const CoordinateSystem &coords, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic CoordinateSystem to make it be treated just like any other dynamic object. More...
 
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 Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::UnknownCellSet &cellSet, Functor &&f, Args &&... args)
 A specialization of CastAndCall for unknown cell sets. More...
 
template<typename T , typename U , typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::ArrayHandle< T, U > &handle, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic ArrayHandle types, Since the type is already known no deduction is needed. More...
 
template<typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const UnknownArrayHandle &handle, Functor &&f, Args &&... args)
 A specialization of CastAndCall for UnknownArrayHandle. More...
 
template<vtkm::IdComponent Dim, typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::CellSetStructured< Dim > &cellset, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic CellSetStructured types, Since the type is already known no deduction is needed. More...
 
template<typename ConnectivityStorageTag , typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::CellSetSingleType< ConnectivityStorageTag > &cellset, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic CellSetSingleType types, Since the type is already known no deduction is needed. More...
 
template<typename T , typename S , typename U , typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::CellSetExplicit< T, S, U > &cellset, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic CellSetExplicit types, Since the type is already known no deduction is needed. More...
 
template<typename PermutationType , typename CellSetType , typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::CellSetPermutation< PermutationType, CellSetType > &cellset, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic CellSetPermutation types, Since the type is already known no deduction is needed. More...
 
template<typename Functor , typename... Args>
void vtkm::cont::CastAndCall (const vtkm::cont::CellSetExtrude &cellset, Functor &&f, Args &&... args)
 A specialization of CastAndCall for basic CellSetExtrude types, Since the type is already known no deduction is needed. More...
 
template<typename... Args>
void vtkm::cont::ConditionalCastAndCall (std::true_type, Args &&... args)
 CastAndCall if the condition is true. More...
 
template<typename... Args>
void vtkm::cont::ConditionalCastAndCall (std::false_type, Args &&...)
 No-op variant since the condition is false. More...