BUG: Ensure MacOSX package can be renamed from "Slicer.app" to "Something.app"

Fixes #2848

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21566 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Update the WebGLExport module to use release 9 of XTK.

The generated XTK code is now compatible with the slightly new API and linking against the tag of release 9 should ensure stability in the future.



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21567 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Corrected bug 2577, now there is always a fiber bundle selected if there is one in the scene

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21568 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Solved part of bug 2577, color fibers by segment and mean orientation works

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21569 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added a test class for the tractography display test_tractography_display

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21570 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Download AppLauncher packages from packages.kitware.com

Since github.com deprecated its download api [1], the launcher packages
have been uploaded on packages.kitware.com.

[1] https://github.com/blog/1302-goodbye-uploads

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21571 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix build warning and typo in SlicerExecutionModel project

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21572 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added W/L controls for fiber bundles (mantis ID: 0002789)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21573 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Ensure qm translation files are properly considered

The message "File ... qSlicerBaseQTCore_fr.qm" doesn't exist."
won't occur anymore when starting Slicer.

See http://www.na-mic.org/Bug/view.php?id=2863

Fixes #2863

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21574 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Load translation only if "Internationalization" is enabled

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21575 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Changed the label fo the fiber bundle ROI editing buttons to make the more clear

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21576 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Corrected bug 2381 the DTI volume glyphs now use the correct color map when in color by orientation mode

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21577 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed bug 2824 Perpendicular diffusivity now works

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21578 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add Scene Performance test

It measures time spent by some scene actions such as loading, closing,
restoring, relayouting a scene or modifying/adding nodes.
Issue #2642

Example of performance on a MacBookPro laptop (2.4GHz):
AddData (BrainAtlas2012.mrb) took 44865 msecs
CloseScene () took 28706 msecs
AddData (BrainAtlas2012.mrb) took 44579 msecs
ModifyNode (vtkMRMLScalarVolumeNode1) took 4 msecs
ModifyNode (vtkMRMLScalarVolumeNode2) took 35 msecs
ModifyNode (vtkMRMLScalarVolumeNode3) took 20 msecs
ModifyNode (vtkMRMLModelHierarchyNode2) took 14 msecs
ModifyNode (vtkMRMLModelNode4) took 0 msecs
ModifyNode (vtkMRMLModelDisplayNode5) took 14 msecs
ModifyNode (vtkMRMLModelHierarchyNode3) took 13 msecs
ModifyNode (vtkMRMLModelStorageNode1) took 4 msecs
ModifyNode (vtkMRMLModelHierarchyNode301) took 18 msecs
ModifyNode (vtkMRMLModelDisplayNode304) took 23 msecs
ModifyNode (vtkMRMLModelHierarchyNode51) took 19 msecs
AddNode (vtkMRMLModelNode302) took 46 msecs

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21579 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Speed-up vtkObject event invokes

Issue #2642

Example of performance on a MacBookPro laptop:
AddData (BrainAtlas2012.mrb) took 39877 msecs
CloseScene () took 26271 msecs
CloseScene () took 136 msecs
AddData (BrainAtlas2012.mrb) took 36945 msecs
ModifyNode (vtkMRMLScalarVolumeNode1) took 4 msecs
ModifyNode (vtkMRMLScalarVolumeNode2) took 28 msecs
ModifyNode (vtkMRMLScalarVolumeNode3) took 16 msecs
ModifyNode (vtkMRMLModelHierarchyNode2) took 13 msecs
ModifyNode (vtkMRMLModelNode5) took 1 msecs
ModifyNode (vtkMRMLModelNode4) took 0 msecs
ModifyNode (vtkMRMLModelDisplayNode5) took 12 msecs
ModifyNode (vtkMRMLModelHierarchyNode3) took 12 msecs
ModifyNode (vtkMRMLModelStorageNode1) took 4 msecs
ModifyNode (vtkMRMLModelHierarchyNode301) took 17 msecs
ModifyNode (vtkMRMLModelDisplayNode304) took 21 msecs
ModifyNode (vtkMRMLModelHierarchyNode302) took 17 msecs
AddNode (vtkMRMLModelNode5) took 90 msecs
AddNode (vtkMRMLModelNode302) took 45 msecs

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21580 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Speed-up vtkEventBroker

Issue #2642

Example of performance on a MacBookPro laptop:
AddData (BrainAtlas2012.mrb) took 37541 msecs
CloseScene () took 26276 msecs
CloseScene () took 117 msecs
AddData (BrainAtlas2012.mrb) took 37057 msecs
ModifyNode (vtkMRMLScalarVolumeNode1) took 4 msecs
ModifyNode (vtkMRMLScalarVolumeNode2) took 26 msecs
ModifyNode (vtkMRMLScalarVolumeNode3) took 15 msecs
ModifyNode (vtkMRMLScalarVolumeDisplayNode2) took 22 msecs
ModifyNode (vtkMRMLModelHierarchyNode2) took 10 msecs
ModifyNode (vtkMRMLModelNode4) took 0 msecs
ModifyNode (vtkMRMLModelDisplayNode5) took 11 msecs
ModifyNode (vtkMRMLModelHierarchyNode3) took 11 msecs
ModifyNode (vtkMRMLModelStorageNode1) took 4 msecs
AddNode (vtkMRMLModelNode302) took 41 msecs
Layout (3) took 52 msecs
Layout (2) took 18 msecs
RestoreSceneView (vtkMRMLSceneViewNode15) took 2911 msecs
RestoreSceneView (vtkMRMLSceneViewNode15) took 1608 msecs

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21581 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Speed-up ctkVTKConnection

Issue #2642

Example of performance on a MacBookPro laptop:
AddData (BrainAtlas2012.mrb) took 32574 msecs
CloseScene () took 24954 msecs
CloseScene () took 104 msecs
AddData (BrainAtlas2012.mrb) took 30087 msecs
ModifyNode (vtkMRMLScalarVolumeNode1) took 4 msecs
ModifyNode (vtkMRMLScalarVolumeNode1) took 3 msecs
ModifyNode (vtkMRMLScalarVolumeNode2) took 25 msecs
ModifyNode (vtkMRMLScalarVolumeNode3) took 16 msecs
ModifyNode (vtkMRMLScalarVolumeDisplayNode2) took 22 msecs
ModifyNode (vtkMRMLModelHierarchyNode2) took 10 msecs
ModifyNode (vtkMRMLModelNode4) took 0 msecs
ModifyNode (vtkMRMLModelDisplayNode5) took 11 msecs
ModifyNode (vtkMRMLModelHierarchyNode3) took 10 msecs
ModifyNode (vtkMRMLModelStorageNode1) took 4 msecs
AddNode (vtkMRMLModelNode302) took 31 msecs
Layout (3) took 66 msecs
Layout (2) took 20 msecs
Layout (3) took 53 msecs
Layout (2) took 19 msecs
RestoreSceneView (vtkMRMLSceneViewNode15) took 2730 msecs
RestoreSceneView (vtkMRMLSceneViewNode15) took 1556 msecs

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21582 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Speed-up vtkMRMLScene references

Issue #2642

Example of performance on a MacBookPro laptop:
AddData (BrainAtlas2012.mrb) took 30911 msecs
CloseScene () took 21943 msecs
CloseScene () took 76 msecs
AddData (BrainAtlas2012.mrb) took 29535 msecs
ModifyNode (vtkMRMLScalarVolumeNode1) took 4 msecs
ModifyNode (vtkMRMLScalarVolumeNode2) took 25 msecs
ModifyNode (vtkMRMLScalarVolumeDisplayNode2) took 23 msecs
ModifyNode (vtkMRMLScalarVolumeNode3) took 15 msecs
ModifyNode (vtkMRMLModelHierarchyNode2) took 10 msecs
ModifyNode (vtkMRMLModelNode4) took 0 msecs
ModifyNode (vtkMRMLModelDisplayNode5) took 11 msecs
ModifyNode (vtkMRMLModelHierarchyNode3) took 11 msecs
ModifyNode (vtkMRMLModelStorageNode1) took 5 msecs
AddNode (vtkMRMLModelNode302) took 31 msecs
Layout (3) took 9 msecs
Layout (2) took 27 msecs
Layout (3) took 50 msecs
RestoreSceneView (vtkMRMLSceneViewNode15) took 2701 msecs
RestoreSceneView (vtkMRMLSceneViewNode15) took 1542 msecs

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21583 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: colortable now is not possible to select when not appropriate

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21584 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed bug 2746, cleaned header file

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21585 3bd1e089-480b-0410-8dfb-8563597acbee