1. 11 Jan, 2013 1 commit
    • jcfr's avatar
      COMP: Add ITKFactoryRegistration library centralizing ITK IO factory registration · 03b89614
      jcfr authored
      This commit will ensure that ITK IO factory are properly registered on all
      supported platforms.
      When ITKv4 is build shared, the library holding the factory registration code
      are build statically. As a consequence, when CLI module are loaded as library
      the factory are registered multiple times. Around 800 factories where registered
      and this was leading to poor performance when loading images.
      This commit enable the building of a shared library named ITKFactoryRegistration
      that should be linked against to ensure loading of the factory. This approach
      can succeed thanks to the help of the ITK variable ITK_NO_IO_FACTORY_REGISTER_MANAGER.
      This variable allow to disable the automatic registration of factory in selected part
      of the code.
      The following two cases are handled:
       - Registration of the factories within the Slicer executable.
       - Registration of the factories within CLI executable.
      Fixes #2813
      From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@21592 3bd1e089-480b-0410-8dfb-8563597acbee
  2. 15 Dec, 2011 1 commit
  3. 06 Dec, 2011 1 commit
  4. 29 Jul, 2011 1 commit
  5. 01 Jul, 2011 1 commit
    • jcfr's avatar
      ENH: SlicerExecutionModel is now an external project · 7744e5d2
      jcfr authored
      * A single find_package(SlicerExecutionModule) can be used.
      * Calling find_package(SlicerExecutionModule ...) will systematically define the
      ModuleDescriptionParser_DIR, GenerateCLP_DIR and TCLAP_DIR
      * Assuming ModuleDescriptionParser_DIR, GenerateCLP_DIR or TCLAP_DIR are defined,
      the corresponding find_package() call are still valid.
      * Call of the form find_package(SlicerExecutionModule REQUIRED GenerateCLP) or
      find_package(SlicerExecutionModule REQUIRED ModuleDescriptionParser) are valid and
        - include the target of the specified components
        - set SlicerExecutionModel_INCLUDE_DIRS, SlicerExecutionModel_LIBRARIES appropriately.
      * Known issue: SlicerExecutionModel_LIBRARY_DIRS is not defined. Since the
      list of library SlicerExecutionModel_LIBRARIES is defined and the associated
      CMake target imported. If CMake 2.6 or above is used, this shouldn't be a problem.
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@17287 3bd1e089-480b-0410-8dfb-8563597acbee
  6. 22 Jun, 2011 1 commit
    • jcfr's avatar
      STYLE: Move CMake commands to match new conventions · 73d5d9ef
      jcfr authored
      The next step in removing end-of-lines is to run through all the
      CMakeLists.txt files and clean them up.
      This also changes all the key words to lower
      case. The primary reason for changing key words is that all documentation for
      CMakeLists.txt now shows the key words as lower case. Even the printed
      “Mastering CMake v5” uses lower case. I’ve come across this several
      times in my class where students stumble over the fact that the
      documentation about Cmake does not match the implementation in ITK.
      I have a script (a wrapper around a vim macro) written that can make
      these substituions reliably (Tested on the BRAINS tree, the Slicer3
      tree, and the ITK tree without causing any errors).  More complete
      documentation can be found in
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@17191 3bd1e089-480b-0410-8dfb-8563597acbee
  7. 18 Jun, 2011 2 commits
  8. 06 May, 2011 2 commits
  9. 26 Apr, 2011 7 commits
  10. 18 Feb, 2011 1 commit
  11. 07 Dec, 2010 2 commits
  12. 25 Oct, 2010 3 commits
  13. 07 Oct, 2010 1 commit
  14. 09 Jul, 2010 1 commit
  15. 27 Jan, 2010 1 commit
  16. 12 Jan, 2010 1 commit
  17. 30 Dec, 2009 1 commit
    • finetjul's avatar
      ENH: SlicerQT: split VTK behavior from MRML. Move qMRMLMatrixWidget VTK code... · c838b22d
      finetjul authored
      ENH: SlicerQT: split VTK behavior from MRML. Move qMRMLMatrixWidget VTK code into qVTKAbstractMatrixWidget and qVTKMatrixWidget. qVTKAbstractMatrixWidget is not supposed to be used directly (as there is no way for the user to set the matrix. qVTKMatrixWidget is a concrete implementation of qVTKAbstractMatrixWidget, where the user can set the matrix via setMatrix (public slot). qMRMLMatrixWidget is actually a qMRMLLinearTransformMatrixWidget and generates internally a vtkMatrix4x4 that is set to qVTKAbstractMatrixWidget.
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@11464 3bd1e089-480b-0410-8dfb-8563597acbee
  18. 13 Dec, 2009 1 commit
  19. 07 Dec, 2009 3 commits
  20. 04 Dec, 2009 1 commit
  21. 02 Dec, 2009 1 commit
  22. 27 Nov, 2009 1 commit
  23. 18 Nov, 2009 1 commit
  24. 30 Oct, 2009 1 commit
  25. 13 Oct, 2009 1 commit
  26. 09 Oct, 2009 1 commit
  27. 08 Oct, 2009 1 commit