[vtkusers] Calculating Dimensions from vtkPoints

David Doria daviddoria at gmail.com
Tue Jul 3 10:59:01 EDT 2012


On Tue, Jul 3, 2012 at 10:56 AM, Brian Curtis <bcurtis3 at masonlive.gmu.edu>wrote:

> Hi there,
>
> I have a set of points, inserted into vtkPoints to which I would like
> the dimensions from.
> Is there a .cxx method to compute/get that information from vtkPoints.
> Should I put the points into something else that will make it easier
> to get dimensions from? If so what?
>
> Thanks for your help.
> ~Brian
>

Do you mean the "bounds" of the points?

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DataBounds

Note that this function works on vtkPoints directly as well.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120703/e99bdf48/attachment.htm>


More information about the vtkusers mailing list