[vtkusers] Set origin to lower left corner of bounding box
Bill Lorensen
bill.lorensen at gmail.com
Sat Jun 3 19:19:21 EDT 2017
Use GetBounds on the poly data
See: https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/DataBounds/
On Jun 3, 2017 6:29 PM, "Maximilian Weiherer" <weiherer.maximilian at gmx.de>
wrote:
> Hi all,
>
>
>
> I am trying to get the bounding box of a vtkPolyData using
> vtkOutlineFilter. As this works well so far, however, I now want to set the
> origin of the whole scene to the lower left corner of the bounding box. How
> can I get the lower left corner of my bounding box to change the origin?
>
>
>
> Any suggestions would be appreciated.
>
>
>
> Best regards,
>
> Maximilian
>
>
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virenfrei.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_2578252561185547549_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170603/eb9634cc/attachment.html>
More information about the vtkusers
mailing list