[vtkusers] vtkImplicitPlaneWidget2
Sebastian Gatzka
sebastian.gatzka at stud.tu-darmstadt.de
Wed Mar 10 05:38:29 EST 2010
Dear Eric.
This worked just great! Is there even a possibility to suppress the
interaction with the normal?
I just want to be able to translate the plane representation, but not to
rotate it around the center point.
Sebastian
Am 05.03.2010 15:14, schrieb Eric E. Monson:
> Hey Sebastian,
>
> 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.
>
> 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):
>
> http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Widgets/Testing/Cxx/TestImplicitPlaneWidget2.cxx?root=VTK&content-type=text/plain
>
> Let us know if you have trouble,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
> On Mar 5, 2010, at 5:37 AM, Sebastian Gatzka wrote:
>
>> Hello vtkusers.
>>
>> Can I suppress the translation of the bounding box the
>> vtkImplicitPlaneWidget2 is forming?
>> I don't want the user to be able to translate it.
>>
>> Sebastian
>> _______________________________________________
>> Powered by www.kitware.com <http://www.kitware.com>
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100310/f8c2f328/attachment.htm>
More information about the vtkusers
mailing list