<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Sebastian,<div><br></div><div>There's not a way to do this as the class is written right now. You'd either have to write a new class modeled after vtkImplicitPlaneRepresentation or subclass it and override some of the methods to change how it handles interactions.</div><div><br></div><div>-Eric</div><div><br></div><div><br><div><div>On Mar 10, 2010, at 5:38 AM, Sebastian Gatzka wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
Dear Eric.<br>
<br>
This worked just great! Is there even a possibility to suppress the
interaction with the normal?<br>
I just want to be able to translate the plane representation, but not
to rotate it around the center point.<br>
<br>
Sebastian<br>
<br>
Am 05.03.2010 15:14, schrieb Eric E. Monson:
<blockquote cite="mid:03171BD5-2187-490C-A0B2-897005FEA7B4@cs.duke.edu" type="cite">Hey Sebastian,
<div><br>
</div>
<div>I think if you explicitly create the
vtkImplicitPlaneRepresentation that the plane widget will use, you can
use the representation's SetOutlineTranslation() method to disable
plane translation.</div>
<div><br>
</div>
<div>This test code shows how to set up the representation explicitly
and feed it into the widget (in case you are currently using the
widget's default representation):</div>
<div><br>
</div>
<div><a moz-do-not-send="true" href="http://public.kitware.com/cgi-">http://public.kitware.com/cgi-</a>bin/viewcvs.cgi/*checkout*/Widgets/Testing/Cxx/TestImplicitPlaneWidget2.cxx?root=VTK&content-type=text/plain</div>
<div><br>
</div>
<div>Let us know if you have trouble,</div>
<div>-Eric</div>
<div><br>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; ">
<div>------------------------------------------------------</div>
<div>Eric E Monson</div>
<div>Duke Visualization Technology Group</div>
<div><span class="Apple-style-span" style="font-size: medium;"><br>
</span></div>
</span></div>
<br>
<div>
<div>On Mar 5, 2010, at 5:37 AM, Sebastian Gatzka wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000000"><font size="-1"><font face="Helvetica, Arial, sans-serif">Hello
vtkusers.<br>
<br>
Can I suppress the translation of the bounding box the
vtkImplicitPlaneWidget2 is forming?<br>
I don't want the user to be able to translate it.<br>
<br>
Sebastian<br>
</font></font>
</div>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a moz-do-not-send="true" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>