View Issue Details

IDProjectCategoryView StatusLast Update
0002385Slicer4Module SceneViewspublic2014-03-06 04:51
Reporterspujol Assigned Tonicole  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.0Fixed in VersionSlicer 4.1.0 
Summary0002385: Issue with saving mrb scenes
Description

Hi,

I created a scene that contains a DTI dataset and a set of tracts, and I generated three scene views.

When I save the scene as .mrb file and try to reload it, the scene views are not properly restored.

Additional Information

nightly build 2012-08-03 on snow leopard

TagsNo tags attached.

Relationships

related to 0002120 closedpieper MRB does not survive roundtrip 

Activities

2012-08-06 11:31

 

2012-08-06-Scene.mrml (165,706 bytes)
spujol

spujol

2012-08-07 12:07

developer   ~0005518

I have uploaded the archive containing the dataset on the wiki:

http://www.slicer.org/slicerWiki/index.php/File:TestData_mrb.zip

Thanks!

spujol

spujol

2012-08-07 15:08

developer   ~0005523

Last edited: 2012-08-08 05:03

  1. I loaded the DTI dataset, FA map and three test tracts (tract1.vtk,
    tract2.vtk and tract3.vtk) in yesterday's nightly build on Mac
  2. in the tractography module display, I changed the tube color to plain
    and selected the green color 'foreign_object'
  3. in the scene views module, I created three different scene views, one
    for each tract ( sceneview1, sceneview2,sceneview3)
  4. I selected File-->Save Scene and saved the scene as a mrml file on
    disk (2012.08.07.mrml)
  5. I selected File-->Save Scene again, selected all the scene elements,
    and saved the scene as a .mrb file (2012.08.07.mrb)
    When I reload the mrml file, all three scene views are restored
    correctly. However, when I restore the mrb file, the DTI volume in the
    scene views is not correctly displayed (see screenshot1).

Then, I restarted Slicer and tried creating a mrb file from an existing
mrml file:

  1. I reloaded the 2012.08.07.mrml scene, and selected Scene->Save. This
    might be unrelated but the three tracts were labelled 'modified' whereas
    the data had not been modified. (see screenshot2).
  2. I selected all the elements of the scene, changed the directory for
    all selected to a 'new_mrb_file' subdirectory and saved the scene as a
    new .mrb file.
  3. I restarted Slicer and reloaded the new 2012.08.07 mrb file: the
    display of the scene views was still different from the original one
    (see screenshot3).

I uploaded these tests on the Slicer wiki:
http://www.slicer.org/slicerWiki/index.php/File:TestData_MRB_format.zip

2012-08-08 05:04

 

screenshot1.png (226,608 bytes)
screenshot1.png (226,608 bytes)

2012-08-08 05:04

 

screenshot2.png (693,914 bytes)
screenshot2.png (693,914 bytes)

2012-08-08 05:04

 

screenshot3.png (230,527 bytes)
screenshot3.png (230,527 bytes)
nicole

nicole

2012-09-05 15:15

administrator   ~0005986

this seems to be resolved as of svn 20933, I was able to save the mrb, load it, restore sceen views and everythign looked fine.

jcfr

jcfr

2014-03-06 04:50

administrator   ~0010726

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-08-06 11:31 spujol New Issue
2012-08-06 11:31 spujol Status new => assigned
2012-08-06 11:31 spujol Assigned To => nicole
2012-08-06 11:31 spujol File Added: 2012-08-06-Scene.mrml
2012-08-07 12:07 spujol Note Added: 0005518
2012-08-07 15:08 spujol Note Added: 0005523
2012-08-08 05:03 spujol Note Edited: 0005523
2012-08-08 05:04 spujol File Added: screenshot1.png
2012-08-08 05:04 spujol File Added: screenshot2.png
2012-08-08 05:04 spujol File Added: screenshot3.png
2012-08-20 10:37 nicole Target Version => Slicer 4.2.0 - Feature freeze Sept 1st 2012
2012-08-20 12:16 jcfr Relationship added related to 0002120
2012-09-05 15:15 nicole Note Added: 0005986
2012-09-05 15:15 nicole Status assigned => resolved
2012-09-05 15:15 nicole Fixed in Version => Slicer 4.1.0
2012-09-05 15:15 nicole Resolution open => fixed
2014-03-06 04:50 jcfr Note Added: 0010726
2014-03-06 04:51 jcfr Status resolved => closed