Hi Matt,
you are also working on Ubuntu Linux, dont you? It seems as if the problem is
somehow OS-specific. I filed a bug last week for this issue
(http://bugs.mitk.org/show_bug.cgi?id=9117 ) and we will investigate it today.
Best
Michael
Von: Clarkson, Matt [mailto:[email protected]]
Gesendet: Dienstag, 30. August 2011 18:56
An: mitk-users
Betreff: [mitk-users] Possible Bug in QmitkVolumeVisualizationView - can't turn
volume rendering on
Hi there,
There may be a potential issue in QmitkVolumeVizualizationView. When I do the
following:
1. Load nifti image
2. Display the Volume Visualization view.
3. Select my image in the Datamanager
4. Select the Volumerendering checkbox in the QmitkVolumeVisualizationView
the checkbox however jumps immediately back to unchecked. It won't turn on and
stay on. Hence I can't volume render.
At first, I thought the reason was that in
QmitkVolumeVisualizationView::OnEnableRendering, the property is already
present, so when you try and set the value, you get a warning saying, that
rather than set the property, you should use ReplaceProperty instead. So, I
tried changing the code to use Replace property. This appeared to set the
property (at least no warning/error messages were produced), however, in
UpdateInterface, the section of code that reads:
bool enabled = false;
m_SelectedNode->GetBoolProperty("volumerendering",enabled);
m_Controls->m_EnableRenderingCB->setEnabled(true);
It turns out that the GetBoolProperty was always returning false, (despite the
fact, I had just used ReplaceProperty to set it to true).
The short term work around is that if you open the Property List editor, you
can set the volumerendering property to be on, then go back to the Volume
Visualisation View and then the checkbox can be forced to On.
However, it appears that there is definitely an issue with properties seemingly
not updating.
Im happy to raise a bug, but it may be me missing the point, so can someone
check this, and double check if this is all true?
Thanks as always
Matt
------------------------------------------------------
Matt Clarkson Ph.D.
CMIC Software Manager
Senior Research Associate
[email protected]<mailto:[email protected]>
Centre For Medical Image Computing
http://cmic.cs.ucl.ac.uk/staff/matt_clarkson/<http://cmic.cs.ucl.ac.uk/>
Tel: 020 7679 0221
Fax: 020 7679 0255
Dementia Research Centre
http://dementia.ion.ucl.ac.uk/
Tel: 08451 555 000 ext. 723653
Fax: 020 7676 2066
------------------------------------------------------
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users