ENH: Remove unused and outdated tcl scripts.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23688 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove unused code from vtkSeedTracts

Extent from the input tensor field was not used.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23689 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Re-organize tractography seeding pipeline to work with VTK6. See #3845

This commit fixes pipeline incorrectly setup in r23121 by using output
port instead pipeline information (InputROIPipelineInfo)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23690 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove commented code from Tractography seeding modules

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23691 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Do not set workaround to associate scalar with input tensor field.

This is not required when using VTK6.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23692 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Simplify Diffusion tensor reader using FindPoint with both VTK 5 and 6

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23693 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix return value in diffusion tensor reader "RequestData()"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23694 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Update diffusion tensor reader to force origin/spacing. Fixes #3845

This commit fixes a regression introduced in r23122 and forces the
origin/spacing for VTK 6 similarly to what was done for VTK 5.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23695 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #3847 create subseries based on image orientation in DICOM

Because the image orientation patient value can include a
comma, the logic to track the distinct values in a collection
of files failed to recognize different orientation values.
This led the only available loading option in slicer being one
with a mix of orientations, leading to incorrect geometry.
This fix allows the plugin to generate independent loadables
for each orientation, thus removing the incorrect behavior.

The issue remains that the loadable with the geometry warning
is still the highest confidence loadable which could lead
to errors.  Will address that independently.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23696 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: improve dicom warning and tooltip for loadables

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23697 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Use vtkNew in vtkSeedTract/vtkDiffusionTensorGlyph/...

This commit simplifies code using vtkNew where it makes sense.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23698 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Simplify vtkSeedTracts::TransformStreamlinesToRASAndAppendToPolyData

This commit updates the function to use vtkNew and simplifies the code
by removing redundant calls.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23699 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Simplify vtkMRMLFiberBundleNode::Add(Line/Tube/Glyph)DisplayNode methods

This commit update the functions Add(Line/Tube/Glyph)DisplayNode methods
to return null if no scene has been set. Doing so will prevent memory leak
ensuring new node are always added to the scene.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23700 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Relocate numpy and teem source archives onto slicer.kitware.com

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23701 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Create zip archive and move tcl binaries onto slicer.kitware.com

This should help address issue preventing binaries from being downloaded
on some version of Windows. The error reported was:

// -----------
1>------ Build started: Project: tcl, Configuration: Release x64 ------

1>Performing download step (SVN checkout) for 'tcl'

1>svn: E175002: Unable to connect to a repository at URL 'http://svn.slicer.org/Slicer3-lib-mirrors/trunk/Binaries/Windows/tcl85-x64-build'

1>svn: E175002: Unexpected HTTP status 413 'Request Entity Too Large' on '/Slicer3-lib-mirrors/trunk/Binaries/Windows/tcl85-x64-build'

1>Project : error PRJ0019: A tool returned an error code from "Performing download step (SVN checkout) for 'tcl'"

1>Build log was saved at "file://c:\build\s3d\tcl.dir\Release\BuildLog.htm"
// --------------

For more details, see http://slicer-devel.65872.n3.nabble.com/SVN-TCL-donwload-issue-tt4032460.html

Thanks to "Bradley Lowekamp <blowekamp@mail.nih.gov>" for reporting the problem.

Solution suggested by "Steve Pieper <pieper@bwh.harvard.edu>"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23702 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Simplify RegisterNodes implementation in Markups and Annotation logic

This commit updates the code to use smart pointer.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23703 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Update EMSegment - Do not display warning when setting a null scene.

Before this commit, setting an null scene on the EMSegent widgets was
outputting the following:

335: Warning: In /path/to/EMSegment/vtkEMSegmentLogic.cxx, line 400
335: vtkEMSegmentLogic (0x4d35da0): InitializeEventListeners: no scene to listen to!
335:
335: Warning: In /path/to/EMSegment/vtkEMSegmentLogic.cxx, line 400
335: vtkEMSegmentLogic (0x4d264c0): InitializeEventListeners: no scene to listen to!

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23704 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix crash when setting null scene on Markups widget.

This commit re-organizes the code associate with function
"onActiveMarkupMRMLNodeChanged" to prevent a crash and avoid displaying
warnings when setting a null scene.

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