View Issue Details

IDProjectCategoryView StatusLast Update
0003219Slicer4Core: Scripting (Wrapping, Python)public2013-07-16 09:40
Reporterkotwicz Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.2.0 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0003219: can't access qMRMLThreeDViewControllerWidget through python
Description

layoutManager = slicer.app.layoutManager()
layoutManager.threeDWidget(0).threeDController() -- gives an attribute error

TagsNo tags attached.

Activities

jcfr

jcfr

2013-07-10 11:10

administrator   ~0008994

The controller widget is not exposed.

3D view option can be set through the viewNode interface, you can get the corresponding node doing the following:

layoutManager = slicer.app.layoutManager()
threeDWidget = layoutManager.threeDWidget(0)
threeDView = threeDWidget.threeDView()
viewNode = threeDView.mrmlViewNode()

Issue History

Date Modified Username Field Change
2013-07-10 10:52 kotwicz New Issue
2013-07-10 10:52 kotwicz Status new => assigned
2013-07-10 10:52 kotwicz Assigned To => jcfr
2013-07-10 11:04 jcfr Target Version => Slicer 4.3.0
2013-07-10 11:10 jcfr Note Added: 0008994
2013-07-10 11:10 jcfr Status assigned => resolved
2013-07-10 11:10 jcfr Fixed in Version => Slicer 4.3.0
2013-07-10 11:10 jcfr Resolution open => fixed
2013-07-16 09:40 kotwicz Status resolved => closed