Hi John, I will take a look. Thanks!<br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 5:34 PM, Biddiscombe, John A. <span dir="ltr">&lt;<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I&#39;ve just pushed a branch called box_widget2_limiters to the stage. It contains Eric&#39;s Gerrit patch onto the release branch from stage<br>
<br>
If possible, I&#39;d like it merged into release.<br>
<br>
Thanks<br>
<br>
JB<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>] On Behalf Of Eric E. Monson<br>
Sent: 17 May 2011 21:04<br>
To: Matheus Brasileiro<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] Disable rotation of vtkBoxWidget2<br>
<br>
Hey Matheus,<br>
<br>
This functionality was never implemented for some reason. I have a patch sitting on Gerrit, but nobody with commit powers has had a chance to review it yet and see if it is good enough to include in VTK:<br>
<br>
<a href="http://review.source.kitware.com/#change,1206" target="_blank">http://review.source.kitware.com/#change,1206</a><br>
<br>
If you&#39;re using the VTK development head and can figure out how to pull this patch from gerrit, you could try it out. But, I don&#39;t know when it will make it into a real VTK release.<br>
<br>
-Eric<br>
<br>
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·<br>
Eric E Monson<br>
Duke Visualization Technology Group<br>
<br>
<br>
On May 16, 2011, at 12:52 PM, Matheus Brasileiro wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m using vtkBoxWidget2 to select a part of something in the scene, but I don&#39;t want to let the selection box rotate I just want the Handles (little spheres) able.<br>
&gt; That way I will Just Resize the selection box through the handles.<br>
&gt;<br>
&gt; I try the method vtkBoxWidget2::RotationEnableOff() but it seems not to work.<br>
&gt;<br>
&gt; ..... some part of the code where I create some VTK objects ......<br>
&gt;<br>
&gt;     BoxWidget2 = vtkBoxWidget2::New();<br>
&gt;     BoxWidget2-&gt;SetInteractor(Interactor);<br>
&gt;     BoxWidget2-&gt;SetRepresentation(BoxRepresentation);<br>
&gt;     BoxWidget2-&gt;KeyPressActivationOff();<br>
&gt;<br>
&gt; ..... some part of the code where I want to enable the Widget but turn of its rotation .....<br>
&gt;<br>
&gt;     BoxRepresentation-&gt;OutlineCursorWiresOff();<br>
&gt;     BoxRepresentation-&gt;OutlineFaceWiresOff();<br>
&gt;<br>
&gt;     BoxWidget2-&gt;RotationEnableOff(); // this line don&#39;t disable the rotation... I still can click on one of the planes of the box and rotate it.<br>
&gt;<br>
&gt;     BoxWidget2-&gt;On();<br>
&gt;     Renderer-&gt;Render();<br>
&gt;<br>
&gt; Hope someone can help me.<br>
&gt;<br>
&gt; Best regards.<br>
&gt;<br>
&gt; --<br>
&gt; Matheus Brasileiro Passos<br>
&gt; Engenharia de Controle e Automação<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
_______________________________________________<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>
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>
</blockquote></div><br>