Hi Keshav,

some time ago, in 2006, Daniel Maleike replied on this question already. Today, 
it should also work like this - or at least similar:

Re: [mitk-users] show dataset in renderwindow, Mon, Feb 20, 2006 at 12:40:29PM 
+0100
"
Have you checked the renderer specific properties? DataTreeNodes hold a 
property list for each renderer plus one extra that is meant to be independent 
of renderers. The render specific properties override the renderer independent 
ones.
You can play around with render window specific "visible" properties, when you 
use the DataManager, check the "Renderwindow" checkbox (just above the 
properties), and select a render window from the combobox. It should be 
possible to have your cost function visible only in one renderwindow and 
invisible in all others.

Daniel"




Regards, 
Matthias


-----Ursprüngliche Nachricht-----
Von: Keshav Chintamani [mailto:[email protected]] 
Gesendet: Donnerstag, 8. Juli 2010 13:24
An: [email protected]
Betreff: [mitk-users] How to display different data sources simultaneously with 
StdMultiWidget

Hello,

Is it possible to display different images (from different sources) on the 
renderwindows in the MultiWidget? For example, I would like to render a 3D 
virtual human in the 3D renderwindow and display a live video from a medical 
imaging device in one of the render windows. 

I used the following method to access the default data storage:

          // DataStorage
          mitk::IDataStorageService::Pointer service = 
          
berry::Platform::GetServiceRegistry().GetServiceById<mitk::IDataStorageService>(mitk::IDataStorageService::ID);
      
          mitk::DataStorage::Pointer pDataStorage = 
service->GetDefaultDataStorage()->GetDataStorage();

          pDataStorage->Add(snapshotimagenode);

Before these statements, the 3D model is already added to the datastorage.

Is there a way I can mask certain objects in the datastorage by setting their 
visibility on/off?

Any suggestions are welcome!!

Keshav

Systems Engineer,
Space Applications Services

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to