[vtkusers] vtkthreshold on unstructured grid + data sets

ycollette.nospam at free.fr ycollette.nospam at free.fr
Tue Jan 31 07:48:17 EST 2012


Hello,

I found the solution:
I added a Update just after setting up the vtkthreshold filter. And now, I've got all my arrays back in the unstructurec grid.

YC

----- Mail original -----
De: "ycollette nospam" <ycollette.nospam at free.fr>
À: vtkusers at vtk.org
Envoyé: Mardi 31 Janvier 2012 13:22:26
Objet: [vtkusers] vtkthreshold on unstructured grid + data sets

Hello,

I've got an unstructured grid data set with some data Arrays ('DISPLACE', 'STRES-CA', etc ...).
I use vtkThreshold to extract a part of the unstructured grid (the vtkThreshold is based on 'CellMaterials' array).

Just before using vtkThreshold, I've got an unstructured grid with the arrays, but after vtkThreshold, I get only an unstructuredgrid.

My question is: how can  I use vtkThreshold to perform the thresholding on the whole data set (unstructuredgrid + arrays) ?

Best regards,

YC
_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list