View Issue Details

IDProjectCategoryView StatusLast Update
0002669Slicer4Core: Extensionspublic2014-04-22 10:25
ReporterkschlampAssigned Tojcfr 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Product VersionSlicer 4.1.1 
Target VersionFixed in Version 
Summary0002669: Registration of scripted displayable managers
Description

Currently it is not possible to register a scripted (Python) displayable manager. There is some commented out code in "qSlicerLayoutManager" to load "
vtkScriptedExampleDisplayableManager.py" (see https://github.com/Slicer/Slicer/blob/master/Base/QTGUI/qSlicerLayoutManager.cxx#L138), but there is no universal mechanism for this. There is also currently no way to register it within a scripted module.

For a full discussion please see this mailing list thread:
http://slicer-devel.65872.n3.nabble.com/Add-custom-annotations-cube-cone-to-3D-view-tc4026402.html

TagsNo tags attached.

Activities

kschlamp

kschlamp

2012-10-22 19:30

reporter   ~0006687

A great thing would be to allow the registration (from within the python code) at runtime (e.g. the interactive python shell), even when all views are created. Not sure how much work this would be as I don't oversee the full Slicer architecture yet.

Issue History

Date Modified Username Field Change
2012-10-22 19:24 kschlamp New Issue
2012-10-22 19:24 kschlamp Status new => assigned
2012-10-22 19:24 kschlamp Assigned To => jcfr
2012-10-22 19:30 kschlamp Note Added: 0006687
2012-10-23 05:21 jcfr Target Version => Slicer 4.3.0
2013-08-30 13:24 jcfr Target Version Slicer 4.3.0 => Slicer 4.4.0
2014-04-22 10:25 jcfr Status assigned => acknowledged
2014-04-22 10:25 jcfr Target Version Slicer 4.4.0 =>