[vtkusers] [Paraview-developers] compare polydata

Mathieu Westphal mathieu.westphal at kitware.com
Wed Oct 4 05:04:14 EDT 2017


Hello

I've included a very simple state file that compare the number of points in
two different datasets.
You can expand the python programmable script to compare anything you want.
You can find examples here :
https://www.paraview.org/Wiki/Python_Programmable_Filter

Best,

Mathieu Westphal

On Wed, Oct 4, 2017 at 10:17 AM, Chiranjib Sur <sur.chiranjib at gmail.com>
wrote:

> Thanks Mathieu, any pointers for that? Actually my solution is within
> ParaView and internally I use VTK classes.
>
>
> Thanks and regards,
> Chiranjib
>
> On Wed, Oct 4, 2017 at 1:44 PM, Mathieu Westphal <
> mathieu.westphal at kitware.com> wrote:
>
>> Hello
>>
>> Since you asked on the ParaView ML as well, this can be easilly done in a
>> ParaView Programmable Filter,
>> where you could compare all points, cells, point data, cell data and
>> filed data of the inputs datasets.
>>
>> Best,
>>
>> Mathieu Westphal
>>
>> On Wed, Oct 4, 2017 at 10:08 AM, Chiranjib Sur <sur.chiranjib at gmail.com>
>> wrote:
>>
>>> Hi,
>>> Is there any implementation available in VTK where I can compare two
>>> polydata and know if they are different?
>>>
>>> I want to design a function like this
>>>
>>> int polydataCompare(polydata1, polydata2)
>>>
>>> if they are different the function will return 1 else return 0
>>>
>>> Thanks and regards,
>>> Chiranjib
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Search the list archives at: http://markmail.org/search/?q=
>>> Paraview-developers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171004/dc3a8ce2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compareDatasetsProgFilter.pvsm
Type: application/octet-stream
Size: 304379 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171004/dc3a8ce2/attachment-0001.obj>


More information about the vtkusers mailing list