Changesets: Import 2017-06-07 23:51:09
master fcf3e638 2014-05-13 13:42:43 mwoehlke Details Diff |
BUG: Fix extension manager item sizing Refactor qSlicerExtensionsDescriptionLabel to manage the text internally as our own QTextDocument instance, and to do the painting ourselves. This gives us greater control over the painting with less work, and greatly simplifies producing a correct size hint, since we can just ask the document for its size and get a correct answer regardless of formatting, rather than trying to compute it ourselves from font metrics. Now that we have a reasonable size hint, also use it to set the item size hint, which ensures that the items are sufficiently tall e.g. in case of the extra text line when an extension is incompatible. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23167 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTGUI/qSlicerExtensionsManageWidget.cxx | Diff File | ||
master 117a278a 2014-05-13 13:42:42 mwoehlke Details Diff |
ENH: Initial work refactoring extension manager After a losing battle trying to make the tree widget not use half the space for the buttons, replace it with a list widget. Change the buttons to have a stacked layout without enforced horizontal size, which gives much more space to the extension text, add some padding so the icons aren't so tight against each other, and increase the font size of the extension name. Also, replace the random clipart icons with our own. NOTE: Minimum size for the list items is not working correctly at the moment. The text rendering needs some additional refactoring in order to provide a correct minimum size, and a size hint needs to be set explicitly on the list items. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23166 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTGUI/CMakeLists.txt | Diff File | ||
add - Base/QTGUI/Resources/Icons/ExtensionError.svg | Diff File | ||
add - Base/QTGUI/Resources/Icons/ExtensionIncompatible.svg | Diff File | ||
rm - Base/QTGUI/Resources/Icons/gtk-dialog-warning.png | Diff File | ||
rm - Base/QTGUI/Resources/Icons/warning-17.png | Diff File | ||
mod - Base/QTGUI/Resources/UI/qSlicerExtensionsButtonBox.ui | Diff File | ||
rm - Base/QTGUI/Resources/UI/qSlicerExtensionsManageWidget.ui | Diff File | ||
mod - Base/QTGUI/Resources/qSlicerBaseQTGUI.qrc | Diff File | ||
mod - Base/QTGUI/qSlicerExtensionsInstallWidget.cxx | Diff File | ||
mod - Base/QTGUI/qSlicerExtensionsManageWidget.cxx | Diff File | ||
mod - Base/QTGUI/qSlicerExtensionsManageWidget.h | Diff File | ||
master 88bdb93f 2014-05-13 13:42:40 mwoehlke Details Diff |
STYLE: Remove non-existing qrc reference Remove odd relative path reference to a .qrc file in a ".designer" directory, that is not part of the repository and likely does not exist on most machines. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23165 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Applications/SlicerApp/Resources/UI/qSlicerAppAboutDialog.ui | Diff File | ||
master b28b8dcf 2014-05-13 13:31:48 mwoehlke Details Diff |
COMP: Fix build errors with VTK6 Fix two minor compile errors in VTK6 conditional branch of qSlicerSceneViewsModuleWidget, that were introduced in r23160. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23164 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Modules/Loadable/SceneViews/GUI/qSlicerSceneViewsModuleWidget.cxx | Diff File | ||
master 61a025f0 2014-05-13 13:14:47 Details Diff |
COMP: Associate extension package name with the date of the last commit. A similar problem was occurring while building the Slicer core and has been fixed by r20028[1]. The associated issues were 0001974 [2] and 0001973 [3]. This commit associate to the package name the date of the latest commit associated with the extension source repository. In case no repository has been associated with the extension, the date "0000-00-00" will be considered. Thanks to "Chenxi Zhang <chenxizhang@fudan.edu.cn>" for reporting the problem. Associated discussion: http://slicer-devel.65872.n3.nabble.com/Problem-in-building-a-extension-tp4029816p4029857.html Fixes 0003356 [1] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=20028 [2] http://www.na-mic.org/Bug/view.php?id=1973 [3] http://www.na-mic.org/Bug/view.php?id=1974 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23163 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - CMake/SlicerExtensionCPack.cmake | Diff File | ||
mod - CMake/SlicerMacroExtractRepositoryInfo.cmake | Diff File | ||
master 02a95730 2014-05-13 13:14:44 Details Diff |
ENH: GIT_WC_INFO with date support for git only repository To allow the date to be extracted from git only repository, the macro "GIT_WC_INFO" has been extended to extract the commit date of the last change. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23162 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - CMake/FindGit.cmake | Diff File | ||
master f675265f 2014-05-13 12:23:49 naucoin Details Diff |
COMP: remove unused variable warnings Remove unused variables or mark as unused parameters in the scene views module update. Issue 0001299 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23161 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Widgets/qMRMLExpandingWebView.cxx | Diff File | ||
mod - Modules/Loadable/SceneViews/GUI/qSlicerSceneViewsModuleWidget.cxx | Diff File | ||
mod - Modules/Loadable/SceneViews/Logic/vtkSlicerSceneViewsModuleLogic.cxx | Diff File | ||
master fb0da667 2014-05-13 11:30:42 naucoin Details Diff |
ENH: html facelift for SceneViews Implemented a Qt web view and populated it with HTML to allow viewing, editing, restoring, creating scene views with the layout requested. The scene view thumbnail is being written to disk in a temp dir. To get the Edit, Delete, Restore and Capture funtionality I'm capturing the clicks on the links and parsing specially formatted urls (Edit/Restore/Delete mrmlNodeID/Create) Clear out the temp files on scene close and clear the memory cache, now don't have to write them out all the time. Resize the images before writing to disk so that the web view doesn't have to handle resizing. Added in support for VTK6 Created new MRML web view based on the qMRMLChartView. It allows better resizing (returns an invalid size hint, sets size policy to expanding/expanding) so that the web view doesn't keep getting reset to width = 800. Added a plug in for the designer. Save and restore the scroll position so user goes back to the scene view node that they were previously viewing after adding a new scene view. Running on a mac, you can't see the scroll bar on the data store page nor on the scene views module widget, but it is visible on a linux build. You can scroll using the trackpad and it is consistent, so only show the scroll bar as needed. The dialog superclass disables capturing a new thumbnail on review/edit so don't resave the thumbnail type nor the image data. Issue 0001299 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23160 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Widgets/CMakeLists.txt | Diff File | ||
mod - Libs/MRML/Widgets/DesignerPlugins/CMakeLists.txt | Diff File | ||
add - Libs/MRML/Widgets/DesignerPlugins/qMRMLExpandingWebViewPlugin.cxx | Diff File | ||
add - Libs/MRML/Widgets/DesignerPlugins/qMRMLExpandingWebViewPlugin.h | Diff File | ||
mod - Libs/MRML/Widgets/DesignerPlugins/qMRMLWidgetsPlugin.h | Diff File | ||
add - Libs/MRML/Widgets/qMRMLExpandingWebView.cxx | Diff File | ||
add - Libs/MRML/Widgets/qMRMLExpandingWebView.h | Diff File | ||
add - Libs/MRML/Widgets/qMRMLExpandingWebView_p.h | Diff File | ||
mod - Modules/Loadable/SceneViews/CMakeLists.txt | Diff File | ||
rm - Modules/Loadable/SceneViews/GUI/qMRMLSceneViewsModel.cxx | Diff File | ||
rm - Modules/Loadable/SceneViews/GUI/qMRMLSceneViewsModel.h | Diff File | ||
rm - Modules/Loadable/SceneViews/GUI/qMRMLSceneViewsTreeView.cxx | Diff File | ||
rm - Modules/Loadable/SceneViews/GUI/qMRMLSceneViewsTreeView.h | Diff File | ||
mod - Modules/Loadable/SceneViews/GUI/qSlicerSceneViewsModuleWidget.cxx | Diff File | ||
mod - Modules/Loadable/SceneViews/GUI/qSlicerSceneViewsModuleWidget.h | Diff File | ||
mod - Modules/Loadable/SceneViews/Logic/vtkSlicerSceneViewsModuleLogic.cxx | Diff File | ||
mod - Modules/Loadable/SceneViews/Logic/vtkSlicerSceneViewsModuleLogic.h | Diff File | ||
mod - Modules/Loadable/SceneViews/Resources/UI/qSlicerSceneViewsModuleWidget.ui | Diff File | ||
mod - Modules/Loadable/SceneViews/qSlicerSceneViewsModule.cxx | Diff File | ||
master 0c151a5d 2014-05-13 04:52:13 Details Diff |
BUG: Restore color image support in OpenIGTLinkIF. Fixes 0003685 From: Junichi Tokuda <tokuda@bwh.harvard.edu> git-svn-id: http://svn.slicer.org/Slicer4/trunk@23159 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild.cmake | Diff File | ||
master deb57c4f 2014-05-13 03:07:08 Details Diff |
ENH: Reduce package size by not installing export libraries. Fixes 0002397 This commit explicitly installs the needed component and skips the development component if not explicitly requested. Since on DLL platform, export libraries (.lib) are considered as archive [1] and are associated with the development component, they won't be installed in the package. [1] http://www.cmake.org/cmake/help/v2.8.12/cmake.html#command:install git-svn-id: http://svn.slicer.org/Slicer4/trunk@23158 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - CMake/SlicerCPack.cmake | Diff File | ||
master f4ad4b24 2014-05-13 03:07:05 Details Diff |
ENH: Associate component with all install rules. Related to 0002397 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23157 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - CMake/SlicerCPack.cmake | Diff File | ||
mod - CMake/SlicerMacroTranslation.cmake | Diff File | ||
mod - Modules/CLI/BatchMakeApplications/CMakeLists.txt | Diff File | ||
mod - Modules/CLI/BatchMakeApplications/DiffusionTensorEstimationBatchMakeModule/CMakeLists.txt | Diff File | ||
mod - Modules/CLI/BatchMakeApplications/EMSegmentBatchMakeModule/CMakeLists.txt | Diff File | ||
mod - Modules/CLI/BatchMakeApplications/GaussianBlurBatchMakeModule/CMakeLists.txt | Diff File | ||
mod - Modules/CLI/BatchMakeApplications/RegisterImagesBatchMakeModule/CMakeLists.txt | Diff File | ||
mod - Modules/CLI/BatchMakeApplications/ResampleVolumeBatchMakeModule/CMakeLists.txt | Diff File | ||
master 7e208be7 2014-05-13 01:07:19 Details Diff |
COMP: Fixed linux warnings git-svn-id: http://svn.slicer.org/Slicer4/trunk@23156 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/Testing/vtkOrientedBSplineTransformTest1.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx | Diff File | ||
master 22262b98 2014-05-13 00:35:28 Details Diff |
COMP: Fix narrowing warnings in vtkMRMLTransformStorageNode This commit fixes the following warnings: /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx: In instantiation of ‘bool SetVTKBSplineFromITK(vtkObject*, vtkOrientedBSplineTransform*, itk::TransformBaseTemplate<double>::Pointer, itk::TransformBaseTemplate<double>::Pointer) [with T = double; itk::TransformBaseTemplate<double>::Pointer = itk::SmartPointer<itk::TransformBaseTemplate<double> >]’: /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:611:88: required from here /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:316:108: warning: narrowing conversion of ‘(& transformFixedParamsItk)->itk::OptimizerParameters<double>::<anonymous>.itk::Array<double>::<anonymous>.vnl_vector<T>::operator[]<double>(0u)’ from ‘const double’ to ‘const int’ inside { } is ill-formed in C++11 [-Wnarrowing] const int gridSize[3]={transformFixedParamsItk[0], transformFixedParamsItk[1], transformFixedParamsItk[2]}; ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:316:108: warning: narrowing conversion of ‘(& transformFixedParamsItk)->itk::OptimizerParameters<double>::<anonymous>.itk::Array<double>::<anonymous>.vnl_vector<T>::operator[]<double>(1u)’ from ‘const double’ to ‘const int’ inside { } is ill-formed in C++11 [-Wnarrowing] /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:316:108: warning: narrowing conversion of ‘(& transformFixedParamsItk)->itk::OptimizerParameters<double>::<anonymous>.itk::Array<double>::<anonymous>.vnl_vector<T>::operator[]<double>(2u)’ from ‘const double’ to ‘const int’ inside { } is ill-formed in C++11 [-Wnarrowing] /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:396:12: warning: unused variable ‘linear’ [-Wunused-variable] double linear[VTKDimension][VTKDimension] = { {1,0,0}, {0,1,0}, {0,0,1}}; ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:397:12: warning: unused variable ‘offset’ [-Wunused-variable] double offset[VTKDimension] = {0,0,0}; ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx: In instantiation of ‘bool SetVTKBSplineFromITK(vtkObject*, vtkOrientedBSplineTransform*, itk::TransformBaseTemplate<double>::Pointer, itk::TransformBaseTemplate<double>::Pointer) [with T = float; itk::TransformBaseTemplate<double>::Pointer = itk::SmartPointer<itk::TransformBaseTemplate<double> >]’: /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:612:88: required from here /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:316:108: warning: narrowing conversion of ‘(& transformFixedParamsItk)->itk::OptimizerParameters<float>::<anonymous>.itk::Array<float>::<anonymous>.vnl_vector<T>::operator[]<float>(0u)’ from ‘const float’ to ‘const int’ inside { } is ill-formed in C++11 [-Wnarrowing] const int gridSize[3]={transformFixedParamsItk[0], transformFixedParamsItk[1], transformFixedParamsItk[2]}; ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:316:108: warning: narrowing conversion of ‘(& transformFixedParamsItk)->itk::OptimizerParameters<float>::<anonymous>.itk::Array<float>::<anonymous>.vnl_vector<T>::operator[]<float>(1u)’ from ‘const float’ to ‘const int’ inside { } is ill-formed in C++11 [-Wnarrowing] /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:316:108: warning: narrowing conversion of ‘(& transformFixedParamsItk)->itk::OptimizerParameters<float>::<anonymous>.itk::Array<float>::<anonymous>.vnl_vector<T>::operator[]<float>(2u)’ from ‘const float’ to ‘const int’ inside { } is ill-formed in C++11 [-Wnarrowing] git-svn-id: http://svn.slicer.org/Slicer4/trunk@23155 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx | Diff File | ||
master 0364c44f 2014-05-13 00:32:12 Details Diff |
COMP: Fix unused variable warnings in vtkMRMLTransformStorageNode This commit fixes the following warnings: /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:396:12: warning: unused variable ‘linear’ [-Wunused-variable] double linear[VTKDimension][VTKDimension] = { {1,0,0}, {0,1,0}, {0,0,1}}; ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:397:12: warning: unused variable ‘offset’ [-Wunused-variable] double offset[VTKDimension] = {0,0,0}; git-svn-id: http://svn.slicer.org/Slicer4/trunk@23154 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx | Diff File | ||
master fb430051 2014-05-13 00:28:31 Details Diff |
COMP: Fix build error occurring with gcc >= 4.8 This commit fixes the following build error introduced by commit r23148: /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx: In function ‘bool SetVTKBSplineFromITK(vtkObject*, vtkOrientedBSplineTransform*, itk::TransformBaseTemplate<double>::Pointer, itk::TransformBaseTemplate<double>::Pointer)’: /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:394:14: error: expected nested-name-specifier before ‘BulkTransformType’ typename BulkTransformType* bulkItkAffine = dynamic_cast<BulkTransformType*> (bulkTransformItk.GetPointer()); ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:394:14: error: expected ‘(’ before ‘BulkTransformType’ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:394:14: error: expected ‘;’ before ‘BulkTransformType’ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:395:14: error: expected nested-name-specifier before ‘IdentityBulkTransformType’ typename IdentityBulkTransformType* bulkItkIdentity = dynamic_cast<IdentityBulkTransformType*> (bulkTransformItk.GetPointer()); ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:395:14: error: expected ‘(’ before ‘IdentityBulkTransformType’ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:395:14: error: expected ‘;’ before ‘IdentityBulkTransformType’ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:398:9: error: ‘bulkItkAffine’ was not declared in this scope if (bulkItkAffine) ^ /path/to/Slicer/Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx:414:14: error: ‘bulkItkIdentity’ was not declared in this scope else if (bulkItkIdentity) git-svn-id: http://svn.slicer.org/Slicer4/trunk@23153 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx | Diff File | ||
master 2f531ebc 2014-05-12 23:52:15 Details Diff |
COMP: Simplify MRML Scene API removing "Edited()" method. Fixes 0003472 For sake of consistency, remove Edited method. Indeed, this was the only event triggered using this approach and it was not observed. For reference, this method was first introduced by commit r7727. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23152 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTCLI/vtkSlicerCLIModuleLogic.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLScene.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLScene.h | Diff File | ||
mod - Libs/MRML/Widgets/qMRMLEventLogger.cxx | Diff File | ||
mod - Libs/MRML/Widgets/qMRMLEventLogger.h | Diff File | ||
mod - Libs/MRML/Widgets/qMRMLEventLoggerWidget.cxx | Diff File | ||
mod - Libs/MRML/Widgets/qMRMLEventLoggerWidget.h | Diff File | ||
mod - SuperBuild.cmake | Diff File | ||
master 5da28a42 2014-05-12 23:44:09 Details Diff |
COMP: Fixed vtkOrientedBSplineTransform build with VTK6 Also added test for single-precision point transform computation in vtkOrientedBSplineTransform. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23151 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/Testing/vtkOrientedBSplineTransformTest1.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLTransformNode.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkOrientedBSplineTransform.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkOrientedBSplineTransform.h | Diff File | ||
master 9cbc4533 2014-05-12 23:29:59 Details Diff |
COMP: Avoid unnecessary recompilation on MacOSX. Fixes 0002583 This has been discussed with the CMake folks. A small example [1] allowing to reproduce the problem has been provided and the solution is to use the option "CMAKE_BUILD_WITH_INSTALL_RPATH" to build the python project. Note that this fix is not required for zlib and curl project because the associated library is built statically and is not updated at install time. 8<----8<----8<----8<----8<----8<----8<----8<----8<---- From Brad King - April 24, 2014: It's due to the install_name_tool used to update the binary on installation. The cmake_install.cmake file contains: execute_process(COMMAND "/usr/bin/install_name_tool" -id "libfoo.dylib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfoo.dylib") If you build with -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON then no install-time update will occur. 8<----8<----8<----8<----8<----8<----8<----8<----8<---- [1] https://gist.github.com/jcfr/11233992 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23150 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild/External_python.cmake | Diff File | ||
master 5c220170 2014-05-12 16:22:39 Details Diff |
ENH: Added missing vtkOrientedBSplineTransform files git-svn-id: http://svn.slicer.org/Slicer4/trunk@23149 3bd1e089-480b-0410-8dfb-8563597acbee |
||
add - Libs/MRML/Core/Testing/vtkOrientedBSplineTransformTest1.cxx | Diff File | ||
add - Libs/MRML/Core/vtkOrientedBSplineTransform.cxx | Diff File | ||
add - Libs/MRML/Core/vtkOrientedBSplineTransform.h | Diff File | ||
master 7b3acfa7 2014-05-12 12:42:00 Details Diff |
ENH: Replaced vtkITKBSplineTransform by vtkOrientedBSplineTransform Problem: vtkITKBSplineTransform incorrectly computed the 1. forward derivatives, 2. inverse displacement when there was a bulk transform component and rotated bspline grid, 3. the inverse displacement. Analysis: In the ITK bspline transform no inverse computation is available and in the current ITK bspline version no additive bulk transform is supported (therefore it is not backward-compatible with the old ITK bspline transform), ITK's transform support is very limited (compared to the powerful transform pipelines in VTK), and Slicer already uses VTK transforms (vtkGridTransform), therefore the ITK bspline is not usable in Slicer as is. A bspline transform implementation is available in VTK, which is is efficient and well-tested (and equivalence with ITK's bspline implementation can be proven by testing). Solution: Replaced vtkITKBSplineTransform it with a vtkBSplineTransform-based transform, vtkOrientedBSplineTransform, which extends the original VTK class to handle arbitrarily oriented b-spline grids and supports an additive bulk transform. Added test that verifies the vtkOrientedBSplineTransform's equivalence with the ITK BSpline transform implementation in the whole bspline grid (the differences are less than 1e-10). Added test that verifies the correctness of the inverse and derivative computation. Fixes: http://www.na-mic.org/Bug/view.php?id=3664 http://www.na-mic.org/Bug/view.php?id=3659 http://www.na-mic.org/Bug/view.php?id=3614 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23148 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/CMakeLists.txt | Diff File | ||
mod - Libs/MRML/Core/Testing/CMakeLists.txt | Diff File | ||
mod - Libs/MRML/Core/Testing/vtkMRMLNonlinearTransformNodeTest1.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLBSplineTransformNode.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLTransformNode.cxx | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLTransformNode.h | Diff File | ||
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx | Diff File | ||
mod - Libs/vtkITK/CMakeLists.txt | Diff File | ||
mod - Libs/vtkITK/Testing/CMakeLists.txt | Diff File | ||
rm - Libs/vtkITK/Testing/VTKITKBSplineTransform.cxx | Diff File | ||
rm - Libs/vtkITK/vtkITKBSplineTransform.cxx | Diff File | ||
rm - Libs/vtkITK/vtkITKBSplineTransform.h | Diff File | ||
mod - Modules/Loadable/Transforms/Widgets/qMRMLTransformInfoWidget.cxx | Diff File | ||
master faaa5b9e 2014-05-09 15:18:37 Details Diff |
BUG: 3672. Made Eigenvector to display for lines/tubes glyphs in vtkMRMLDiffusionTensorDisplayPropertiesNode to better map onto UI combo box index git-svn-id: http://svn.slicer.org/Slicer4/trunk@23147 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Core/vtkMRMLDiffusionTensorDisplayPropertiesNode.h | Diff File | ||
master b0f35c06 2014-05-09 12:04:22 mwoehlke Details Diff |
BUG: Replace improperly licensed icons Replace icons which were taking from the Oxygen theme and being used in violation of their license (LGPLv3, which would require us to at minimum be providing the scalable versions) with icons from the Tango theme, instead, which are Public Domain. Note that the statement in r21618 that the icons were licensed under CC-BY-SA 3.0 appears to be incorrect. While that claim is indeed made by Open Icon Library, I was unable to find any evidence to substantiate it, and all other sources (including the canonical kde.org distribution tarball) give LGPLv3 as the only applicable license. See also http://techbase.kde.org/Projects/Oxygen/Licensing, http://commons.wikimedia.org/wiki/Tango_icons and http://en.wikipedia.org/wiki/Tango_Desktop_Project. PNG's copied from tango-icon-theme-0.8.90-6.fc17.noarch. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23146 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTGUI/Resources/Icons/Large/SlicerEditCopy.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Large/SlicerEditCut.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Large/SlicerEditPaste.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Medium/SlicerEditCopy.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Medium/SlicerEditCut.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Medium/SlicerEditPaste.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Small/SlicerEditCopy.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Small/SlicerEditCut.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/Small/SlicerEditPaste.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/XLarge/SlicerEditCopy.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/XLarge/SlicerEditCut.png | Diff File | ||
mod - Base/QTGUI/Resources/Icons/XLarge/SlicerEditPaste.png | Diff File | ||
master 6f660915 2014-05-09 09:16:35 Details Diff |
STYLE: Use demand driven pipeline for VTKv6 in model DM Issue 0003514 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23145 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/DisplayableManager/vtkMRMLModelDisplayableManager.cxx | Diff File | ||
master 1613d995 2014-05-08 15:57:12 Details Diff |
STYLE: Remove error message when loading volume with VTK6 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23144 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - SuperBuild.cmake | Diff File | ||
master aeec4bbe 2014-05-08 13:28:24 Details Diff |
BUG: Fix VTK python library paths on Windows for VTKv6 Issue 0003514 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23143 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Base/QTCore/qSlicerCorePythonManager.cxx | Diff File |