mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-21 11:35:43 +00:00
Merge topic 'reduce_filter_marching_cubes_size'
65a3de9d Only generate code paths for Hexahedron input cells. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !447
This commit is contained in:
commit
5f16d4920d
@ -203,6 +203,20 @@ public:
|
||||
vtkm::Id outputCellId,
|
||||
vtkm::IdComponent visitIndex,
|
||||
const IndicesVecType &indices) const
|
||||
{
|
||||
}
|
||||
|
||||
template<typename FieldInType, // Vec-like, one per input point
|
||||
typename CoordType,
|
||||
typename IndicesVecType>
|
||||
VTKM_EXEC_EXPORT
|
||||
void operator()(
|
||||
vtkm::CellShapeTagHexahedron shape,
|
||||
const FieldInType &fieldIn, // Input point field defining the contour
|
||||
const CoordType &coords, // Input point coordinates
|
||||
vtkm::Id outputCellId,
|
||||
vtkm::IdComponent visitIndex,
|
||||
const IndicesVecType &indices) const
|
||||
{
|
||||
const vtkm::Id outputPointId = 3 * outputCellId;
|
||||
typedef typename vtkm::VecTraits<FieldInType>::ComponentType FieldType;
|
||||
|
Loading…
Reference in New Issue
Block a user