<div dir="auto">Use GetBounds on the poly data<div dir="auto"> See: <a href="https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/DataBounds/">https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/DataBounds/</a></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jun 3, 2017 6:29 PM, "Maximilian Weiherer" <<a href="mailto:weiherer.maximilian@gmx.de">weiherer.maximilian@gmx.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="#0563C1" vlink="#954F72"><div class="m_2578252561185547549WordSection1"><p class="MsoNormal">Hi all, <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">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?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif">Any suggestions would be appreciated.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif"> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana",sans-serif">Maximilian<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div><div id="m_2578252561185547549DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:#4453ea" target="_blank">www.avast.com</a>                </td>
        </tr>
</table>
<a href="#m_2578252561185547549_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div></div>