[vtkusers] GlobalIds lost with vtkAppendPolyData
Affolter Martin
martin.affolter at ntb.ch
Wed May 9 06:02:52 EDT 2012
Hi vtkusers,
When combining two polydata (simple cubes) with vtkAppendPolyData, the GlobalIds, that have been set for both cubes, are removed. This is not the case for the scalars that I use to define the color and transparency of the cells.
The documentation does not mention the globalIds :
vtkAppendPolyData is a filter that appends one of more polygonal datasets into a single polygonal dataset. All geometry is extracted and appended, but point and cell attributes (i.e., scalars, vectors, normals) are extracted and appended only if all datasets have the point and/or cell attributes available. (For example, if one dataset has point scalars but another does not, point scalars will not be appended.)
Are the globalIds meant to be removed or could this be a bug? Are there alternative ways of combining polydata without the loss of the globalIds?
Regards,
Martin Affolter
Dipl. Ing FH
Wissenschaftlicher Mitarbeiter
___________________________________________
NTB Interstaatliche Hochschule für Technik Buchs
Institut für Ingenieurinformatik
Schönauweg 4
CH-9013 St. Gallen
Tel: +41 81 755 32 49
Web: http://www.ntb.ch<http://www.ntb.ch/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120509/9919a0c3/attachment.htm>
More information about the vtkusers
mailing list