Re: [mitk-users] Question regarding data structures and volume rendering

2012-10-19 Thread Sascha Zelzer
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

Re: [mitk-users] Application, views and plugins

2012-10-19 Thread Sascha Zelzer
Yes, a good rule of thumb is that if your View is going to make use of MITK data types (working with mitk::DataNode, mitk::DataStorage, etc.) or need to interact with render windows, use QmitkAbstractView. It could achieve everything by directly inheriting from berry::QtViewPart, but it will ma

Re: [mitk-users] Application, views and plugins

2012-10-19 Thread Félix C . Morency
Hi, Thank you for the fast answer. Could you explain what are the pros/cons of using QtView over QmitkAbstractView (and vice versa)? Is there any rule of thumb? Regards, -F On Fri, Oct 19, 2012 at 12:30 PM, Sascha Zelzer wrote: > Hi, > > long story short: You cannot contribute Views derived fro

Re: [mitk-users] Application, views and plugins

2012-10-19 Thread Sascha Zelzer
Hi, long story short: You cannot contribute Views derived from QmitkAbstractView in a plug-in which also provides an org.blueberry.osgi.applications extension. As you figured out, you must create a separate plug-in containing your View(s). Here is the reason (we actually just stumbled over tha

[mitk-users] Application, views and plugins

2012-10-19 Thread Félix C . Morency
Hi, I build a custom application using Bluerry. I defined a custom perspective and everything works. My manifest has the line set(Require-Plugin org.mitk.gui.qt.ext) I tried to add a custom view (QmitkAbstractView) to the same plugin containing my application. I had to change the manifest line

[mitk-users] Question regarding data structures and volume rendering

2012-10-19 Thread Miguel Nunes
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

Re: [mitk-users] Problems during the step "build MITK with CMake"

2012-10-19 Thread Fabiola
Hi Stefan, thank you so much for your help. The problem was that I had the*EXTERNAL_ITK_DIR* selected, so the superbuild didn't downloaded the correct version of ITK. Thank you again, Fabiola On 10/18/2012 02:12 PM, Kislinskiy, Stefan wrote: Hi Fabiola, At present,

Re: [mitk-users] Double click to focus

2012-10-19 Thread Clarkson, Matt
Hi Everyone, this may or may not be helpful to people reading this thread in the future. I have my own editor, a subclass of QmitkAbstractRenderEditor, that contains a main widget, lets call it Foo, that contains many other QmitkStdMultiWidget subclasses. The problem was as follows: When my ap

[mitk-users] Double click to focus

2012-10-19 Thread Clarkson, Matt
Hi there, this might be a silly question, however, here goes: I have created an interactor, and used the StateMachine pattern to map keyboard events. However, it only appears to work, or appears to be "active", after I have double clicked with the left mouse button inside the QmitkRenderWindow