Development

To develop SlicerITKUltrasound, first build 3D Slicer. Version r25484 (trunk from 2016-10-28) or later is required.

Use CMake to configure SlicerITKUltrasound, and pass in the Slicer_DIR configuration variable as the <Slicer-Superbuild>/Slicer-build path. Build SlicerITKUltrasound by running make or another specific build system generated by CMake.

Run the tests for the extension by executing ctest in <SlicerITKUltrasound-Superbuild>/SlicerITKUltrasound-build. With Visual Studio on Windows, run ctest -C Release or ctest -C Debug.

To use the modules from Slicer’s user interface: add the generated modules to Slicer’s module search path by opening Slicer, then Edit -> Application Settings -> Modules -> Additional module paths -> Add <SlicerITKUltrasound-Superbuild>/SlicerITKUltrasound-build/lib/Slicer-X.Y/cli-modules, and restart Slicer.