COMP: remove compiler warning of signed unsigned comparison

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21654 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: remove signed unsigned comparison compiler warning

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21655 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: removing compiler warnings for release builds as well as unused vars

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21656 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: adjust hidden flag on model hierarchy nodes to get back to previous behaviour

Libs/MRML/Core/vtkMRMLModelHierarchyNode.cxx - set hide from editors to false as a default
Modules/Loadable/Models/Resources/UI/qSlicerModelsModuleWidget.ui - set showHidden to false
Modules/Loadable/Models/qSlicerModelsModuleWidget.cxx - take out call to setShowHiddenForTypes
Libs/MRML/Widgets/qMRMLSceneHierarchyModel.cxx - set hidden true on new 1:1 hierarchy nodes
Modules/CLI/ModelMaker/ModelMaker.cxx - ditto
Base/QTCLI/qSlicerCLIModuleUIHelper.cxx - set show hidden to false and setting the node type by directly checking multiple and aggregate.

Issue #2906



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21657 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: 2 Channel Segmentation added

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21658 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix copy/paste error from fixing compiler warning

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21659 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Prevent extensions from being loaded twice when "Install" tab initially hidden

For details: https://github.com/midasplatform/slicerappstore/pull/36

See http://na-mic.org/Mantis/view.php?id=2911

Fixes #2911

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21660 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Document qMRMLSortFilterProxyModel optimization changes

See r21586

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21661 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: allow .bat files to be used as command line modules (issue #2039)

This way people can write simple wrapper scripts on windows
for other executable types, such as matlab scripts.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21662 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: improve reporting for --verbose-module-discovery

This adds extra information that is helpful for debugging
module discovery.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21663 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: restore waitForImportFinished API (no-op) for dicom indexer

See:
https://github.com/commontk/CTK/commit/ac7cf1665a8c8581998476a11778f78dfcedc4d9

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21664 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: extend the model maker to take a template model hierarchy as an argument.

Also added a test, and adjusted the testing to use different mrml files 
per test as the new test is going to modify the mrml file.

If the model maker is passed a template model hierarchy scene file that
has model hierarchies with the same names as the colors used in the
input label map volume color node, the output models are placed in the 
hierarchy as associated nodes. The 1:1 hierarchy nodes are set hidden 
as it will be easier for a user to create a template hierarchy in the Models
GUI with all the nodes not hidden from editors.

Leaving this an an advanced option hidden under the Debug panel until further 
user testing can be done and more templates provided. To use this feature, one
currently needs to craft hierarchies by hand in the Models GUI, save the scene,
then edit the mrml file to remove scene views and other unneccessary 
mrml nodes. The plan is to provide templates for the most used color
tables that Slicer provides in the Base/Logic/Resources/ColorFiles 
directory.


From work at the 2013 winter project week
http://wiki.na-mic.org/Wiki/index.php/2013_Project_Week:ColorHierarchies



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21665 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: use boolean operator rather than bitwise to remove a windows build warning

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21666 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Change slicer_external_update to ${PROJECT_NAME}_EP_UPDATE_IF_GREATER_288

The new variable name better represents the intent of this variable
and it is more appropriate for the many other non-slicer
projects that use derivatives of these External_*.cmake
files.

Contributed by Hans Johnson

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21667 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix the self-test registration for tractography tests

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21668 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update "External_python_unix.cmake" to comply if changes introduced in r21667

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21669 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add buttons to show/hide all models. Issue #2576

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21670 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: On MacOSX, force bundling of ITKv3 IOReview library to ensure proper loading of extension

Thanks to Csaba Pinter for testing that the patch worked as expected.

See http://slicer-devel.65872.n3.nabble.com/ITK-lib-missing-from-Mac-Slicer-package-needed-for-Plastimatch-tt4027274.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21671 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: prevent crash reported in #2925 - missing annotation point

The fiducials did not load correctly so no coordinate exists.

The underling question of why the fiducials do not correctly
load from that scene is not resolved.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21672 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix the detection of models with extensions orig and inflated.

The concatenated string list was mushing the two extensions together and
they were not being detected on loading data. 

Issue #2924


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