[Paraview] Resample with Dataset (vtkValidPointMask)

David E DeMarle dave.demarle at kitware.com
Fri Apr 23 13:19:14 EDT 2010


I think you need to run Delauney on one of the point sets to turn the
point samples floating in space into into a partitioning of space.
Then the probe filter will be able to find values (interolating the
values of the points that make up the containing cell) for the second
set of points.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Wed, Apr 21, 2010 at 12:34 PM,  <Luca.Clementi at tororosso.com> wrote:
> Dear David,
> I have two data sets with 3d points and a scalar value coming from two CSV
> files and then I filter them through Table to Points, and then I apply the
> resample data set filter.
>
> So basically the two inputs are Poligonal Mesh, see the attached pic.
>
> Sincerely,
> Luca
>
>
>
>
>
>
> paraview-bounces at paraview.org wrote on 04/21/2010 04:14:44 PM:
>>
>> The probe filter assigns the invalid flag when a sample location isn't
>> located within any cell in the field (as happens in parallel cases
>> when a processor is sampling outside of its local domain).
>>
>> What data type are you sampling within exactly? If the cells are 2D or
>> less, it is pretty easy to have lots of the sample locations not
>> satisfy the plane equations of any of the 2D cells.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-371-3971 x109
>>
>>
>>
>> On Wed, Apr 21, 2010 at 9:49 AM,  <Luca.Clementi at tororosso.com> wrote:
>> > Dear all,
>> > I have two CVS files with ~500000 3d point with a scalar value.
>> > I load them in paraview then I use Table To points to have a polygonal
> mesh.
>> >
>> > I then use the resample with dataset so that in the next step I can do
> a
>> > with the a programmable filter.
>> >
>> > The problem I have is that looking at the vtkValidPointMask after I
> run the
>> > probe filter I have almost ~400000 points which are set to 0 (aka they
> are
>> > invalid).
>> >
>> > Why is that? How can I reduce that number?
>> >
>> > My two data set are the results of a very dense point sample taken on
> the
>> > same boundary surface.
>> >
>> > Sincerely,
>> > Luca
>> >
>> >
>> >
>>
> _________________________________________________________________________________________________________________
>> > Questo messaggio è da intendersi esclusivamente ad uso del
> destinatario e
>> > può contenere informazioni che sono di natura privilegiata,
> confidenziale
>> > o non divulgabile secondo le leggi vigenti. Se il lettore del presente
>> > messaggio non è il destinatario designato, o il dipendente/agente
>> > responsabile
>> > per la consegna del messaggio al destinatario designato, si informa
> che ogni
>> > disseminazione, distribuzione o copiatura di questa comunicazione è
>> > strettamente proibita anche ai sensi del decreto legislativo 196/03 .
> Se
>> > avete ricevuto questo messaggio per errore, vi preghiamo di
> notificarcelo
>> > immediatamente a mezzo e-mail di risposta e successivamente di
> procedere
>> > alla cancellazione di questa e-mail e relativi allegati dal vostro
> sistema.
>> >
>>
> _________________________________________________________________________________________________________________
>> > This message is intended only for the use of the addressee and may
> contain
>> > information that is privileged, confidential and exempt from
>> > disclosure under applicable law. If the reader of this message is not
> the
>> > intended recipient, or the employee or agent responsible for
> delivering the
>> > message to the intended recipient, you are hereby notified that any
>> > dissemination, distribution or copying of this communication is
> strictly
>> > prohibited. If you have received this e-mail in error, please notify
> us
>> > immediately by return e-mail and delete this e-mail and all
> attachments from
>> > your system.
>> >
>>
> _________________________________________________________________________________________________________________
>> >
>> > _______________________________________________
>> > 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 ParaView Wiki at:
>> > http://paraview.org/Wiki/ParaView
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>> _______________________________________________
>> 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 ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
> _________________________________________________________________________________________________________________
> Questo messaggio è da intendersi esclusivamente ad uso del destinatario e può contenere informazioni che sono di natura privilegiata, confidenziale
> o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non è il destinatario designato, o il dipendente/agente responsabile
> per la consegna del messaggio al destinatario designato, si informa che ogni disseminazione, distribuzione o copiatura di questa comunicazione è
> strettamente proibita anche ai sensi del decreto legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi preghiamo di notificarcelo
> immediatamente a mezzo e-mail di risposta e successivamente di procedere alla cancellazione di questa e-mail e relativi allegati dal vostro sistema.
> _________________________________________________________________________________________________________________
> This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from
> disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the
> message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from
> your system.
> _________________________________________________________________________________________________________________


More information about the ParaView mailing list