Go to the documentation of this file.
10 #ifndef vtkm_m_worklet_Triangulate_h
11 #define vtkm_m_worklet_Triangulate_h
33 template <
typename CountArrayType>
42 outputIndex = inputIndex;
52 template <
typename CellSetType>
90 #endif // vtkm_m_worklet_Triangulate_h
vtkm::cont::CellSetSingleType Run(const CellSetType &cellSet)
Definition: worklet/Triangulate.h:53
#define VTKM_EXEC
Definition: ExportMacros.h:51
vtkm::cont::CellSetSingleType Run(const CellSetType &cellSet, vtkm::cont::ArrayHandle< vtkm::IdComponent > &outCellsPerCell)
Definition: TriangulateExplicit.h:99
Groups connected points that have the same field value.
Definition: Atomic.h:19
void(FieldIn inIndices, FieldOut outIndices) ControlSignature
Definition: worklet/Triangulate.h:29
Compute the triangulate cells for an explicit grid data set.
Definition: TriangulateExplicit.h:34
DistributeCellData::ScatterType OutCellScatter
Definition: worklet/Triangulate.h:85
A control signature tag for output fields.
Definition: WorkletMapField.h:60
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
Definition: CastAndCall.h:32
vtkm::cont::CellSetSingleType Run(const vtkm::cont::CellSetStructured< 1 > &)
Definition: worklet/Triangulate.h:77
DistributeCellData::ScatterType GetOutCellScatter() const
Definition: worklet/Triangulate.h:82
Definition: CastAndCall.h:34
This class is thrown when VTK-m encounters data of a type that is incompatible with the current opera...
Definition: ErrorBadType.h:25
Compute the triangulate cells for a uniform grid data set.
Definition: TriangulateStructured.h:62
Definition: worklet/Triangulate.h:21
A scatter that maps input to some numbers of output.
Definition: ScatterCounting.h:44
Definition: worklet/Triangulate.h:27
A control signature tag for input fields.
Definition: WorkletMapField.h:49
static VTKM_CONT ScatterType MakeScatter(const CountArrayType &countArray)
Definition: worklet/Triangulate.h:34
VTKM_EXEC void operator()(T inputIndex, T &outputIndex) const
Definition: worklet/Triangulate.h:40
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::worklet::ScatterCounting ScatterType
Definition: worklet/Triangulate.h:31
Triangulate()
Definition: worklet/Triangulate.h:46
vtkm::cont::CellSetSingleType Run(const vtkm::cont::CellSetStructured< 2 > &cellSet)
Definition: worklet/Triangulate.h:63
vtkm::cont::CellSetSingleType Run(const vtkm::cont::CellSetStructured< 3 > &)
Definition: worklet/Triangulate.h:72
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
vtkm::cont::CellSetSingleType Run(const CellSetType &cellSet, vtkm::cont::ArrayHandle< vtkm::IdComponent > &outCellsPerCell)
Definition: TriangulateStructured.h:66