[vtkusers] vtkBoxWidget2 & Disabling Rotation [Patch and example attached]

imran khan khan.imranh at gmail.com
Wed Jul 14 11:40:43 EDT 2010


Shashwath:

Thanks a lot. It works like a charm with 5.6.0.

Imran


On Wed, Jul 14, 2010 at 3:57 AM, Shashwath T.R. <trshash at gmail.com> wrote:

> Hi all,
>
> I've just implemented a patch on vtkBoxRepresentation to add enable/disable
> for Translation, Rotation and Scaling.
>
> Basically, I just copied over the ivars from vtkBoxWidget, and included a
> few checks in the appropriate places in the method
> vtkBoxRepresentation::WidgetInteraction.
>
> This is against git master, but I think it should work against 5.6.0 also.
>
> Regards,
> Shash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100714/7b8180d1/attachment.htm>


More information about the vtkusers mailing list