[vtkusers] Rotate vtkBoxWidget
Cory Quammen
cory.quammen at kitware.com
Fri Sep 9 10:39:50 EDT 2016
Hi Weiguang,
Just a hunch, but I think you would need to account for the (L, W, H)
by applying scaling factors appropriately in your transform.
HTH,
Cory
On Fri, Sep 9, 2016 at 8:32 AM, Weiguang Guan <guanw at rhpcs.mcmaster.ca> wrote:
> Reposting ...
>
> Hello,
>
> I need to rotate the box widget to make its orientation toward particular
> directions. Right now I use SetTransform() to do the trick, but the drawback
> is that it changes back to the original size (L, W, H). How to re-orient the
> box without changing L, W, H? Thanks.
>
>
> Best,
> Weiguang
>
> --
> --
> Weiguang Guan
> Research Scientist
> RHPCS, McMaster University
> Phone: 905-525-9140 x22540
>
> _______________________________________________
> Powered by 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
--
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
More information about the vtkusers
mailing list