MantisBT - ParaView
View Issue Details
0007419ParaView(No Category)public2008-07-29 12:312011-01-13 17:00
Ken Moreland 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
 
3.43.4 
0007419: Extract selection filter ignores invert selection flag
When copying a selection to the extract selection filter, the invert selection flag gets lost. Thus, the wrong partition of cells is extracted. To reproduce:

1. Create a sphere source.
2. Select some cells (not all cells).
3. Open the selection inspector.
4. Turn on Invert selection flag. The display will show the inverted selection.
5. Create an Extract Selection filter and copy the active selection to it.
6. Apply. The wrong cells are extracted.
No tags attached.
Issue History
2008-07-29 12:31Ken MorelandNew Issue
2008-08-06 13:04Utkarsh AyachitStatusbacklog => @80@
2008-08-06 13:04Utkarsh AyachitResolutionopen => unable to reproduce
2008-08-06 13:04Utkarsh AyachitAssigned To => Utkarsh Ayachit
2008-08-06 13:04Utkarsh AyachitNote Added: 0012949
2008-08-07 17:01Alan ScottStatus@80@ => @20@
2008-08-07 17:01Alan ScottResolutionunable to reproduce => reopened
2008-08-07 17:01Alan ScottNote Added: 0012967
2008-08-11 09:55Utkarsh AyachitStatus@20@ => @80@
2008-08-11 09:55Utkarsh AyachitResolutionreopened => fixed
2008-08-11 09:55Utkarsh AyachitNote Added: 0012979
2008-08-14 16:36Alan ScottStatus@80@ => closed
2008-08-14 16:36Alan ScottNote Added: 0013023
2009-05-13 13:58Utkarsh AyachitTarget Version => 3.4
2009-05-13 13:59Utkarsh AyachitFixed in Version => 3.4
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0012949)
Utkarsh Ayachit   
2008-08-06 13:04   
I could not reproduce this. Has this been fixed since it was reported?
(0012967)
Alan Scott   
2008-08-07 17:01   
I can easily reproduce this. It may be easier than this, but this works.
* Client/server. 6 servers.
* Turn on selection inspector.
* Sources/ Sphere.
* Click "Set view direction to X+" (next to reset)
* Select cells, rubber band select a rectangle area in the middle of the sphere.
* Invert selection.
* Rotate the sphere. Only half will be selected(with a hole where we turned off the original selection)
(0012979)
Utkarsh Ayachit   
2008-08-11 09:55   
This fixes the following bug:
* run ParaView in parallel
* create a selection such no ids on atleast one of the processes were selected
* invert selection.
The process on which no ids were selected ended up creating no selection at all.
This was due to the fact that the vtkSelectionSource was not producing a
complete vtkSelection in its output if there are no ids. Which was incorrect in
case of inverse-selection. Hence now vtkSelectionSource::RequestData() ensures
that the vtkSelection in the output is constructed completely even is no ids are
present.

/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkSelectionSource.cxx,v <-- VTK/Graphics/vtkSelectionSource.cxx
new revision: 1.25; previous revision: 1.24
(0013023)
Alan Scott   
2008-08-14 16:36   
This fixes it! Tested client/server.