[vtkusers] vtkm help with using the CleanGrid filter
sunayanag at gmail.com
Thu Jun 27 11:06:43 EDT 2019
Just started using vtk-m and having some issues with the CleanGrid filter.
Assuming that vtkMesh is an object of type vtkSmartPointer<vtkPolyData>,
here is the piece of code
vtkm::cont::DataSet mMesh = tovtkm::Convert(vtkMesh,
vtkm::cont::DataSet outMesh = cleanGrid.Execute(mMesh);
std::cerr << e.what();
where the exception thrown is: /Could not find appropriate cast for cell
could anyone help with what I am getting wrong.
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers