Hi all, I am trying to create a filter that receives many 2D polygons in the form of PolyLineParametricPath (which in turn has an itkImage as input) and returns an itkMesh for later visualization. I have completed the GenerateData() method by calling internally to itkAutomaticTopologyMeshSource. The problem seems to be that before GenerateData, the filter fails in itkPointSet::CopyInformation (because it tries to cast the polygon as a mesh). I discovered that the call stack comes from UpdateOutputInformation on my PolygonToMeshFilter and then GenerateOutputInformation, then itkMesh::CopyInformation and itkPointset::CopyInformation. I think I should edit my PolygonToMesh::GenerateOutputInformation() but I don't know how. Inside it I just called Superclass::GenerateOutputInformation. My filter PolygonToMeshFilter is a copy of MeshToMesh filter and inherits from MeshSource. Maybe I should inherit from anothe filter. Thank you very much
Ignacio Prieto -- Ignacio Prieto Research Assistant Biomedical Imaging Center Pontificia Universidad Catolica de Chile
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-developers
