MantisBT - ParaView
View Issue Details
0004133ParaView(No Category)public2006-12-04 18:582011-01-13 17:00
Ken Moreland 
Utkarsh Ayachit 
highfeaturealways
closedfixed 
 
3.43.4 
0004133: Selecting blocks
In addition to selecting individual points or cells, it should be possible to select any block under the rubber band (or click) in a multiblock data set.
No tags attached.
has duplicate 0004926closed Utkarsh Ayachit Multi-block selection 
has duplicate 0006522closed Utkarsh Ayachit Add block extraction support 
Issue History
2008-04-07 16:20Berk GeveciAssigned ToDave DeMarle => Utkarsh Ayachit
2008-04-07 16:20Berk GeveciPrioritylow => high
2008-04-07 16:20Berk GeveciCategory => 3.4
2008-04-14 10:29Utkarsh AyachitTarget Version => Multi-block support
2008-04-14 11:55Utkarsh AyachitStatustabled => @80@
2008-04-14 11:55Utkarsh AyachitResolutionopen => fixed
2008-04-14 11:55Utkarsh AyachitNote Added: 0011276
2008-04-14 11:57Utkarsh AyachitRelationship addedhas duplicate 0004926
2008-04-15 16:44Utkarsh AyachitRelationship addedhas duplicate 0006522
2008-04-15 18:20Alan ScottStatus@80@ => @20@
2008-04-15 18:20Alan ScottResolutionfixed => reopened
2008-04-15 18:20Alan ScottNote Added: 0011377
2008-04-16 10:40Utkarsh AyachitNote Added: 0011392
2008-04-17 19:36Alan ScottNote Added: 0011422
2008-04-21 11:54Utkarsh AyachitStatus@20@ => @80@
2008-04-21 11:54Utkarsh AyachitResolutionreopened => fixed
2008-04-21 11:54Utkarsh AyachitNote Added: 0011456
2008-04-23 15:06Alan ScottStatus@80@ => closed
2008-04-23 15:06Alan ScottNote Added: 0011519
2009-05-13 13:58Utkarsh AyachitTarget VersionMulti-block support => 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
(0011276)
Utkarsh Ayachit   
2008-04-14 11:55   
Added support to select blocks of a multiblock dataset.
Use the shortcut "B" to enter the block-selection mode and then draw the rubber
band or simply click to select the block at the cursor.

Added a new ContentType (BLOCKS) to vtkSelection. In this mode, the
vtkSelectionList is a vtkUnsignedIntArray with the composite index for the
selected blocks.


/cvsroot/ParaView3/ParaView3/Applications/Client/MainWindow.cxx,v <-- Applications/Client/MainWindow.cxx
new revision: 1.140; previous revision: 1.139
/cvsroot/ParaView3/ParaView3/Applications/Client/MainWindow.h,v <-- Applications/Client/MainWindow.h
new revision: 1.27; previous revision: 1.26
/cvsroot/ParaView3/ParaView3/Applications/Client/MainWindow.ui,v <-- Applications/Client/MainWindow.ui
new revision: 1.96; previous revision: 1.95
/cvsroot/ParaView3/ParaView3/Qt/Components/pqExtractSelectionsPanel.cxx,v <-- Qt/Components/pqExtractSelectionsPanel.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Components/pqSelectionInspectorPanel.cxx,v <-- Qt/Components/pqSelectionInspectorPanel.cxx
new revision: 1.24; previous revision: 1.23
/cvsroot/ParaView3/ParaView3/Qt/Components/pqSelectionInspectorPanel.h,v <-- Qt/Components/pqSelectionInspectorPanel.h
new revision: 1.15; previous revision: 1.14
/cvsroot/ParaView3/ParaView3/Qt/Components/Resources/UI/pqSelectionInspectorPanel.ui,v <-- Qt/Components/Resources/UI/pqSelectionInspectorPanel.ui
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderView.cxx,v <-- Qt/Core/pqRenderView.cxx
new revision: 1.33; previous revision: 1.32
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRenderView.h,v <-- Qt/Core/pqRenderView.h
new revision: 1.16; previous revision: 1.15
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRubberBandHelper.cxx,v <-- Qt/Core/pqRubberBandHelper.cxx
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Qt/Core/pqRubberBandHelper.h,v <-- Qt/Core/pqRubberBandHelper.h
new revision: 1.6; previous revision: 1.5
/cvsroot/ParaView3/ParaView3/Qt/Core/pqSpreadSheetViewModel.cxx,v <-- Qt/Core/pqSpreadSheetViewModel.cxx
new revision: 1.20; previous revision: 1.19
/cvsroot/ParaView3/ParaView3/Servers/Common/vtkSelectionConverter.cxx,v <-- Servers/Common/vtkSelectionConverter.cxx
new revision: 1.15; previous revision: 1.14
/cvsroot/ParaView3/ParaView3/Servers/Common/vtkSelectionConverter.h,v <-- Servers/Common/vtkSelectionConverter.h
new revision: 1.6; previous revision: 1.5
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkIndexBasedBlockSelectionFilter.cxx,v <-- Servers/Filters/vtkIndexBasedBlockSelectionFilter.cxx
new revision: 1.6; previous revision: 1.5
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVExtractSelection.cxx,v <-- Servers/Filters/vtkPVExtractSelection.cxx
new revision: 1.10; previous revision: 1.9
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVExtractSelection.h,v <-- Servers/Filters/vtkPVExtractSelection.h
new revision: 1.7; previous revision: 1.6
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVSelectionSource.cxx,v <-- Servers/Filters/vtkPVSelectionSource.cxx
new revision: 1.4; previous revision: 1.3
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVSelectionSource.h,v <-- Servers/Filters/vtkPVSelectionSource.h
new revision: 1.2; previous revision: 1.1
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSelectionHelper.cxx,v <-- Servers/ServerManager/vtkSMSelectionHelper.cxx
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSelectionHelper.h,v <-- Servers/ServerManager/vtkSMSelectionHelper.h
new revision: 1.5; previous revision: 1.4
/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/sources.xml,v <-- Servers/ServerManager/Resources/sources.xml
new revision: 1.81; previous revision: 1.80
/cvsroot/ParaView3/ParaView3/VTK/Filtering/vtkSelection.cxx,v <-- VTK/Filtering/vtkSelection.cxx
new revision: 1.25; previous revision: 1.24
/cvsroot/ParaView3/ParaView3/VTK/Filtering/vtkSelection.h,v <-- VTK/Filtering/vtkSelection.h
new revision: 1.34; previous revision: 1.33
/cvsroot/ParaView3/ParaView3/VTK/Graphics/CMakeLists.txt,v <-- VTK/Graphics/CMakeLists.txt
new revision: 1.179; previous revision: 1.178
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkConvertSelection.cxx,v <-- VTK/Graphics/vtkConvertSelection.cxx
new revision: 1.13; previous revision: 1.12
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkConvertSelection.h,v <-- VTK/Graphics/vtkConvertSelection.h
new revision: 1.4; previous revision: 1.3
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedBlock.cxx,v <-- VTK/Graphics/vtkExtractSelectedBlock.cxx
initial revision: 1.1
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectedBlock.h,v <-- VTK/Graphics/vtkExtractSelectedBlock.h
initial revision: 1.1
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelection.cxx,v <-- VTK/Graphics/vtkExtractSelection.cxx
new revision: 1.23; previous revision: 1.22
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelection.h,v <-- VTK/Graphics/vtkExtractSelection.h
new revision: 1.12; previous revision: 1.11
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkExtractSelectionBase.cxx,v <-- VTK/Graphics/vtkExtractSelectionBase.cxx
new revision: 1.2; previous revision: 1.1
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkSelectionSource.cxx,v <-- VTK/Graphics/vtkSelectionSource.cxx
new revision: 1.20; previous revision: 1.19
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkSelectionSource.h,v <-- VTK/Graphics/vtkSelectionSource.h
new revision: 1.11; previous revision: 1.10
(0011377)
Alan Scott   
2008-04-15 18:20   
I believe that this does solve this bug, but it does not solve what are listed as duplicates. For instance, using can.exo, I would like to color the can by compositeIndex and the block by DISPL. Furthermore, I don't know which block is which, and I have lots of blocks, and don't want to randomly click in the "block Indeces". I would like to run an Extract Block filter, and select the can, color the can. Then, I want to reverse it - use the Extract Block filter, select everything other than the can, and color the rest of the stuff (the block).
(0011392)
Utkarsh Ayachit   
2008-04-16 10:40   
You can use "Extract Selection" filter to select blocks to extract by picking them on the screen. Using selection inspector you can invert the selection as well. (I'll soon add capabilities to "Extract Selection" filter to invert the selection without going to the selection inspector)
(0011422)
Alan Scott   
2008-04-17 19:36   
OK, I agree with what you said in the note above.

Next, it fails client/server. I get an output message as follows:

\alan\paraviewNightlyTrunk\src\ParaView3\Servers\ServerManager\vtkSMSelectionHelper.cxx, line 209
Unhandled ContentType: 0

This was using can.exo.
(0011456)
Utkarsh Ayachit   
2008-04-21 11:54   
Ah---there was a bug in parallel. Fixed that.

/cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMSelectionHelper.cxx,v <-- Servers/ServerManager/vtkSMSelectionHelper.cxx
new revision: 1.14; previous revision: 1.13
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPConvertSelection.cxx,v <-- Servers/Filters/vtkPConvertSelection.cxx
new revision: 1.2; previous revision: 1.1
(0011519)
Alan Scott   
2008-04-23 15:06   
Tested client/server.