Commit 02097593 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'generalize-marchingcubes-input'


 Generalize MarchingCubes input with additional template parameters.
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: default avatarRobert Maynard <>
Merge-request: !304
parents ede40419 15e1f80d
......@@ -246,13 +246,13 @@ public:
MarchingCubes() {}
template<typename CellSetType,typename StorageTag, typename CoordinateType>
template<typename CellSetType,typename StorageTagField,typename StorageTagVertices,typename StorageTagNormals, typename CoordinateType>
void Run(const float &isovalue,
const CellSetType& cellSet,
const vtkm::cont::CoordinateSystem& coordinateSystem,
const vtkm::cont::ArrayHandle<FieldType, StorageTag>& field,
vtkm::cont::ArrayHandle< vtkm::Vec<CoordinateType,3> > vertices,
vtkm::cont::ArrayHandle< vtkm::Vec<CoordinateType,3> > normals)
const vtkm::cont::ArrayHandle<FieldType, StorageTagField>& field,
vtkm::cont::ArrayHandle< vtkm::Vec<CoordinateType,3>, StorageTagVertices > vertices,
vtkm::cont::ArrayHandle< vtkm::Vec<CoordinateType,3>, StorageTagNormals > normals)
// Set up the Marching Cubes case tables
vtkm::cont::ArrayHandle<vtkm::IdComponent> edgeTable =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment