MantisBT - VTK
View Issue Details
0010240VTK(No Category)public2010-02-05 07:462016-08-12 09:55
rogoas 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0010240: vtkMergePoints does not work properly with this mesh that comes from vtkMarchingCubes algorithm
I use vtkMarchingCubes with these parameters:

pMarchingCubesFilter->SetInput(m_pImageData);
pMarchingCubesFilter->SetValue(0,0.0);
pMarchingCubesFilter->ComputeNormalsOff();
pMarchingCubesFilter->ComputeScalarsOff();
pMarchingCubesFilter->ComputeGradientsOff();
pMarchingCubesFilter->ReleaseDataFlagOn();

m_pImageData is a float implicit funcition with dimensions (279x176x141)

The result that I obtain is like a cut mesh. It looks like a continuous mesh but if I apply vtkFeatureEdges to visualiza the boundary edges it appears that is like cut in fillets. This can be seen in the attached files.

If I use vtkCleanPolyData to merge that points it does not work unless I set a tolerance higher that 0, so that the vtkPointLocator is used to merge that points.

Another way of solving this is to pass a vtkPointLocator to marching cubes algorithm so that it doesn't use vtkMergePoints.

I attach this mesh so that you can try to pass it through vtkCleanData using vtkMergePoints.

No tags attached.
rar example.rar (3,245,463) 2010-02-05 07:46
https://www.vtk.org/Bug/file/7849/example.rar
Issue History
2010-02-05 07:46rogoasNew Issue
2010-02-05 07:46rogoasFile Added: example.rar
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037141
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0037141)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.