Hi Miriam,
In workflow mode, the widgets configured for the processing pipeline
are created on demand. For example, if you open the workflow “AngioImages”, you
will see the following steps:
- Cropping tool
- Binary Threshold
- Marching cubes
- Taubin Smooth
- Extract Surfaces
- Loop Subdivision
- Ring Cut
- Hole Filling
If you activate the workflow, GIMIAS will only create the widget of the
first step: Cropping tool. Once the user executes this step and press the move
forward arrow, the widget "Cropping tool" will be destroyed and the widget of
the next step will be created: "Binary Threshold".
Could you provide us a brief description of what kind of information do
you need from MyPanelWidget? Perhaps we can find another way to access to the
information you need.
Best regards,
Xavi
From: Ana Maria Quintero Padron [mailto:[email protected]]
Sent: martes, 12 de junio de 2012 12:34
To: [email protected]
Subject: [Gimias-developers] Different behavior between plugin mode and
workflow mode
Hello,
I'm writing you this email because we need to access from my panel widget to
another one like the following lines after:
MyPlugin::MyPanelWidget *myWidget = dynamic_cast< MyPlugin:: MyPanelWidget
*>(GetPluginTab()->GetWindow("Similar Aneurysm Comparison"));
if (myWidget == NULL) {
return; → Returns in workflow
mode (¿?)
}
myWidget->ShowParams(); → Returns in plugin mode (OK)
The fact is that in plugin mode this works property but workflow mode returns
null, seems like the widget is not loaded yet.
Could it be the way to build the worflow (.xml)?
Thank you very much in advance.
Best regards,
MIRIAM
-----------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers