?Hi,
you can only convert pure image formats to images. Unstructured grids are represented primarily by cells as far as I know so I am not really sure what one would expect by converting an unstructred grid to an image? Best, Stefan ________________________________ Von: Emmanuel Cosnard <[email protected]> Gesendet: Freitag, 11. Oktober 2019 11:07 An: '[email protected]' Betreff: [mitk-users] Reading vtk unstructured grid Hello, I am trying to read vtk unstructured grid with MITK. The rendering is OK, but when I try to get the image in itself, by doing : mitk::Image::Pointer image = dynamic_cast<mitk::Image *>(nodes->GetData()); I get a NULL image. Is there a bug here? Or am I doing something wrong? Best regards, Emmanuel
_______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
