ENH: Changed vtkWarningMacro for vtkDebugMacro in Tractographies

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20374 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add "Compress" option for saving MRML nodes

Some nodes might not support the "Compress" option.

Closes #986

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20375 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Save images as JPEG

the itk JPEGImageIO doesn't support 3D images but 2D only.
The direction matrix is ignored in 2D because I wasn't sure what elements
of the 3D matrix to use in the 2D matrix.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20376 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Add verbosity to vtkITKImageWriter and cleanup

Report ITK exceptions when they occur, the error messages are helpful.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20377 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix multiple inheritance compilation error with gcc

In file included from
/home/gsharp/build/slicer-4/Slicer4/Base/QTGUI/qSlicerFileDialog.cxx:32:0:
/home/gsharp/build/slicer-4/Slicer4/Base/QTGUI/qSlicerIOOptionsWidget.h: In
member function ‘qSlicerIOOptionsPrivate* qSlicerIOOptionsWidget::d_func()’:
/home/gsharp/build/slicer-4/Slicer4/Base/QTGUI/qSlicerIOOptionsWidget.h:52:3:
error: reference to ‘d_ptr’ is ambiguous

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20378 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix unused variable warnings

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20379 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: RGB images had the wrong default Window/Level

vtkMRMLVectorVolumeDisplayNode::GetScalarImageData() was returning an image with 2 components not 3.
And because the image had only 2 components, CalculateAutoWindowLevel was analyzing the image to find its min and max instead of using a standard range of [0, 255] for RGB images.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20380 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Don't rebuild pipeline if not needed in Vector display node

the AppendComponents filter was correctly configured in the constructor,
there is no need to reset it anytime the input of its inputs is changed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20381 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: remove non-portable include to fix compile errors on windows


git-svn-id: http://svn.slicer.org/Slicer4/trunk@20382 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Use ITK to read Tensor files enabling the reading of Nifti and all ITK supported formats

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20383 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: changed TractographyLabelMapSeeding so it uses vtkITK instead of NRRD reader for the input files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20384 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: ExtractRepositoryInfo - Remove CVS requirement because its support is not implemented.

Doing so will also prevent build error happening when CVS is not available.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20385 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Reorganized the interface of the Tractography Labelmap Seeding to make it simpler

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20386 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Updated Tractography Labelmap Seeding to be able to output VTK as well as VTP files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20387 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Fixed ProveVolumeWithModel so it can read .vtk as well as .vtp model files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20388 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: vtkITKArchetype*Reader* now use templated function instead of macros

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20389 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Incorporating Julien's suggestions regarding code quality

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20390 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Missing typename keyword for gcc compiler

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20391 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Unused variable warning in vtkMRMLFreeSurferModelOverlayStorageNode

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20392 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Slicer CLIs can now be built using SEMMacroBuildCLI macro

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