VTK-m  2.2
Classes | Namespaces | Macros | Functions
UnknownCellSet.h File Reference
#include <vtkm/cont/CastAndCall.h>
#include <vtkm/cont/CellSet.h>
#include <vtkm/cont/DefaultTypes.h>
#include <vtkm/cont/vtkm_cont_export.h>
#include <memory>
#include <vtkm/cont/UncertainCellSet.h>

Go to the source code of this file.

Classes

class  vtkm::cont::UncertainCellSet< CellSetList >
 A CellSet of an uncertain type. More...
 
class  vtkm::cont::UnknownCellSet
 A CellSet of an unknown type. More...
 

Namespaces

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

Macros

#define VTKM_IS_UNKNOWN_CELL_SET(T)   VTKM_STATIC_ASSERT(::vtkm::cont::internal::UnknownCellSetCheck<T>::value)
 
#define VTKM_IS_KNOWN_OR_UNKNOWN_CELL_SET(T)
 

Functions

template<typename CellSetType >
bool vtkm::cont::IsType (const vtkm::cont::UnknownCellSet &unknownCellSet)
 Returns true if unknownCellSet matches the type of CellSetType. More...
 
template<typename CellSetType >
CellSetType vtkm::cont::Cast (const vtkm::cont::UnknownCellSet &unknownCellSet)
 Returns unknownCellSet cast to the given CellSet type. 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...
 

Macro Definition Documentation

◆ VTKM_IS_KNOWN_OR_UNKNOWN_CELL_SET

#define VTKM_IS_KNOWN_OR_UNKNOWN_CELL_SET (   T)
Value:
VTKM_STATIC_ASSERT(::vtkm::cont::internal::CellSetCheck<T>::type::value || \
::vtkm::cont::internal::UnknownCellSetCheck<T>::value)

◆ VTKM_IS_UNKNOWN_CELL_SET

#define VTKM_IS_UNKNOWN_CELL_SET (   T)    VTKM_STATIC_ASSERT(::vtkm::cont::internal::UnknownCellSetCheck<T>::value)
VTKM_STATIC_ASSERT
#define VTKM_STATIC_ASSERT(condition)
Definition: StaticAssert.h:16