Hi Julien,

I would recommend you to have a look at the class QmitkStdMultiWidget (search 
for "department logo" [mitk::ManufacturerLogo]). That should be a complete 
example of a "skeleton" that fits your needs.

Best,

Stefan


Von: Julien Le Pallec [mailto:[email protected]]
Gesendet: Donnerstag, 8. September 2011 09:29
An: Kislinskiy, Stefan; mitk users
Betreff: RE: AW: [mitk-users] Scale legend in QmitkRenderWindow

Hi Stefan,

I had a look at the simple measurement bundle but what I want is exactly what 
you describe in your mail:
a scale permanently displayed in my render windows and adjusting the values 
and/or the size with the geometry.

Actually I have created my own class setting a vtkLegendScaleActor in the 
render window and displaying the length according to the DisplayGeometry and 
the scale factor which is changing when zooming in my case.

I think such a widget linked to the render window could be great:

-first because I have to remove the tick information of the scale which are not 
good (wrong information).

-and secondly because I have to notify the Update function from my scale class 
when a zoom occurs (I use the message delegate) or when the user resizes the 
render window (Can I add any listener on any changement from the render window 
?). Tthis is quite annoying to always emmit some message for this purpose in 
many places within the code.

I thank you in advance and do not hesitate if you have any hint on how to 
notify my scale when something happens on the render window.

Best regards,

Julien
________________________________
From: [email protected]
To: [email protected]; [email protected]
Date: Wed, 7 Sep 2011 15:27:33 +0200
Subject: AW: [mitk-users] Scale legend in QmitkRenderWindow
Hi Julien,

sorry for the late answer. Did you notice the Simple Measurement Bundle, which 
you can activate through CMake? Maybe its functionality is already enough for 
your needs. Or do you want to permanently display a legend containing the scale 
in the render windows?

Best,

Stefan

Von: Julien Le Pallec [mailto:[email protected]]
Gesendet: Freitag, 26. August 2011 09:19
An: mitk users
Betreff: [mitk-users] Scale legend in QmitkRenderWindow

Hi,

I would like to implement a scale in my QmitkRenderWindows but unfortunately I 
haven“t found something like that within MITK.

I tried to implement a vtkLegendScaleActor but the dimension or the information 
displayed are not related to the geometry (i.e. zooming does not change 
anything).

My questions are:
Is there something like that already existing in MITK ?
Does anyone already implemented something like that in his own code ?

Thanks a lot for your help,

Julien
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to