Go to the documentation of this file.
13 #ifndef vtk_m_worklet_contour_flyingedges_pass4_h
14 #define vtk_m_worklet_contour_flyingedges_pass4_h
25 namespace flying_edges
50 template <
typename DeviceAdapterTag,
52 typename StorageTagField,
62 const MeshSums& metaDataSums,
69 NormalType& normals)
const
78 this->CellWriteOffset,
79 this->PointWriteOffset);
101 this->CellWriteOffset,
102 this->PointWriteOffset);
121 template <
typename DeviceAdapterTag,
123 typename StorageTagField,
133 const MeshSums& metaDataSums,
140 NormalType& normals)
const
145 isoval, this->PointDims, this->CellWriteOffset, this->PointWriteOffset);
163 this->PointWriteOffset,
177 template <
typename DeviceAdapterTag,
typename... Args>
180 return this->
LaunchXAxis(device, std::forward<Args>(args)...);
183 template <
typename... Args>
186 return this->
LaunchYAxis(device, std::forward<Args>(args)...);
189 template <
typename... Args>
192 return this->
LaunchYAxis(device, std::forward<Args>(args)...);
Manages an array-worth of data.
Definition: ArrayHandle.h:283
Groups connected points that have the same field value.
Definition: Atomic.h:19
ArrayHandleView< ArrayHandleType > make_ArrayHandleView(const ArrayHandleType &array, vtkm::Id startIndex, vtkm::Id numValues)
Definition: ArrayHandleView.h:222
vtkm::cont::ArrayHandle< vtkm::FloatDefault > InterpolationWeights
Definition: CommonState.h:33
Definition: CastAndCall.h:32
Definition: FlyingEdgesPass4.h:28
VTKM_CONT bool operator()(DeviceAdapterTag device, Args &&... args) const
Definition: FlyingEdgesPass4.h:178
VTKM_CONT bool LaunchXAxis(DeviceAdapterTag device, vtkm::Id vtkmNotUsed(newPointSize), T isoval, const vtkm::cont::ArrayHandle< T, StorageTagField > &inputField, vtkm::cont::ArrayHandle< vtkm::UInt8 > edgeCases, vtkm::cont::CellSetStructured< 2 > &metaDataMesh2D, const MeshSums &metaDataSums, const vtkm::cont::ArrayHandle< vtkm::Id > &metaDataMin, const vtkm::cont::ArrayHandle< vtkm::Id > &metaDataMax, const vtkm::cont::ArrayHandle< vtkm::Int32 > &metaDataNumTris, vtkm::worklet::contour::CommonState &sharedState, vtkm::cont::ArrayHandle< vtkm::Id > &triangle_topology, PointType &points, NormalType &normals) const
Definition: FlyingEdgesPass4.h:56
bool GenerateNormals
Definition: CommonState.h:32
Definition: FlyingEdgesPass4X.h:31
Definition: FlyingEdgesPass4XWithNormals.h:30
vtkm::Id PointWriteOffset
Definition: FlyingEdgesPass4.h:35
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: FlyingEdgesPass4Y.h:277
Definition: CommonState.h:24
Allows launching any worklet without a dispatcher.
Definition: Invoker.h:41
vtkm::Vec3f Origin
Definition: FlyingEdgesPass4.h:31
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Id3 PointDims
Definition: FlyingEdgesPass4.h:30
#define vtkmNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:128
vtkm::Id CellWriteOffset
Definition: FlyingEdgesPass4.h:34
launchComputePass4(const vtkm::Id3 &pdims, const vtkm::Vec3f &origin, const vtkm::Vec3f &spacing, vtkm::Id multiContourCellOffset, vtkm::Id multiContourPointOffset)
Definition: FlyingEdgesPass4.h:37
vtkm::cont::ArrayHandle< vtkm::Id > CellIdMap
Definition: CommonState.h:35
VTKM_CONT bool operator()(vtkm::cont::DeviceAdapterTagCuda device, Args &&... args) const
Definition: FlyingEdgesPass4.h:184
VTKM_CONT bool operator()(vtkm::cont::DeviceAdapterTagKokkos device, Args &&... args) const
Definition: FlyingEdgesPass4.h:190
VTKM_CONT bool LaunchYAxis(DeviceAdapterTag device, vtkm::Id newPointSize, T isoval, const vtkm::cont::ArrayHandle< T, StorageTagField > &inputField, vtkm::cont::ArrayHandle< vtkm::UInt8 > edgeCases, vtkm::cont::CellSetStructured< 2 > &metaDataMesh2D, const MeshSums &metaDataSums, const vtkm::cont::ArrayHandle< vtkm::Id > &metaDataMin, const vtkm::cont::ArrayHandle< vtkm::Id > &metaDataMax, const vtkm::cont::ArrayHandle< vtkm::Int32 > &metaDataNumTris, vtkm::worklet::contour::CommonState &sharedState, vtkm::cont::ArrayHandle< vtkm::Id > &triangle_topology, PointType &points, NormalType &normals) const
Definition: FlyingEdgesPass4.h:127
vtkm::Vec3f Spacing
Definition: FlyingEdgesPass4.h:32
Definition: FlyingEdgesPass4Y.h:32
vtkm::cont::ArrayHandle< vtkm::Id2 > InterpolationEdgeIds
Definition: CommonState.h:34