<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi All,<br><br>I was playing around with itkDeformableSimplexMesh3DGradientConstraintForceFilterTest. <br>To convert the result of the deformation filter to a triangular mesh, I added the following code:<br><br>&nbsp; typedef itk::DefaultDynamicMeshTraits&lt;double, 3, 3,double,double&gt; TriangleMeshTraits;<br>&nbsp; typedef itk::Mesh&lt;double,3, TriangleMeshTraits&gt; TriangleMeshType;<br><br>&nbsp; typedef itk::SimplexMeshToTriangleMeshFilter&lt;SimplexMeshType, TriangleMeshType&gt; TriangleFilterType;<br><br>&nbsp; TriangleFilterType::Pointer triangleFilter = TriangleFilterType::New();<br>&nbsp; triangleFilter-&gt;SetInput(deformFilter-&gt;GetOutput());<br>&nbsp; triangleFilter-&gt;Update();<br><br>This causes a segmentation fault in the Update() method. Is there something I am missing.
 Please let me know if I should provide any additional information.<br><br>Thanks for your help,<br>Snehal<br><br><br></div>
</div><br>

      </body></html>