Hello,

I am trying to volume render a .vtk file of type unstructured grid.
My code for that is:

    mitk::VtkRepresentationProperty::Pointer reprProp = 
mitk::VtkRepresentationProperty::New();
    reprProp->SetRepresentationToSurface();
    mitk::DataNode::Pointer nodes = dataNodes->at(0);
    nodes->SetProperty("material.representation", reprProp);

It is working quite good on the 3D view, but on the 3 2D views (Axial, Sagital 
and Coronal), we don't see anything :


[cid:851d4726-876f-4351-8cc0-6ecf1455f791]

Does anyone know how to fix this?

Thank you and regards,

Emmanuel


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to