[vtkusers] I am searching a filter (kind of threshold)
David Doria
daviddoria+vtk at gmail.com
Fri May 7 07:48:30 EDT 2010
On Fri, May 7, 2010 at 7:18 AM, Lodron, Gerald <Gerald.Lodron at joanneum.at>wrote:
> Hi
>
> Is there any filter which set all values smaller a threshold to a specific
> value (e.g. all values smaller than zero to zero)
>
> Best regards
>
>
I don't think any filters will really change the values. You can use this:
http://www.vtk.org/Wiki/VTK/Examples/PolyData/ThresholdingPoints
<http://www.vtk.org/Wiki/VTK/Examples/PolyData/ThresholdingPoints>to get the
IDs of the points that pass your threshold test and then set to the specific
value yourself.
Maybe someone has a better answer?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100507/1858fddf/attachment.htm>
More information about the vtkusers
mailing list