[vtkusers] How disable a interactor

Miguel Ángel Rodríguez Florido marf at ctm.ulpgc.es
Thu Mar 15 11:10:26 EDT 2007


	Please, check the Interactor style:

http://www.vtk.org/doc/release/5.0/html/a01656.html

	if you would like to disable one interactor called "iren" put "iren
Disable", and to enable again: "iren Enable".

	Hth.



Francois Louis LAILLIER escribió:
> Hello, I'm programming in visual basic language. It's particular to use
> interactor in this language.
> 
>  
> 
> The interactors like rotation, zoom and pan with the mouse are setting
> by default in VB6. 
> 
> I have a checkbox, when I tick it, I enable the leftbuttonpressevent of
> the mouse, and the rotation of camera doesn't work, that works.
> 
> But when I untick  the checkbox, I want the leftbuttonpressevent is
> disable. I used renwin.removeObservers.
> 
>  
> 
> Is there the good function? Or how can I do to put the interactor by
> default. 
> 
>  
> 
> Thanks!
> 
>  
> 
> Best regards, Francois Louis.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Miguel Angel Rodriguez Florido
Center for Technology in Medicine-ULPGC-Gran Canaria-CanaryIslands,Spain
Emails:marf@{ctm.ulpgc.es,bwh.harvard.edu}-http://www.ctm.ulpgc.es/~marf
Tfnos:+34 928 451253, +34 928 452956 - Fax:+34 928 451243



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070315/aa1ec538/attachment.bin>


More information about the vtkusers mailing list