Hi Chiara,
please alsways reply to the users-list to include others for suggestions.

The 3D render window is managed by VTK (should be vtkCameraController) and not 
by the mitk interaction mechanism. 
But you can disable camera interaction by calling:

Mitk::BaseRenderer::Pointer renderer = ...;
renderer->GetVtkRenderer()->GetRenderWindow()->GetInteractor()->Disable();

Picking should still be enabled so that mitk interaction mechanism should work.

Best Regards,
Ingmar


-----Ursprüngliche Nachricht-----
Von: Chiara Riccobene [mailto:[email protected]] 
Gesendet: Montag, 12. Januar 2009 17:35
An: Wegner Ingmar
Betreff: RE: [mitk-users] Interactors: How to make only one interactor work

hi Ingmar,

I'm interacting in 3d, but how can I enable and disable the interactors like 
the camera interactor? using add and remove? can you give me an example?
thank you

Chiara
________________________________________
From: Wegner Ingmar [[email protected]]
Sent: Monday, January 12, 2009 12:57 PM
To: Chiara Riccobene; mitk-users
Subject: AW: [mitk-users] Interactors: How to make only one interactor work

Hi Chiara,
generally you can enable and disable the interactors in mitkGlobalInteraction.
Are you interacting in a 3D or 2D window?
Regards,
Ingmar


Dr. Ingmar Wegner
Dr. sc. hum. Dipl.-Inform. Med.
German Cancer Research Center (Deutsches Krebsforschungszentrum, DKFZ)
Member of the Helmholtz Association
Division Medical and Biological Informatics E130
Im Neuenheimer Feld 280
D-69120 Heidelberg
Phone: 49-(0)6221-42-3543
Fax: 49-(0)6221-42-2345
E-Mail: [email protected]
Web: www.dkfz.de

Confidentiality Note: This message is intended only for the use of the named 
recipient(s) and may obtain confidential and/or privileged information. If you 
are not the intended recipient, please contact the sender and delete the 
message. Any unauthorized use of the information contained in this message is 
prohibited.


-----Ursprüngliche Nachricht-----
Von: Chiara Riccobene [mailto:[email protected]]
Gesendet: Montag, 12. Januar 2009 11:12
An: mitk-users
Betreff: [mitk-users] Interactors: How to make only one interactor work

Dear mitk-users,

My issue is that I want to have only one interactor responding to the mouse, 
how can I do that? I have some problems for example when I try to move a 
landmark that is on a surface and the camera interactor is still active. How 
can I make sure that the camera interactor does not respond while I am 
interacting with the landmark?

Thank you very much
Chiara Riccobene

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to