MeVisLab Toolbox Reference
mlMultiFileVolumeListIteratorOutput.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code
3
//----------------------------------------------------------------------------------
8
15
16
//----------------------------------------------------------------------------------
17
#pragma once
18
19
// Base class of output module.
20
#include "
mlMultiFileVolumeListBaseOutput.h
"
21
22
ML_START_NAMESPACE
23
24
// Forward to internally used classes.
25
class
MultiFileVolume;
26
27
//----------------------------------------------------------------------------------
31
//----------------------------------------------------------------------------------
32
class
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
MultiFileVolumeListIteratorOutput
:
public
MultiFileVolumeListBaseOutput
33
{
34
public
:
35
37
MultiFileVolumeListIteratorOutput
(
int
numInputs
=0,
int
numOutputs
=0);
38
40
MultiFileVolumeListIteratorOutput
(
MultiFileVolume
*
outVolToUse
);
41
43
virtual
~MultiFileVolumeListIteratorOutput
();
44
45
protected
:
46
48
void
activateAttachments
()
override
;
49
51
void
handleNotification
(
Field
*
field
)
override
;
52
53
private
:
54
56
void
_init();
57
59
void
_iterate();
60
62
void
_triggerIndex(
size_t
idx
);
63
83
static
std::string replaceImageValuePlaceholders(
const
std::string &
taggedStr
,
84
const
PagedImage
*
inImg
,
85
const
std::string &
defaultTagContent
=
""
,
86
const
std::string &
fileType
=
""
,
87
size_t
idx
=0,
88
size_t
padSize
=5);
89
92
std::string _getStrOutputFldForIdx(
size_t
idx
);
93
95
StringField
*_infoFld;
96
98
NotifyField
*_iterateFld;
99
102
BoolField
*_iterateAllFld;
103
105
StringField
*_volumeIndexesFld;
106
110
BoolField
*_iterateOnlyOnValidImgsFld;
111
113
StringField
*_stringOutputExpressionFld;
114
116
StringField
*_defaultTagValueFld;
117
118
121
123
StringField
*_strOutputFld;
124
126
IntField
*_idxOutputFld;
127
129
NotifyField
*_triggerOutputFld;
131
132
134
ML_MODULE_CLASS_HEADER
(
MultiFileVolumeListIteratorOutput
);
135
};
136
137
ML_END_NAMESPACE
MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
Definition
MLMultiFileVolumeListOutputsSystem.h:24
ml::BoolField
Field to encapsulate a boolean value.
Definition
mlFields.h:58
ml::Field
Base class for all fields used in the ML.
Definition
mlField.h:73
ml::IntField
Field to encapsulate an integer value.
Definition
mlFields.h:126
ml::MultiFileVolumeListBaseOutput
The ML module base class MultiFileVolumeListBaseOutput used to implement further output modules for t...
Definition
mlMultiFileVolumeListBaseOutput.h:45
ml::MultiFileVolumeListIteratorOutput
The ML module class MultiFileVolumeListIteratorOutput providing some support to specify a list of vol...
Definition
mlMultiFileVolumeListIteratorOutput.h:33
ml::MultiFileVolumeListIteratorOutput::MultiFileVolumeListIteratorOutput
MultiFileVolumeListIteratorOutput(MultiFileVolume *outVolToUse)
Convenience constructor to create and also set a MultiFileVolume with updateToVolume.
ml::MultiFileVolumeListIteratorOutput::activateAttachments
void activateAttachments() override
Called after changes of fields without handleNotification calls.
ml::MultiFileVolumeListIteratorOutput::MultiFileVolumeListIteratorOutput
MultiFileVolumeListIteratorOutput(int numInputs=0, int numOutputs=0)
Constructor.
ml::MultiFileVolumeListIteratorOutput::handleNotification
void handleNotification(Field *field) override
Handles changes of fields.
ml::MultiFileVolumeListIteratorOutput::~MultiFileVolumeListIteratorOutput
virtual ~MultiFileVolumeListIteratorOutput()
Destructor.
ml::MultiFileVolume
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Definition
mlMultiFileVolume.h:38
ml::NotifyField
Field without value for notifications.
Definition
mlFields.h:659
ml::PagedImage
Class which represents an image, which manages properties of an image and image data which is located...
Definition
mlPagedImage.h:66
ml::StringField
Field to encapsulate a string value.
Definition
mlFields.h:610
ML_MODULE_CLASS_HEADER
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Definition
mlRuntimeSubClass.h:235
mlMultiFileVolumeListBaseOutput.h
Provides the base class for an additional output for a MultiFileVolumeList module.
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
FMEstable
ReleaseMeVis
Projects
MultiFileVolume
MLMultiFileVolumeListOutputs
Sources
mlMultiFileVolumeListIteratorOutput.h
Generated by
1.10.0