Inside the mitkImageVtkMapper2D is a huge function called CreateOutlinePolydata generating the counturs of an input binary image. This function is complicated and confusing. In order to improve the readability and maintainability, it should be moved to a filter/an additional class.
TODO:
-We have to design this in a way that also improves the performances issues mentioned in T12691.
-Check if anything else regarding contours can be moved from mitkImageVtkMapper2D.