<div><div class="gmail_quote">On Fri, May 7, 2010 at 7:18 AM, Lodron, Gerald <span dir="ltr">&lt;<a href="mailto:Gerald.Lodron@joanneum.at">Gerald.Lodron@joanneum.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
Is there any filter which set all values smaller a threshold to a specific value (e.g. all values smaller than zero to zero)<br>
<br>
Best regards<br><br></blockquote><div><br></div><div>I don&#39;t think any filters will really change the values.  You can use this:</div><div><br></div><a href="http://www.vtk.org/Wiki/VTK/Examples/PolyData/ThresholdingPoints">http://www.vtk.org/Wiki/VTK/Examples/PolyData/ThresholdingPoints</a><div>
<br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/PolyData/ThresholdingPoints"></a>to get the IDs of the points that pass your threshold test and then set to the specific value yourself.</div><div><br></div><div>
Maybe someone has a better answer?</div><div><br clear="all">Thanks,<br><br></div><div>David </div></div><br></div>