How to retrieve cells by Type from a vtkUnstructuredGrid?

scotsman60 <[email protected]> Wed, 20 Mar 2019 08:30:05 -0700 (MST)
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[email protected]>
Hello,

I have a vtkUnstructuredGrid comprising multiple cell types - hexas, tetras,
trias, quads etc.

I need to process the cells by type so I'm looking for a way to extract the
cells by type. 

I looked at the vtkThresholdFilter but it seems like I first need to have a
cell scalar array to identify the cell types

I'm pursuing the idea of getting an array of cell types either from the
vtkUnstructuredGrid or from a vtkCellArray - but I can't find the API's I
need to accomplish this.

Any/all ideas will be gratefully received.

Thanks,

Doug



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

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