<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Bertrand de Boisdeffre</b> <span dir="ltr">&lt;<a href="mailto:bertrand.boisdeffre@gmail.com">bertrand.boisdeffre@gmail.com</a>&gt;</span><br>
Date: 2010/8/17<br>Subject: Re: [vtkusers] Constraint rotation 3D scene<br>To: Bertrand De Boisdeffre &lt;<a href="mailto:bertranddeboisdeffre@yahoo.fr">bertranddeboisdeffre@yahoo.fr</a>&gt;<br><br><br>Finally, I decided to make my own interactorStyle with a subclass of &quot;VtkInteractorStyle&quot;. I catch mouse events, call my own method to generate the camera motion.  Rotations are limited about 2 axes what i chose. If anyone is interested in...<br>

<br><div class="gmail_quote">2010/8/10 Bertrand De Boisdeffre <span dir="ltr">&lt;<a href="mailto:bertranddeboisdeffre@yahoo.fr" target="_blank">bertranddeboisdeffre@yahoo.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi, <br>Here my issue:<br><br>I would like to know if it is possible to 
constraint rotation in a 3D scene. For example, rotate only around 
y-axis and z-axis in a &quot;simple way&quot; without keyboard using ( it&#39;s for a 
touch-screen). Actually, I suppose that it could be done by 1 way :<br>
<br>handle interactor events (like MouseMoveEvt and LeftButtonpressEvt) 
and then do a &quot;good camera positionning &quot; based of the mouse movement. 
But i think it&#39;s a little bit complicated.<br><br>Best regards,<br>
</div>
</div><br>




      </div><br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Bertrand de Boisdeffre<br>Etudiant 2A  SICOM Phelma Grenoble-INP<br><br>
</font></div><br><br clear="all"><br>-- <br>Bertrand de Boisdeffre<br>Etudiant 2A  SICOM Phelma Grenoble-INP<br><br>