[Insight-users] DeformableMesh3DFilter generates flat mesh

Luis Ibanez luis.ibanez at kitware.com
Tue Jul 12 11:17:53 EDT 2005



Hi Joseph,


Please look at the application:


        InsightApplications/
             DeformableModelSimplexMesh


It uses the DeformableSimplexMesh filter
and does all the visualization of the deformable
Mesh using VTK.



You can get the InsightApplications module from the
release tgz and zip files, or directly from CVS.



    Regards,


       Luis




-------------------------------------------------------
Joseph Maratt wrote:

> 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 <mailto:jmaratt at umich.edu>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users





More information about the Insight-users mailing list