10 #ifndef vtk_m_cont_CellSet_h
11 #define vtk_m_cont_CellSet_h
41 virtual vtkm::Id GetNumberOfCells()
const = 0;
43 virtual vtkm::Id GetNumberOfFaces()
const = 0;
45 virtual vtkm::Id GetNumberOfEdges()
const = 0;
48 virtual vtkm::Id GetNumberOfPoints()
const = 0;
58 virtual std::shared_ptr<CellSet> NewInstance()
const = 0;
62 virtual void DeepCopy(
const CellSet* src) = 0;
65 virtual void PrintSummary(std::ostream&)
const = 0;
71 virtual void ReleaseResourcesExecution() = 0;
85 using U =
typename std::remove_pointer<T>::type;
86 using type =
typename std::is_base_of<vtkm::cont::CellSet, U>::type;
89 #define VTKM_IS_CELL_SET(T) VTKM_STATIC_ASSERT(::vtkm::cont::internal::CellSetCheck<T>::type::value)
95 #endif //vtk_m_cont_CellSet_h