[vtkusers] How to extract cells and points from unstructuredGrid based on integer cell data?

Bill Lorensen bill.lorensen at gmail.com
Sat Sep 23 17:16:11 EDT 2017


This one in particular checks cell types...

https://lorensen.github.io/VTKExamples/site/Cxx/Modelling/Delaunay3DDemo/


On Sat, Sep 23, 2017 at 5:14 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> These examples use vtkCellIterator. Take a look.
>
> https://cse.google.com/cse?cx=015419652359195128492:0lkxso1wcym&q=vtkcelliterator&oq=vtkcelliterator&gs_l=partner.3...1609.4638.0.7481.15.13.0.2.2.0.153.1228.8j5.13.0.gsnos%2Cn%3D13...0.3028j801764j15..1ac.1.25.partner..12.3.92.NUApzKEds0o#gsc.tab=0&gsc.q=vtkcelliterator&gsc.page=1
>
> On Sat, Sep 23, 2017 at 3:51 PM, scotsman60 <doug at beachmailing.com> wrote:
>> Hello.
>>
>> I'm a vtk newbie......and I have an unstructureGrid consisting of many
>> different cell types and each cell has some associated integer cell data.
>>
>> From the unstructureGrid I want to create a new unstructuredGrid (Cells and
>> points) consisting of only those cells that have a particular cellData value
>>
>> What is the recommended strategy for achiving this goal?
>>
>> I'm currently pursuing a solution based on vtkThreshold - is this the right
>> approach or is there a better onw?
>>
>>
>> Thanx in advance,
>>
>>
>> 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:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list