Hi,

You can use render window specific properties.  The "SetProperty" 
methods of the mitk:DataNode allow to specify a mitk::BaseRenderer 
pointer to add properties which apply only for the given render window.

For the visibility, using mitk::DataNode::SetVisibility(false, 
renderWindowOfSecondWorkbenchWindow) should work. There is no GUI method 
for that, as far as I know.

You should also be aware of the fact that the "New Window" functionality 
is not fully supported by all MITK views/editors/etc. It can lead to 
strange behavior or even crashes. We recently discussed that and are 
maybe removing the menu entry in the future.

- Sascha

On 01/16/2012 04:20 PM, Clarkson, Matt wrote:
> Hi there,
>
> this may be a daft question... but here goes.
>
> When i use Window->New Window, I do indeed get a new window, with a 
> QmitkStdMultiWidget giving me a nice orthogonal view of the world. When I 
> change properties, such as changing the visibility of an image, the change is 
> visible in both windows as you would expect.
>
> But when I have two windows.... is there any way to make one image appear in 
> one window, and another image appear in the other?
>
> This way, I could compare two images, by just clicking on a certain point in 
> 3D, and the intersection point would be the same position in both windows, 
> enabling me to check for example how well registered two images are?
> i.e. I want to set window specific properties, to control the rendering in 
> different windows.
>
>
> Thanks
>
> Matt
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to