[vtkusers] How to get id of cells?
David E DeMarle
dave.demarle at kitware.com
Tue Dec 4 08:12:04 EST 2007
Ids should be put into the source vtkUnstructuredGrid. They should be
of type vtkIdType, have a unique value for each cell or point, and
preferably be flagged as the GLOBAL_IDS in vtkDataSetAttributes. Doing
this last step makes filters ignore them when they do interpolation.
After vtkExtractGeometry, ask for the GLOBAL_IDS array values for each
cell and or point to see where each output cell or point came from in
On 12/4/07, czzcsc <czzcsc at 163.com> wrote:
> Hi everyone,
> I have created my vtkUnstructuredGrid dataset, and I can extract cells from
> my dataset
> by vtkAreaPicker and vtkExtractGeometry. How can I get the id of the
> extracted cells?
> 快乐下载，赢取大奖！ 感受全新世界，感受新的生活！
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers