[vtkusers] Access to 3D scalar data

David Doria daviddoria+vtk at gmail.com
Thu Jun 3 08:59:02 EDT 2010


On Thu, Jun 3, 2010 at 8:51 AM, Artem Babayan
<artem.paraview at googlemail.com> wrote:
> Hi,
>
> How can I access the 3D scalar data I have read using, say,
> vtkRectilinearGridReader ?
> Actually, I need the minimum and maximum values of the data I have
> read, so may be there is a way to get it directly using VTK?
>
> Best wishes
> Artem

Can you use gridReader->GetOutput()->GetPointData()->GetArray("ArrayName")
and then this: http://www.vtk.org/Wiki/VTK/Examples/Utilities/ArrayRange

Thanks,

David



More information about the vtkusers mailing list