[Paraview] vtkCompositeDataSet - memory ?

Jacques Papper jacques.papper at gmail.com
Sat Feb 21 05:37:38 EST 2009


Thank you,

This is what I coded up (using setpoints for each vtkUnstructuredGrid with
the same vtkPoints).
I was then just surprised to see that the number of points in ParaView was
multiplied by my number of blocks and therefore believed the memory used was
multiplied. Is there any way of making sure that ParaView actually does
reflect the correct number of points?

Kind Regards,
Jacques

2009/2/20 Andy Bauer <andy.bauer at kitware.com>

> If all of the grids that are used in the vtkMultiBlockDataSet derive from
> vtkPointSet, you can use the same vtkPoints for each of the grids.  They
> should also have the same vtkPointData as a result so that data is not
> duplicated.
>
> Andy
>
>
> On Fri, Feb 20, 2009 at 2:23 PM, Jacques Papper <jpapper at ara.co.uk> wrote:
>
>> Hi all,
>>
>> I'm writing a reader for a dataset which has boundary faces (tri and
>> quads)
>> as well as volume cells (tets etc..).
>> In would like to use a CompositeDataSet as a container, so that I can
>> easily
>> extract boundary faces which are groupesd in named zones (for ex:
>> upper_surf
>> lower_surf etc...).
>>
>> The problem I encounter is that if I us a vtkMultiblockDataSet composed of
>> vtkUnstructuredGrid there is no relationship between the separate blocks.
>> This means that I need to duplicate points which are shared between the
>> different blocks, duplicate the data associated to thes points etc ...
>>
>> Is there a vtkCompositeDataSet where all the points and data are shared
>> between the branches and the only difference is the cells ?
>>
>> Thank you for your guidance.
>>
>> Jacques PAPPER
>> Applied CFD Team Leader
>> Tel: +44 (0) 1234 324677
>>
>>
>> ---------------------------
>> This email contains information that is private and confidential and is
>> intended only for the addressee.  If you are not the intended recipient
>> please delete it and notify us immediately by e-mailing the sender.
>> Note: All email sent to or from this address may be accessed by someone
>> other than the recipient, for system management and security reasons.
>> Aircraft Research Association Ltd.  Registered in England, Registration No
>> 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB
>> 196351245
>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090221/9cb521f2/attachment.htm>


More information about the ParaView mailing list