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:
Robert Maynard 2016-06-22 13:36:15 -04:00 committed by Kitware Robot
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;