ENH: adding a test and null pointer checking

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17580 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: instantiate the model hierarchy logic so that can use it to deal with expanded/collapsed hierarchies. Fixed typo in a method name

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17581 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: enable adding hierarchy nodes via right click, listen for expand/collapse to adjust the Expanded variable on hierarchy nodes, generalise the model display node widget to work with the model display nodes associated with hierarchy nodes. TODO: missing some collapsed events on create/drop.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17582 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: don't set the fiducial node name from the text, as the text can be multiple lines long and contain any characters, and is also used for the file name in the storage node

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17583 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: put CTK includes between Qt includes and qMRML includes (all Qt code must be included before STD includes)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17584 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: rename setMRMLNode to setMRMLModelOrHierarchyNode

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17585 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: request from Ron to adjust the default colours to (0-255 based) unselect: 188, 65, 28, select:  68, 172, 100

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17586 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Annotations: Preparation for "Super"-Attributes on the MRMLAnnotationDisplayNode which get propagated to all other displayNodes of the associated displayableNode.

 * Idea behind is to be able to set the display properties (colors etc.) for an annotation with one click for points, lines and text
 * The settings than overwrite the attributes of the point-, line- and text displayNodes (each annotation has 3 three displayNodes now)
 * In the future each Annotation will have another displayNode additional to the three which enables the propagation of colors
 * Also submitted an associated test



git-svn-id: http://svn.slicer.org/Slicer4/trunk@17587 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add variable CTEST_PARALLEL_LEVEL (default: 8)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17588 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: qSlicerCLIModuleWidget - Add currentCommandLineModuleNode() method

* This method will allow to easily retrieve the
command line module node associated with a given CLI module.

* Doing so could reveal particularly useful when building workflow
involving multiple CLI module.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17589 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Missing include for FloatingPointExceptions

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17590 3bd1e089-480b-0410-8dfb-8563597acbee
ENH:  Added ExtractImageFilter Strategy

ITKv4 requires that the ExtractImageFilter
define the collapse strategy to be used.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17591 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Made compilation compatible with ITKv4

Use of Rigid3DTransform in Slicer was not
following the intended use of the class, and
it was possible that the use was not safe.

In many cases the intended behavior (and
more correct use) is to use the base class
to gain access to the polymorphic
member functions.

This patch implements the proposed changes
outlined by Luis Ibanez on the ITKv4
developer mailing list:

http://www.itk.org/mailman/private/insight-developers/2011-January/016720.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17592 3bd1e089-480b-0410-8dfb-8563597acbee
ENH:  An ITKv3.18 or earlier workaround removed

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17593 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Improved N4 error checking.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17594 3bd1e089-480b-0410-8dfb-8563597acbee
ENH:  N4 base classes are now part of ITKv4

This patch set changes the file names so that the
local ITKv3 versions do not hide the ITKv4 versions of
the files that have numerous bug fixes and documentation
enhancements.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17595 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add option to build slicer with ITKv4.

A new external package was created for building
with ITKv4.  A few code modificaitons were
required to get this to build with
the 4.0.alpha07 release of ITKv4.

The default is to use ITKv3.20.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17596 3bd1e089-480b-0410-8dfb-8563597acbee
ENH:  Updated ITKv4 build parameters.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17597 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Typo in includes of N4ITKBiasFieldCorrection

Fix for operating systems that enforce casing of file paths.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@17598 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Use popup to hide details in Slice controller widget

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