<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> typedef itk::DefaultDynamicMeshTraits<double, 3, 3,double,double> TriangleMeshTraits;<br> typedef itk::Mesh<double,3, TriangleMeshTraits> TriangleMeshType;<br><br> typedef itk::SimplexMeshToTriangleMeshFilter<SimplexMeshType, TriangleMeshType> TriangleFilterType;<br><br> TriangleFilterType::Pointer triangleFilter = TriangleFilterType::New();<br> triangleFilter->SetInput(deformFilter->GetOutput());<br> triangleFilter->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>