ENH: return the number of seeds used in the initialization


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21724 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix missing "itkFactoryRegistrationConfigure.h" build error

This will fix build errors of the form:

../ITKFactoryRegistration/itkFactoryRegistration.h:6:45: error: itkFactoryRegistrationConfigure.h: No such file or directory
../Libs/MRML/Logic/Testing/Cxx/vtkMRMLSliceLogicTest2.cxx:49:
../Libs/ITKFactoryRegistration/itkFactoryRegistration.h:10: error: expected constructor, destructor, or type conversion before 'void'
../Libs/MRML/Logic/Testing/Cxx/vtkMRMLSliceLogicTest2.cxx: In function 'int vtkMRMLSliceLogicTest2(int, char**)':
../Libs/MRML/Logic/Testing/Cxx/vtkMRMLSliceLogicTest2.cxx:56: error: 'itkFactoryRegistration' is not a member of 'itk'


Follow-up of commit r21723

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21725 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove IGT references from Libs/CMakeLists.txt

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21726 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Add experimental support for Qt 4.8.4

The build system now checks with the discovered Qt version is either
Qt 4.7.4 or Qt 4.8.4.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21727 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unused IGT library

For reference, the associated code has been extracted and pushed into
its own repository. See https://github.com/Slicer/IGT

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21728 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Associate license file with installer/package

Since commit r21550 (Add support for external projects passed as
configuration parameter), most of CPack variable can be overridden
when building an application that depends on Slicer as a "framework".

While establishing the indirection, a typo as been introduced and the wrong
variable name was used. This commit restore the appropriate behavior.

See http://na-mic.org/Bug/view.php?id=2961
Fixes #2961

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21729 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Remove OPTIMIZED warnings from ExpertAutomatedRegistration.

The optimized version were merged in from review as the default
for ITKv4.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21730 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Add INCLUDE_DIRS associated with specific Slicer libs to SlicerConfig

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21731 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove now optional LINK_DIRECTORIES param passed to SEMMacroBuildCLI

Within a same CMake project, a CMake target embeds information like
the link directory and it is not required to explicitly set the link
directories.

From the CMake documentation [1], "this command is rarely necessary.
Library locations returned by find_package() and find_library() are
absolute paths. Pass these absolute library file paths directly to
the target_link_libraries() command. CMake will ensure the linker
finds them."

The same apply for dependening project like SlicerExecutionModel.
Indeed, since SlicerExecutionModel commit fdb7e28b, targets are exported
and it is not required to explicitly specify the link directories to link
against ModuleDescriptionParser library.

Same explanation apply for vtkTeem and MRML Libraries. The associated
targets are exported since Slicer r16490 and the library are already CMake
targets.

Also remove reference to an unset variable "MRML_LIB_DIR" originally
introduced by r3886 where it was used without being set.

[1] http://www.cmake.org/cmake/help/v2.8.10/cmake.html#command:link_directories

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21732 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unneeded "SlicerBaseLogic" dependency from DWIToDTIEstimation module

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21733 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unneeded "SlicerBaseLogic" dependency from "DiffusionTensorScalarMeasurements" module

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21734 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Fix indent and re-organize includes in "DiffusionWeightedVolumeMasking" module

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21735 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unneeded "SlicerBaseLogic" dependency from "ProbeVolumeWithModel" module

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21736 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Change CLI test launch command to "SEM_LAUNCH_COMMAND"

Since the idea is to decouple the CLI build code from Slicer related
variables so that module could easily be built outside of Slicer, let's
use "SEM_LAUNCH_COMMAND" instead of "Slicer_LAUNCH_COMMAND"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21737 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Simplify CMakeLists associated with Annotations, Models and Volumes testing

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21738 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unused class "Base/Logic/vtkSlicerIGTDemoLogic"

This class has originally been added with Slicer r1840  (back in 2006) and
was first used by vtkSlicerIGTDemoGUI added at r1843. Then, at r4954 the
GUI classes have been removed while keeping around the Logic.

Afterward, considering that (1) logic class hasn't been used anywhere
and (2) wasn't build. It's is safe to remove this class.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21739 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: give annotations option to be visible only in selected views

This uses the same convention used in dislay nodes for other
displayable managers (e.g. VolumeRendering), except that it uses the
sliceNode since it is the 2D analog to the 3D view Node (at some point
perhaps there should be a generic superclass).  Here, since we are only
using the ID string it doesn't matter what type the node it.

This feature allows custom UIs, for example where some annotations only
show up in one view while others show up everywher.  In particular, this
is helpful for annotations representing volume-specific anatomical
landmark locations.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21740 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: update dataprobe even when mousing over annotation

Increase the priority to get all events, even if they will later
be used by another observer.  Also be sure to observe the interactor
rather than the interactor style so the priority will work with
respect to widgets which observe the interactor itself.  The
interactor style is observing the interactor so this is the same
for the purposes of the data probe.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21741 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix ExpertAutomatedRegistration shadowing typedef.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21742 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Ensure relaxed Qt version checking works for extension

Commit 21727 introduced the variable Slicer_EXPERIMENTAL_QT_VERSION, the
problem was that the variable wasn't added to SlicerConfig, this was causing
problem with the macro checking qt version within extension.

Thanks to Matt McCormick for reporting the issue.

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