Hi Klaus, we did not have a closer look into VTK 5.2, yet.
However, a simple renaming of "RenderTranslucentGeometry" to "RenderTranslucentPolygonalGeometry" seems not to be sufficient. Take a look at http://www.itk.org/Wiki/VTK_FAQ --> API Changes in VTK 5.2. The changes in the interface are related to the new VTK depth peeling method (see http://www.kitware.com/products/archive/kitware_quarterly0408.pdf for more information about depth peeling). At the moment, it seems that we do not have the resources adapt the MITK to the new interface in the next few weeks. If you are interested in VTK 5.2 and MITK, we would be glad if you could contribute. Regards, Matthias P.S. there is no QVtkWidget.cpp in MITK to my knowledge, see http://www.mitk.org/documentation/doxygen/classes.html Matthias Baumhauer Phone: (+49) 6221/42-2328 Deutsches Krebsforschungszentrum Fax: (+49) 6221/42-2345 Div. Medical and Biological Informatics (E130) Im Neuenheimer Feld 280 email: [EMAIL PROTECTED] D-69120 Heidelberg, Germany http://www.dkfz-heidelberg.de/de/mbi -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Klaus Drechsler Gesendet: Dienstag, 5. August 2008 16:22 An: [email protected] Betreff: [mitk-users] Using VTK 5.2 causes permanently black 3D render window Hi, I tried to compile mitk with vtk v5.2 and after two little changes in the source code I could compile it without errors. The changes I have made are as follow: In mitkBaseVtkMapper3D.cpp: Changed: #if ( ( VTK_MAJOR_VERSION >= 5 ) && ( VTK_MINOR_VERSION>=3) ) GetProp()->RenderTranslucentPolygonalGeometry(renderer->GetVtkRenderer()); #else GetProp()->RenderTranslucentGeometry(renderer->GetVtkRenderer()); #endif To: #if ( ( VTK_MAJOR_VERSION >= 5 ) && ( VTK_MINOR_VERSION>=2) ) GetProp()->RenderTranslucentPolygonalGeometry(renderer->GetVtkRenderer()); #else GetProp()->RenderTranslucentGeometry(renderer->GetVtkRenderer()); #endif In mitkGeometry2DDataVtkMapper3D: Changed: lookupTable = texture->GetLookupTable(); To: lookupTable = (vtkLookupTable*) texture->GetLookupTable(); The only problem that I have now is that the 3D render window is black all the time. Before I start digging into the problem, i would like to know if someone tried and solved this issue already? Greets Klaus PS: In the directory Qmitk/... there is QVtkWidget.cpp and other files from VTK that seems to be useless, because they are already provided and compiled into vtk (I deleted them in mitk and with vtk 5.0.4 everything still works fine). Do I oversee something? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
