From 15e1f80ddd37af33b633d6f7b64836edb7ca14d2 Mon Sep 17 00:00:00 2001 From: "T.J. Corona" Date: Fri, 8 Jan 2016 14:56:10 -0500 Subject: [PATCH] Generalize MarchingCubes input with additional template parameters. --- vtkm/worklet/MarchingCubes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vtkm/worklet/MarchingCubes.h b/vtkm/worklet/MarchingCubes.h index 26354b744..80193cc2e 100644 --- a/vtkm/worklet/MarchingCubes.h +++ b/vtkm/worklet/MarchingCubes.h @@ -246,13 +246,13 @@ public: MarchingCubes() {} - template + template void Run(const float &isovalue, const CellSetType& cellSet, const vtkm::cont::CoordinateSystem& coordinateSystem, - const vtkm::cont::ArrayHandle& field, - vtkm::cont::ArrayHandle< vtkm::Vec > vertices, - vtkm::cont::ArrayHandle< vtkm::Vec > normals) + const vtkm::cont::ArrayHandle& field, + vtkm::cont::ArrayHandle< vtkm::Vec, StorageTagVertices > vertices, + vtkm::cont::ArrayHandle< vtkm::Vec, StorageTagNormals > normals) { // Set up the Marching Cubes case tables vtkm::cont::ArrayHandle edgeTable =