MantisBT - ParaView
View Issue Details
0015507ParaView(No Category)public2015-06-04 04:002015-07-10 20:41
Mathieu Westphal 
Dan Lipsa 
urgentminorhave not tried
closedfixed 
 
4.4 
Sandia
incorrect functionality
0015507: Multiblock Inspector not working correctly
(Using Matser git version 2015-06-02, bug present on 4.3.1 as well )
Mutliblock inspector display incorrect block name and does not allow to select/show the corrects blocks.

How to reproduce :
Open paraview
Open test.vtm (see uploaded file)
view->MultiBlock Inspector
a. uncheck Block #1, recheck it
b. uncheck Block #2, recheck it
c. uncheck Block #1, recheck it

What is observed :
a. spheres disapear, then reappear
b. spheres disapear, then reappear
c. nothing happens

What is expected :
a. spheres disapear, then reappear
b. cubes disapear, then reapear
c. spheres disapear, then reappear

Also the block labels should be Block #0 Block#1 instead of Block#1 Block #2
No tags attached.
tgz test.tgz (3,606) 2015-06-04 04:00
https://www.vtk.org/Bug/file/9807/test.tgz
Issue History
2015-06-04 04:00Mathieu WestphalNew Issue
2015-06-04 04:00Mathieu WestphalAssigned To => Utkarsh Ayachit
2015-06-04 04:00Mathieu WestphalFile Added: test.tgz
2015-06-04 11:59Utkarsh AyachitTarget Version => 4.4
2015-06-07 14:12Utkarsh AyachitAssigned ToUtkarsh Ayachit =>
2015-06-07 14:12Utkarsh AyachitStatusbacklog => todo
2015-07-07 22:30Alan ScottProjectTBD => Sandia
2015-07-08 16:30Utkarsh AyachitStatustodo => backlog
2015-07-08 16:36Utkarsh AyachitStatusbacklog => todo
2015-07-08 16:53Dan LipsaStatustodo => active development
2015-07-08 23:15Dan LipsaAssigned To => Dan Lipsa
2015-07-09 13:30Dan LipsaNote Added: 0034723
2015-07-09 13:33Dan LipsaNote Edited: 0034723bug_revision_view_page.php?bugnote_id=34723#r1140
2015-07-09 13:33Dan LipsaNote Edited: 0034723bug_revision_view_page.php?bugnote_id=34723#r1141
2015-07-09 13:43Dan LipsaNote Edited: 0034723bug_revision_view_page.php?bugnote_id=34723#r1142
2015-07-10 09:48Dan LipsaNote Added: 0034737
2015-07-10 09:55Utkarsh AyachitNote Added: 0034738
2015-07-10 09:55Utkarsh AyachitStatusactive development => customer review
2015-07-10 09:55Utkarsh AyachitResolutionopen => fixed
2015-07-10 20:41Alan ScottNote Added: 0034752
2015-07-10 20:41Alan ScottStatuscustomer review => closed

Notes
(0034723)
Dan Lipsa   
2015-07-09 13:30   
(edited on: 2015-07-09 13:43)
In ParaView, vtkPVCompositeDataInformation returns the flat_index for Block #2 as 2 (because it considers multi-piece datasets as leafs), in VTK vtkCompositePainter consider its flat_index as being 5 (because it descents in multi-piece datasets). Note that one can select individual pieces in a multi-piece dataset and also the code is there to set their color and opacity. vtkDataObjectTreeIterator does not now about multi-piece data so the flat_index would return would be 5.

(0034737)
Dan Lipsa   
2015-07-10 09:48   
commit e798ef0ce69e5e4d55b0883d76f8cac755eb0711
Author: Dan Lipsa <dan.lipsa@kitware.com>
Date: Thu Jul 9 18:26:26 2015 -0400

    BUG 0015507: Multi-block inspector computed the flat index wrong.
    
    For a multi-block dataset containing multi-piece data, the flat index should be computed
    by traversing all data including the pieces in the multi-piece data.
    
    For instance for a multi-block containing 2 multi-piece datsets, each with three pieces,
    the index for the second multi-piece datset should be 5 not 2.
(0034738)
Utkarsh Ayachit   
2015-07-10 09:55   
Merge request:

https://gitlab.kitware.com/paraview/paraview/merge_requests/209 [^]
(0034752)
Alan Scott   
2015-07-10 20:41   
Tested master, Linux, remote server.