You can share the points by simply creating one vtkPoints object and then passing those points to all the unstructured grids in your data object. Then all the blocks will be sharing that data.
Note, however, that ParaView will not actually check that. Thus it will probably incorrectly count the number of points and the amount of memory the points take up multiple times, one for each block. Also, if you pass the data through a filter that changes the points, those downstream filters will replicate their point data. -Ken On 2/20/09 12:23 PM, "Jacques Papper" <jpap...@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 **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel
_______________________________________________ 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