[vtkusers] Polydata Get max values

Andras Lasso lasso at queensu.ca
Fri Apr 13 14:52:22 EDT 2018


You can use GetBounds method - https://www.vtk.org/doc/nightly/html/classvtkDataSet.html#a6a25018c1af03c2fc1068ea4a0221281

Andras

From: vtkusers <vtkusers-bounces at vtk.org> On Behalf Of Polly Pui
Sent: Friday, April 13, 2018 1:56 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Polydata Get max values


Hi,

Is there anyone can give me a hint on how to find the highest point (max value of z coordinate) or lowest point (min value of z coordinate) in a polydata?

I want to mark it with a colour circle to visualize as a keypoint.



Thank you so much.



Polly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180413/6ccb4ce4/attachment.html>


More information about the vtkusers mailing list