<div>Hello,</div>
<div> </div>
<div>I am having a difficulty of retrieving a pedigree array from a filter's output.</div>
<div> </div>
<div><font face="courier new,monospace"> m_tableToPolyData->GetOutput()->GetAttributes(vtkDataObject::POINT)->SetPedigreeIds(<br> m_tableToPolyData->GetOutput()->GetPointData()->GetAbstractArray(0));<br>
vtkSmartPointer<vtkClipPolyData> anotherFilter = vtkSmartPointer<vtkClipPolyData>::New();<br> anotherFilter->SetInputConnection(m_tableToPolyData->GetOutputPort());<br> anotherFilter->Update();</font></div>
<div><font face="courier new,monospace"> <br> vtkAbstractArray* <font color="#009900">origPedigreeIds</font> = m_tableToPolyData->GetOutput()->GetAttributes(vtkDataObject::POINT)->GetPedigreeIds();</font></div>
<div><font face="courier new,monospace"> <font color="#009900">//origPedigreeIds comes back correctly.<br></font> vtkAbstractArray* <font color="#ff0000">pedigreeIds</font> = anotherFilter->GetOutput()->GetAttributes(vtkDataObject::POINT)->GetPedigreeIds();</font></div>
<div><font color="#ff0000" face="courier new,monospace"> //pedigreeIds comes back as NULL</font></div>
<div> </div>
<div>Any help is greatly appreciated,</div>
<div>Jenya<br></div>