Hi,<br><br>If you have an vtkActor can do actor.GetBounds()<br><br>The method return Xmin, Xmax, Ymin, Ymax, Zmin e Zmax.<br><br>Regards,<br>Paulo<br><br><br><br><div class="gmail_quote">2011/4/18 老猫 <span dir="ltr">&lt;<a href="mailto:872996403@qq.com">872996403@qq.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I&#39;ve got some 3D points,Now I want to get the minimum bounding box.</div>
<div>There is a class in vtk(vtkBoundingBox Class).But I can&#39;t find the function to solve my problem.</div>
<div>So , is there any other way to work it out? Should I put all the points in a polydata object and then use some functions</div>
<div>to get the minimum bounding box. By the way,I have two point sets.They are in the same coordinate system.I want to know if the  different angle can have an effect on the minimum bounding box?Because I want to use the two boxes to do the initial matching work .</div>


<div>Thank you.</div>
<div> </div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>