[vtk-developers] vtkGeometryFilter

Andreas Buykx A.Buykx at tnodiana.com
Wed Oct 19 09:50:10 EDT 2011


Hi all,

I have a vtkUnstructuredGrid containing 50 vtkLine cells and 26 vtkHexahedron cells. The vtkHexahedrons are stacked, and the vtkLines form two (coincident) lines running through the middle of the stack.
When I feed the grid to the vtkGeometryFilter, the resulting celldata arrays are shorter than expected by 50 tuples.

I've been looking at the code of vtkGeometryFilter but cannot understand how this could happen.

Any help is greatly appreciated!

Thanks,
Andresa

filter [ vtkGeometryFilter ]
port 0 connection 0 input: #cells=76 #points=134
  pointdata  ' node_user_ids ' #components: 1  #tuples: 134
  pointdata  ' vtkOriginalPointIds ' #components: 1  #tuples: 134
  celldata  ' elem_user_ids ' #components: 1  #tuples: 76
  celldata  ' element-color ' #components: 1  #tuples: 76
  celldata  ' vtkOriginalCellIds ' #components: 1  #tuples: 76
port 0 output: #cells=156 #points=134
  pointdata  ' node_user_ids ' #components: 1  #tuples: 134
  pointdata  ' vtkOriginalPointIds ' #components: 1  #tuples: 134
  celldata  ' elem_user_ids ' #components: 1  #tuples: 106
  celldata  ' element-color ' #components: 1  #tuples: 106
  celldata  ' vtkOriginalCellIds ' #components: 1  #tuples: 106

Andreas Buykx
Senior Software Engineer

TNO DIANA BV
Software Developers and Analysis Consultants for Civil and Geotechnical Engineering

Delftechpark 19a, 2628 XJ, Delft, The Netherlands
Tel: +31 88 34262 15 (Direct) │ Tel: +31 88 34262 00 (Switchboard) │ +31 88 34262 99 (Fax)
http://tnodiana.com<http://tnodiana.com/>

...be green keep it on screen

____________________________________________________________
TNO DIANA BV is a limited liability company registered in the trade register of the Chamber of Commerce as TNO DIANA BV with registered number 27252655.
____________________________________________________________
This e-mail and its contents are subject to the DISCLAIMER at http://tnodiana.com/content/Disclaimer
____________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20111019/6d097f0b/attachment.htm>


More information about the vtk-developers mailing list