FROM: Julien Le Pallec [mailto:[email protected]]

Hi Jochen,

thanks for your early reply, of course as you highlighted the solution was in 
front of me...

For people who are interested, here is the piece of code I use to set the 
visibility:

            
node->SetVisibility(true,mitk::BaseRenderer::GetInstance(renderWindow1->GetVtkRenderWindow()));

Thanks again for your help,

Julien

________________________________
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Date: Mon, 18 Jul 2011 11:54:19 +0200
Subject: AW: [mitk-users] Two renderers One datastorage
Hi Julien

SetVisibility() has an optional parameter mitk::BaseRenderer *renderer that 
defaults to NULL. Just provide a pointer to one of your renderers (each render 
window has its own renderer) and you'll set the visibility specifically for 
that render window.
This works for all properties by the way.

Best regards,
 Jochen

Von: julien le pallec 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Gesendet: Montag, 18. Juli 2011 11:30
An: [email protected]<mailto:[email protected]>
Betreff: [mitk-users] Two renderers One datastorage

Hi all,

I am working on a small GUI with two render windows displaying the data stored 
in the StandaloneDataStorage.

My problem is that I would like to set the visibility of each node separately 
in each render window. For the moment I only know the function SetVisibility() 
which applies directly on the node so set the visibility on my two renderers. 
Hope it´s clear...

My question is : Is there any way to set the visibility, opacity, etc... on a 
render window instead of a node ?

Thanks for your help,

Julien
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to