[vtkusers] ( Help )How to get minimum bounding box

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Mon Apr 18 10:29:15 EDT 2011


Hi,

If you have an vtkActor can do actor.GetBounds()

The method return Xmin, Xmax, Ymin, Ymax, Zmin e Zmax.

Regards,
Paulo



2011/4/18 老猫 <872996403 at qq.com>

> I've got some 3D points,Now I want to get the minimum bounding box.
> There is a class in vtk(vtkBoundingBox Class).But I can't find the function
> to solve my problem.
> 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
> 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 .
> Thank you.
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110418/54269223/attachment.htm>


More information about the vtkusers mailing list