The whole MITK Simulation code is located in Modules/Simulation (GUI-related 
stuff is located in the org.mitk.gui.qt.simulation plugin). We put a lot of 
effort into this module to keep it as lean as possible without sacrificing any 
of the SOFA functionalities. Luckily we have some concepts in MITK that map 
very well to some of the concepts of SOFA, which helped a lot to achieve this 
goal. A big part of my thesis covers the whole architecture and integration 
process. I'll send you a link to the relevant excerpt in a separate mail. One 
of the more trickier things is the rendering for sure. As we use VTK (which 
sits on top of OpenGL, which SOFA uses for rendering), we share our OpenGL 
rendering context with SOFA and use the object factory system of SOFA to inject 
an optimized replacement for the default SOFA OpenGL rendering component at 
runtime without modifying SOFA. This was mainly necessary to achieve a smooth 
integration with VTK's quirks of using OpenGL. You may be lucky and are j
 ust fine with sharing your OpenGL context with SOFA.


Best regards,

Stefan


________________________________
Von: Audette, Michel A. <maude...@odu.edu>
Gesendet: Donnerstag, 27. Oktober 2016 23:05
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] is there a canonical example of MITK with SOFA?


Dear MITK enthusiasts,


Now that I have managed to build MITK and SOFA together, I would like to use 
MITK's integration with SOFA as a template for using SOFA classes as part of 
another program that is based on Unity 3D. Can someone direct me to a canonical 
example of MITK being used with SOFA, so that I can put together a similar 
embedding of SOFA classes?


Thanks for your kind support.


Michel


Michel Audette, Ph.D.
Assistant Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.


------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to