[vtkusers] I am searching a filter (kind of threshold)
Jérôme
jerome.velut at gmail.com
Fri May 7 08:13:36 EDT 2010
Hi,
If you are working with vtkImageData, vtkImageThreshold is what you are looking
for. However, for polygonal/pointset/...data, I agree with David.
2010/5/7 David Doria <daviddoria+vtk at gmail.com>:
> 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
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list