Hi Antoni,
sorry for the late reply. You can show the axes of the planes using a certain
property of the geometry node of the plane:
For the first renderwindow, you need this code:
mitk::BaseRenderer::GetInstance(
mitk::BaseRenderer::GetRenderWindowByName("stdmulti.widget1")
)->GetCurrentWorldGeometry2DNode()->SetProperty(
"decoration",
mitk::PlaneOrientationProperty::New(
mitk::PlaneOrientationProperty::PLANE_DECORATION_POSITIVE_ORIENTATION ));
Then you get two arrows on your plane, showing to the positive direction. When
you want to remove them again, change the property:
mitk::BaseRenderer::GetInstance(
mitk::BaseRenderer::GetRenderWindowByName("stdmulti.widget1")
)->GetCurrentWorldGeometry2DNode()->SetProperty(
"decoration",
mitk::PlaneOrientationProperty::New(
mitk::PlaneOrientationProperty::PLANE_DECORATION_NONE ));
regards
Bastian Graser
Von: Antoni Artigues Barceló [mailto:[email protected]]
Gesendet: Dienstag, 26. Juni 2012 09:42
An: mitk-users
Betreff: [mitk-users] Show the axes
Hello,
In order to debug the app: Is possible to show the axes on the screen?
Thanks in advance
Antoni Artigues
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users