Merge topic 'express_threshold_scalar_req'

856b8b54 Express in the the threshold filter policy it only handles scalars.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !500
This commit is contained in:
Robert Maynard 2016-08-09 08:46:31 -04:00 committed by Kitware Robot
commit 0354b2243b
2 changed files with 9 additions and 1 deletions

@ -68,6 +68,14 @@ private:
vtkm::cont::ArrayHandle<vtkm::Id> ValidCellIds;
};
template<>
class FilterTraits<Threshold>
{ //currently the threshold filter only works on scalar data.
public:
typedef TypeListTagScalarAll InputFieldTypeList;
};
}
} // namespace vtkm::filter

@ -43,7 +43,7 @@ public:
{
public:
typedef void ControlSignature(CellSetIn cellset,
FieldInPoint<Scalar> scalars,
FieldInPoint<ScalarAll> scalars,
FieldOutCell<BoolType> passFlags);
typedef _3 ExecutionSignature(_2, PointCount);