I also doesn't know why the widget planes dissappear when i code the following:
mitk::DataStorage::SetOfObjects::ConstPointer oAll =
this->GetDataStorage()->GetAll();
for(unsigned int nNode = 0; nNode < oAll->Size(); nNode++)
{
if(dynamic_cast<mitk::Image*>(oAll->at(nNode)->GetData()) &&
oAll->at(nNode)->GetProperty("myPropOfMyDataObject"))
{
oAll->at(nNode)->SetVisibility(true);
}
else
{
oAll->at(nNode)->SetVisibility(false);
}
}
________________________________
Von: Lodron, Gerald [mailto:[email protected]]
Gesendet: Donnerstag, 12. August 2010 12:13
An: '[email protected]'
Betreff: [mitk-users] QmitkStdMultiWidget and Planes Visibility
Hi
I have some questions to the QmitkStdMultiWidget:
1)
I found out that:
m_poMultiWidget->SetWidgetPlanesVisibility(true);
does not work, only that works:
m_poMultiWidget->SetWidgetPlanesVisibility(true,
m_poMultiWidget->GetRenderWindow1()->GetRenderer());
m_poMultiWidget->SetWidgetPlanesVisibility(true,
m_poMultiWidget->GetRenderWindow2()->GetRenderer());
m_poMultiWidget->SetWidgetPlanesVisibility(true,
m_poMultiWidget->GetRenderWindow3()->GetRenderer());
m_poMultiWidget->SetWidgetPlanesVisibility(true,
m_poMultiWidget->GetRenderWindow4()->GetRenderer());
is that a bug or wanted?
2)
Why is there no GetWidgetPlanesVisibility function? How can i get the current
state of the Plane visibility?
Gerald Lodron
Human-Centered Image Processing
Machine Vision Applications
DIGITAL - Institute of Information and Communication Technologies
JOANNEUM RESEARCH Forschungsgesellschaft mbH
Steyrergasse 17, 8010 Graz, AUSTRIA
phone: +43-316-876-1751 fax: +43-316-876-1751
web: http://www.joanneum.at/digital
e-mail: [email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users