[Insight-users] DeformableMesh3DFilter generates flat mesh

Joseph Maratt jmaratt at umich.edu
Wed Jul 6 21:58:10 EDT 2005


Hello,

I'm trying to use DeformableMesh3DFilter to generate a mesh from CT  
data.  I followed the example DeformableModel2.cxx very closely.  The  
only alterations i made was to allow me to convert the mesh to  
vtkUnstructuredGrid so i could visualize it.

The problem that i'm having is that the mesh that is generated is  
just a flat plane that actually looks very convoluted and has jagged  
edges.

I dont think the problem is in how i convert the mesh into vtk  
because i tried the converstion with the output of of sphere mesh  
source and it looked fine.

Has anyone dealt with this problem?  Any help would be greatly  
appreciated.

Image of the problem: http://www-personal.umich.edu/~jmaratt/mesh.jpg
Code: http://www-personal.umich.edu/~jmaratt/mesh.cpp

Thank you very much in advance.

Joseph Maratt
University of Michigan Medical School
jmaratt at umich.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050706/c6b9965e/attachment.htm


More information about the Insight-users mailing list