MantisBT - ParaView
View Issue Details
0007780ParaView(No Category)public2008-10-06 16:242009-02-17 21:07
David Doria 
Utkarsh Ayachit 
normalminoralways
closedwon't fix 
 
 
0007780: Extract Selection Filter does not copy Data Arrays
I'm trying to "crop" 3d points with an associated RGB data array. I use the "select points through" tool to the select the region I want to crop. Then I use the "extract selection" filter. This almost achieves the goal, except the corresponding colors in the RGB data array are not copied to the selection, so the cropped points are now a uniform color, rather than colored as they were in the original data set.
No tags attached.
? test.vtk (3,503) 2008-10-06 16:24
https://www.vtk.org/Bug/file/6751/test.vtk
? extracted.vtk (996) 2008-10-06 16:24
https://www.vtk.org/Bug/file/6752/extracted.vtk
Issue History
2008-10-06 16:24David DoriaNew Issue
2008-10-06 16:24David DoriaFile Added: test.vtk
2008-10-06 16:24David DoriaFile Added: extracted.vtk
2008-10-06 16:25David DoriaNote Added: 0013734
2008-10-18 16:00David DoriaNote Added: 0013899
2009-02-17 14:10Utkarsh AyachitNote Added: 0015050
2009-02-17 14:10Utkarsh AyachitStatusbacklog => @80@
2009-02-17 14:10Utkarsh AyachitResolutionopen => won't fix
2009-02-17 14:10Utkarsh AyachitAssigned To => Utkarsh Ayachit
2009-02-17 21:07Alan ScottNote Added: 0015114
2009-02-17 21:07Alan ScottStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0013734)
David Doria   
2008-10-06 16:25   
test.vtk was created with the clip filter from my real data set - the Data Array RGB remained intact.

extracted.vtk was created with the "extract selection" filter. the Data Array is gone
(0013899)
David Doria   
2008-10-18 16:00   
I think the problem was with my vtk file... the problem doesn't seem to happen with any other vtk files.
(0015050)
Utkarsh Ayachit   
2009-02-17 14:10   
When extracting points, only point data is passed through. In your vtk file, the RGB array is a cell-data array, and hence is not passed. Use "Select Cells Through" to make a cell-based selection, the RGB array is then passed correctly.
(0015114)
Alan Scott   
2009-02-17 21:07   
Agree with Utkarsh.