View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015507ParaView(No Category)public2015-06-04 04:002015-07-10 20:41
ReporterMathieu Westphal 
Assigned ToDan Lipsa 
PriorityurgentSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version4.4Fixed in Version 
Summary0015507: Multiblock Inspector not working correctly
Description(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
TagsNo tags attached.
ProjectSandia
Topic Name
Typeincorrect functionality
Attached Filestgz file icon test.tgz [^] (3,606 bytes) 2015-06-04 04:00

 Relationships

  Notes
(0034723)
Dan Lipsa (developer)
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 (developer)
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 (administrator)
2015-07-10 09:55

Merge request:

https://gitlab.kitware.com/paraview/paraview/merge_requests/209 [^]
(0034752)
Alan Scott (manager)
2015-07-10 20:41

Tested master, Linux, remote server.

 Issue History
Date Modified Username Field Change
2015-06-04 04:00 Mathieu Westphal New Issue
2015-06-04 04:00 Mathieu Westphal Assigned To => Utkarsh Ayachit
2015-06-04 04:00 Mathieu Westphal File Added: test.tgz
2015-06-04 11:59 Utkarsh Ayachit Target Version => 4.4
2015-06-07 14:12 Utkarsh Ayachit Assigned To Utkarsh Ayachit =>
2015-06-07 14:12 Utkarsh Ayachit Status backlog => todo
2015-07-07 22:30 Alan Scott Project TBD => Sandia
2015-07-08 16:30 Utkarsh Ayachit Status todo => backlog
2015-07-08 16:36 Utkarsh Ayachit Status backlog => todo
2015-07-08 16:53 Dan Lipsa Status todo => active development
2015-07-08 23:15 Dan Lipsa Assigned To => Dan Lipsa
2015-07-09 13:30 Dan Lipsa Note Added: 0034723
2015-07-09 13:33 Dan Lipsa Note Edited: 0034723
2015-07-09 13:33 Dan Lipsa Note Edited: 0034723
2015-07-09 13:43 Dan Lipsa Note Edited: 0034723
2015-07-10 09:48 Dan Lipsa Note Added: 0034737
2015-07-10 09:55 Utkarsh Ayachit Note Added: 0034738
2015-07-10 09:55 Utkarsh Ayachit Status active development => customer review
2015-07-10 09:55 Utkarsh Ayachit Resolution open => fixed
2015-07-10 20:41 Alan Scott Note Added: 0034752
2015-07-10 20:41 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team