MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014143 | VTK | (No Category) | public | 2013-06-24 07:48 | 2014-01-03 08:51 |
Reporter | David Doria | ||||
Assigned To | Will Schroeder | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | TBD | ||||
Type | incorrect functionality | ||||
Summary | 0014143: vtkClipPolyData with implicit function produces NANs | ||||
Description | In this example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/PolyData/ImplicitDataSetClipping [^] I create a sphere (vtkPolyData) and clip it with an implicit cube (vtkBox). The visual result of the clipping looks correct (the portion of the sphere that is inside the box remains), but there are 68 cells reported in the resulting clipped data (clipped->GetNumberOfCells()), but I only count 20 (2 columns of 10 triangles). The cells seem to be well formed, but there are tons of NAN points that I guess the cells are referencing. At line 250ish in vtkClipPolyData.cxx: // evaluate implicit cutting function for ( i=0; i < numberOfPoints; i++ ) { s = clipScalars->GetComponent(cellIds->GetId(i),0); cellScalars->InsertTuple(i, &s); } 's' is getting set to -inf for many of the cells, which is my best quick guess at what is causing the NANs. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ClipPolyData.png (24,079) 2014-01-03 08:50 https://www.vtk.org/Bug/file/9590/ClipPolyData.png ImplicitDataSetClipping.cxx (6,131) 2014-01-03 08:50 https://www.vtk.org/Bug/file/9591/ImplicitDataSetClipping.cxx | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-06-24 07:48 | David Doria | New Issue | |||
2014-01-03 07:02 | Will Schroeder | Note Added: 0032123 | |||
2014-01-03 07:02 | Will Schroeder | Assigned To | => Will Schroeder | ||
2014-01-03 07:02 | Will Schroeder | Status | backlog => active development | ||
2014-01-03 07:54 | Will Schroeder | Note Edited: 0032123 | bug_revision_view_page.php?bugnote_id=32123#r707 | ||
2014-01-03 08:48 | Will Schroeder | Note Edited: 0032123 | bug_revision_view_page.php?bugnote_id=32123#r708 | ||
2014-01-03 08:50 | Will Schroeder | File Added: 0014143-ClipPolyData.png | |||
2014-01-03 08:50 | Will Schroeder | File Added: ImplicitDataSetClipping.cxx | |||
2014-01-03 08:51 | Will Schroeder | Note Added: 0032124 | |||
2014-01-03 08:51 | Will Schroeder | Status | active development => closed | ||
2014-01-03 08:51 | Will Schroeder | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|