Hi, On 10/19/2012 05:39 PM, Miguel Nunes wrote: > Hello again, > > As you may remember from my past topic, I am trying to build a plug-in > with OpenCL to render volumes for medical imaging. I managed to create > my plugin by generating also a new MITK-based project, compile > everything, managed to have some basic OpenCL functions and Kernels > running on the GPU (just for testing) and I am now looking forward to > develop some cool stuff with MITK. Great :)
> I have been looking around the MITK documentation but I am finding hard > to find the proper documentation regarding the data structures and how > to generate a volume texture from a data set. Probably I didn't > searched enough to find this information. > > Let`s say I want to open the Pic3D.nrrd example provided by you. How can > I access the data, generate a Volume and having access to all the > accelerating data structures (bounding boxes, for example)? where can I > find this information? I am not an expert in rendering techniques, there are other people in the MITK team who might want to add some information here. I think the best way would be to write your own "mapper" and attach it to a mitk::DataNode: http://docs.mitk.org/nightly-qt4/classmitk_1_1Mapper.html http://docs.mitk.org/nightly-qt4/classmitk_1_1DataNode.html#a51a8601ffc2e3b94a393adad060b4b90 Have a look at some mappers in the MITK source code how they access the data and generate visual output. There is also a factory mechanism which you could use later to "permanently" add your mapper to mitk::DataNodes. Unfortunately, I don't know of any nice tutorial explaining the technique in detail. > Also, and just out of curiosity, how can I deactivate the 4 > visualization widgets present in the "display" tab? You can switch off the MITK_BUILD_org.mitk.gui.qt.stdmultiwidgeteditor CMake variable in your MITK build configuration. You then need to provide your own "render window editor". Best, Sascha > > Kind regards, > Miguel > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
