Slicer Module¶
This module provides functions and classes for interfacing with 3DSlicer.
When running in 3DSlicer, this module should be explictly imported to access the custom pre/post- processing functions it provides.
-
class
ablinfer.slicer.SlicerDispatchMixin(config)[source]¶ Mixin for dispatching from Slicer.
A
tmp_pathkey is added toconfig, which must contain the location to store temporary files for dispatching.This class does not implement any actual dispatching; this must be combined with the appropriate dispatcher to function properly, e.g.:
class SlicerDispatchActual(SlicerDispatchMixin, DispatchActual): pass