#51 Cannot update mesh

open
None
5
2012-10-31
2011-09-30
Glory
No

When i perform manual segmentation on a 2D image .i.e only a single axial slice has been loaded into SNAP. After segmentation when i press the update mesh button, i get the following error report:

ERROR: In C:\Users\picsl\tk\vtk56\VTK\Graphics\vtkMarchingCubes.cxx, line 415
vtkMarchingCubes (0000000004ADB270): Cannot contour data of dimension != 3

ERROR: In C:\Users\picsl\tk\vtk56\VTK\Graphics\vtkTransformPolyDataFilter.cxx, line 84
vtkTransformPolyDataFilter (0000000004A80750): No input data

Discussion

  • The maser branch was updated and problem is solved there.

     
  • Qt branch was aligned to master. While a more meaningful message was added, the vtk calls are not issued when the problem appears.

     
  • Re-opened this to allow exception throwing.

     
  • The master branch was updated with exception throwing. Another collateral issue was also solved, when saving data to a mesh the same throwing is caught.

     
  • The qt branch was updated with the throw-catch mechanism.