MeVisLab Toolbox Reference
Loading...
Searching...
No Matches
mlImageFormatSave.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_IMAGE_FORMAT_SAVE_H
14#define ML_IMAGE_FORMAT_SAVE_H
15
16
20
21#include "MLImageFormatSystem.h"
22
23// ML includes
24#include "mlModuleIncludes.h"
25
26#include "mlImageFormatIOBase.h"
27
28
30
31// ----------------------------------------------------------
34// ----------------------------------------------------------
36{
37public:
40
41protected:
43 void activateAttachments() override;
44
47
51 virtual void _save(bool onlyCreate);
52
53private:
55 NotifyField* _saveFld;
56
58 NotifyField* _createFld;
59
61 DoubleField* _saveTimeFld;
62
65 DoubleField* _calcTimeFld;
66
69 DoubleField* _totalTimeFld;
70
73};
74
75
77
78#endif // __mlImageFormatSave_H
#define MLIMAGEFORMAT_EXPORT
Global and OS specific declarations for the MLImageFormat project.
Field to encapsulate a double value.
Definition mlFields.h:567
Base class for all fields used in the ML.
Definition mlField.h:73
IO base class to manage/save/load/modify .mlimage files and to derive specific save,...
ML module class to save an ML PagedImage as file of type MLImageFormat with .mlimage suffix.
void handleNotification(Field *field) override
Handle field changes of the field field.
MLImageFormatSave()
Constructor.
void activateAttachments() override
Update internal module state after (field)reload or clone.
virtual void _save(bool onlyCreate)
Stores the connected input image in file if onlyCreate is false; if onlyCreate is true then an one-va...
Field without value for notifications.
Definition mlFields.h:687
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.