Hi Thomas,
thank you for your answer. I am trying to store diffusion images, therefore
SaveImage would not work, because I need a FileWriterWithInformation and
SaveImage uses a FileWriter.
Regards,
Sarah
Von: Kilgus, Thomas
Gesendet: Freitag, 28. Juni 2013 11:24
An: Mang, Sarah; '[email protected]'
Betreff: RE: mitk::QmitkIOUtil::SaveBaseDataWithOutDialog
Hi Sarah,
please have a look at mitk::IOUtil. This class is internally used by
QmitkIOUtil and offers means to save data without file dialogs. For instance
you could use "mitk::IOUtil::SaveImage()". Note: If you have a special data
type other than Image, PointSet or Surface, you have to register the
respective FileWriter for your type at the CoreFactory. This is usually already
done if you can save your data via mitkWorkbench and should not be a problem.
Regards,
Thomas
From: Mang, Sarah
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Freitag, 28. Juni 2013 11:03
To: '[email protected]'
Subject: [mitk-users] mitk::QmitkIOUtil::SaveBaseDataWithOutDialog
Hi there,
I want to store diffusion data to a file and used QmitkIOUtil functions since
QmitkCommonFunctionality is deprecated. I need to store a temporary file for
further processing. The filename is already given and I therefore would not
require a file dialog as provided by mitk::QmitkIOUtil::SaveBaseDataWithDialog.
Is there a different method I should use? Is there a way to suppress the dialog?
Cheers,
Sarah
___________________________________________________
Dr. Sarah Mang, Dipl.-Inform.
Deutsches Krebsforschungszentrum Heidelberg
Softwareentwicklung für Integrierte Diagnostik und Therapie (SIDT) , E071
Im Neuenheimer Feld 280
D-69120 Heidelberg
Germany
Telefon: +49 - 6221 - 42 2560
Fax: +49 - 6221 - 42 2572
___________________________________________________
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users