[Paraview-developers] The Threshold filter
David Thompson
david.thompson at kitware.com
Fri Feb 1 17:31:03 EST 2013
Hi all,
> Another roundabout way is to first use the array calculator to get the absolute value or square of the field, then use the threshold filter to extract all values that are some epsilon more than 0 or greater.
Yet another roundabout way (assuming PV 3.98+ built with Python) is to use the "Find Data" dialog to select the cells with nonzero values and then apply the "Extract Selection" filter.
David
> From: Andy Bauer <andy.bauer at kitware.com>
> Date: Friday, February 1, 2013 1:10 PM
> To: Alejandro RIBES <alejandro.ribes at edf.fr>
> Cc: "paraview-developers at paraview.org" <paraview-developers at paraview.org>, "paraview-developers-bounces at paraview.org" <paraview-developers-bounces at paraview.org>
> Subject: [EXTERNAL] Re: [Paraview-developers] The Threshold filter
>
>> Hi,
>>
>> A slightly round-about way to do this is to apply 2 threshold filters and then use the append data sets filter to put them back together.
>>
>> Andy
>>
>> On Fri, Feb 1, 2013 at 12:56 PM, Alejandro RIBES <alejandro.ribes at edf.fr> wrote:
>>>
>>> Hi,
>>>
>>> Using ParaView I am trying to exclude all the zero elements in a scalar field. I tried with the Threshold filter and realized that I can select either less than zero or bigger than zero with the current sliders. I can also select zero but not the complement that is what I want. Is that an easy way to do that ? If not, can we add a "exclude" or "complement" box that will change the behavior of the filter ?
>>>
>>> Cheers,
>>>
>>> Alejandro.
>>>
>>>
>>>
>>> Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
>>> Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
>>> Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
>>> ____________________________________________________
>>> This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
>>> If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
>>> E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
>>>
>>> _______________________________________________
>>> Paraview-developers mailing list
>>> Paraview-developers at paraview.org
>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>
>>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
More information about the Paraview-developers
mailing list