Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # DebuggingTools
- # Extension for 3D Slicer containing various tools for module development and debugging.
- #
- # Included modules:
- #
- # Python Debugger (in category: Developer Tools): Visual debugging
- # (setting breakpoints, execute code step-by-step, view variables,
- # stack, etc.) of Python scripts in Slicer using PyCharm, Visual
- # Studio Code, Eclipse, etc.
- #
- # Node modified statistics (in category: Developer Tools): Module
- # for collecting statistics on timing of node Modified events. It
- # is useful for estimating refresh rate when a live data stream or
- # temporal data sequence is visualized.
- #
- # Node info: Browse nodes in the Slicer scene, find referenced and
- # referencing nodes, create dockable widgets to display content of
- # selected nodes.
- #
- # Authors: Andras Lasso (PerkLab, Queen's University), Mikael Brudfors
- # (Laboratorio de Imagen Medica, Hospital Gregorio Maranon).
- set(extension_name "DebuggingTools")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/SlicerRt/SlicerDebuggingTools.git
- GIT_TAG 8bb556a
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # DeveloperToolsForExtensions
- #
- # This repository contains 3D Slicer extensions that offers different tools to help developers when they develop Slicer extensions:
- #
- # Developer Tools For Extensions: It allows one to manually
- # install extensions from an archive (*.zip or *.tar.gz). These
- # archives can either be created locally when one creates their
- # own extensions (this tools can help the developer to verify that
- # their extension is correctly packaged). It can also be
- # convenient to distribute your Slicer extensions on your own
- # website, or privately. It also allows to directly load a
- # scripted module while Slicer is already running.
- #
- # Extension Download Statistics: It allows developers to know how
- # many times their extensions have been downloaded.
- set(extension_name "DeveloperToolsForExtensions")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/Slicer/SlicerDeveloperToolsForExtensions.git
- GIT_TAG 1a66fa3
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # ModelClip
- #
- # An extension module designated to clip models with multiple planes.
- set(extension_name "ModelClip")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/jamesobutler/ModelClip.git
- GIT_TAG 804eccc
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # SegmentEditorExtraEffects
- #
- # Experimental effects for Segment Editor in 3D Slicer.
- set(extension_name "SegmentEditorExtraEffects")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/lassoan/SlicerSegmentEditorExtraEffects
- GIT_TAG f43df35
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # SlicerRT
- #
- # used by SegmentRegistration
- set(extension_name "SlicerRT")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/SlicerRt/SlicerRT.git
- GIT_TAG 907ef2e
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # SlicerProstate
- #
- # used by SegmentRegistration (contains DistanceMapBasedRegistration)
- set(extension_name "SlicerProstate")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/SlicerProstate/SlicerProstate.git
- GIT_TAG 6337a14
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # SegmentRegistration
- #
- # 3D Slicer extension for segment registration (aka fusion, contour
- # propagation). The registration step uses the Distance Map Based
- # Registration module
- set(extension_name "SegmentRegistration")
- set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
- FetchContent_Populate(${extension_name}
- SOURCE_DIR ${${extension_name}_SOURCE_DIR}
- GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/SlicerRt/SegmentRegistration.git
- GIT_TAG 4b19e2c
- GIT_PROGRESS 1
- QUIET
- )
- message(STATUS "Remote - ${extension_name} [OK]")
- list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
- # Add Slicer sources
- add_subdirectory(${slicersources_SOURCE_DIR} ${slicersources_BINARY_DIR})
Add Comment
Please, Sign In to add comment