View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015589VTK(No Category)public2015-07-17 09:242015-07-28 10:33
ReporterCory Quammen 
Assigned ToDavid Gobbi 
PrioritylowSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.2.0 
Target VersionFixed in Version6.3.0 
Summary0015589: Failure case for vtkContourTriangulator
DescriptionThe attached contour causes the vtkContourTriangulator to fail. I have not looked into where the filter is failing, but post this here as a reference.

The filter succeeds on all other similar contours that I've tried (and even more complex contours). Just this one gives me problems.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files? file icon ContourTriangulatorFail.vtp [^] (11,854 bytes) 2015-07-17 09:24
png file icon Screen Shot 2015-07-17 at 9.55.11 AM.png [^] (8,363 bytes) 2015-07-17 11:54

 Relationships

  Notes
(0034801)
David Gobbi (developer)
2015-07-17 12:12

Looks like a bug in the way the winding is computed. It's filling in all the concavities on the outside, rather than filling the interior. The problem doesn't appear to be degeneracy (vtkCleanPolyData didn't fix) or connectivity (vtkStripper didn't fix, even though it produced a single polyline as output).

The GetTriangulationError() returns "true" after execution, so the filter itself knows that something went wrong.
(0034810)
David Gobbi (developer)
2015-07-20 15:12

https://gitlab.kitware.com/vtk/vtk/merge_requests/439 [^]

The code in vtkPolygon.cxx for computing the polygon normal also looks wrong:
https://gitlab.kitware.com/vtk/vtk/blob/master/Common/DataModel/vtkPolygon.cxx#L192 [^]
What's worse, it has four copies of the polygon normal code, all with slight variations!
(0034846)
Cory Quammen (developer)
2015-07-28 10:33

David's patch was merged into master.

 Issue History
Date Modified Username Field Change
2015-07-17 09:24 Cory Quammen New Issue
2015-07-17 09:24 Cory Quammen Assigned To => David Gobbi
2015-07-17 09:24 Cory Quammen File Added: ContourTriangulatorFail.vtp
2015-07-17 11:54 David Gobbi File Added: Screen Shot 2015-07-17 at 9.55.11 AM.png
2015-07-17 12:12 David Gobbi Note Added: 0034801
2015-07-20 15:12 David Gobbi Note Added: 0034810
2015-07-28 10:33 Cory Quammen Note Added: 0034846
2015-07-28 10:33 Cory Quammen Status backlog => closed
2015-07-28 10:33 Cory Quammen Resolution open => fixed
2015-07-28 10:33 Cory Quammen Fixed in Version => 6.3.0


Copyright © 2000 - 2018 MantisBT Team