Hi Matt, as I wrote on Friday to the users list, there was a major update in the 2D rendering in MITK:
The former mitkImageMapperGL2D has been replaced by a new mapper named mitkImageVtkMapper2D. I guess your Mac is working on an older commit with the old mapper and your windows PC has a very new checkout. Which methods of the mitkImageMapperGL2D did you use? If you just used the mapper to get the VTK image slice, you can find an example inside the mitkGeometry2DDataVtkMapper3D how to perform this step with the new mitkImageVtkMapper2D. Further information: A short summary of the most important changes can be found here: http://mitk.org/wiki/ChangeRequests/7027 Another way to review the changes is git web: http://mitk.org/git/?p=MITK.git;a=commit;h=101d7a103ef094dc4e9aac90bc1dfb8fa7fcde64 best regards Thomas -----Ursprüngliche Nachricht----- Von: Clarkson, Matt [mailto:[email protected]] Gesendet: Montag, 12. September 2011 14:45 An: mitk-users Betreff: [mitk-users] mitkImageMapperGL2D.h on Mac, and mitkImageVtkMapper2D.h on Windows??? Hi there, on my Mac installation of MITK, I have Core/Code/Rendering/mitkImageMapperGL2D.h whereas on Windows I have Core/Code/Rendering/mitkImageVtkMapper2D.h Then when I look in Core/Code/Algorithms/mitkCoreObjectFactory.h there is a #include for the right file. How is this working? Did I miss something. Does git enable different files on different systems? I want to derive a class from mitkCoreObjectFactoryBase and specify a mapper, but I was surprised to find that my code working on Linux/Mac, using mitkImageMapperGL2D.h but didnt compile on Windows as the file was missing. Am I missing something obvious? Should I just put a #define in to specify the right class? Thanks Matt ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
