MeVisLab Toolbox Reference
mlImageFormatInfo.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_INFO_H
14
#define ML_IMAGE_FORMAT_INFO_H
15
16
20
21
#include "
MLImageFormatSystem.h
"
22
23
// ML includes
24
#include "
mlModuleIncludes.h
"
25
26
#include "
mlImageFormatIOBase.h
"
27
28
29
ML_START_NAMESPACE
30
31
// ----------------------------------------------------------
33
// ----------------------------------------------------------
34
class
MLIMAGEFORMAT_EXPORT
MLImageFormatInfo
:
public
MLImageFormatIOBase
35
{
36
public
:
37
39
MLImageFormatInfo
();
40
41
protected
:
42
44
void
activateAttachments
()
override
;
45
47
void
handleNotification
(
Field
*field)
override
;
48
50
virtual
void
_update
();
51
53
virtual
void
_resetInfos
();
54
55
private
:
56
58
NotifyField
*_updateFld;
59
61
NotifyField
*_resetInfosFld;
62
64
ML_MODULE_CLASS_HEADER
(
MLImageFormatInfo
);
65
66
};
67
68
69
ML_END_NAMESPACE
70
71
#endif
// __mlImageFormatInfo_H
72
73
MLImageFormatSystem.h
MLIMAGEFORMAT_EXPORT
#define MLIMAGEFORMAT_EXPORT
Global and OS specific declarations for the MLImageFormat project.
Definition
MLImageFormatSystem.h:25
ml::Field
Definition
mlField.h:73
ml::MLImageFormatIOBase::MLImageFormatIOBase
MLImageFormatIOBase(int numIns=0, int numOuts=0)
Constructor for a module with numIns inputs and numOuts outputs.
ml::MLImageFormatInfo::_update
virtual void _update()
Opens file and reads information and updates fields.
ml::MLImageFormatInfo::MLImageFormatInfo
MLImageFormatInfo()
Constructor.
ml::MLImageFormatInfo::_resetInfos
virtual void _resetInfos()
Reset all tags and compression fields to default state.
ml::MLImageFormatInfo::handleNotification
void handleNotification(Field *field) override
Handle field changes of the field field.
ml::MLImageFormatInfo::activateAttachments
void activateAttachments() override
Update internal module state after load or clone.
ml::NotifyField
Definition
mlFields.h:598
ML_MODULE_CLASS_HEADER
#define ML_MODULE_CLASS_HEADER(className)
Definition
mlRuntimeSubClass.h:235
mlImageFormatIOBase.h
mlModuleIncludes.h
MeVisLab
Standard
Sources
ML
MLImageFormat
mlImageFormatInfo.h
Generated by
1.15.0