Hello Ingmar,

I have a pop-up window that is derived from QMainWindow and that contains
two QmitkSliceWidgets. Each QmitkSliceWidget has a different image. I want
to interact with both images by selecting points, removing them and so on.
Something similar to what one can do with QmitkPointBasedRegistration or
with QmitkRegionGrowing. I want to interact with both images independently.
I could do it using vtk, but I was wondering if I can do it by using mitk
interactors instead. I dont have any special rendering settings, I am just
showing an image in each one of the QmitkSliceWidgets.

So, I would need to have one independent interactor for each
QmitkSliceWidgets in the pop-up window. Can I do this somehow? How can I add
the interactor to each QmitkSliceWidget?

Thank you!

Best regards,

Cristina

On Sat, Mar 19, 2011 at 1:14 PM, Wegner Ingmar
<[email protected]>wrote:

> Hi Christina,
> how do you set up your pop-up QmitkSliceWidgets? What are they used for? Do
> you use special rendering settings? Are the point sets visible?
>
> To isolate the problem, you can debug from
> mitk::GlobalInteraction::HandleEvent(...).
> A breakpoint should pause the program in case the event is properly sent by
> the QmitkSliceWidget.
> If so, then set a breakpoint in mitkPointSetInteractor::ExecuteAction(...)
> to see if the event gets passed to the according interactor.
>
> Best regards,
> Ingmar
> ________________________________________
> Von: Cristina Oyarzun [[email protected]]
> Gesendet: Freitag, 18. März 2011 15:53
> An: [email protected]
> Betreff: [mitk-users] Interaction with qmitkslicewidgets
>
> Hello!
>
> I have a MITK functionality that in addition to the main window has a
> pop-up window. This pop-up window has two qmitkslicewidgets.
>
> I would like to interact with both qmitkslicewidgets separately by using a
> mitkPointSetInteractor to set seed points in both images. I was previously
> working with PointSetInteractors in main windows which was giving me no
> problems, however when I try it in the pop-up window I do not find the way
> to set the interactor to a specific qmitkslicewidget.
>
> Is it possible or do I have to interact with them by using vtk (render
> window, renderer, actors and so on)?
>
> Thank you!
>
> Cristina
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to