22#include "DPL_TypeDefs.h"
35class DirectDicomImport;
40namespace DirectDicomImportDPLImageToMultiFileVolume{
41 struct ConversionParameters;
131 IntField *_minimumNumFramesInVolumeFld;
153 BoolField *_dplSetSeriesBasedPreprocessingConditionFld;
159 BoolField *_dplLogPartingAndSortingInformationOnFld;
171 BoolField *_copyFullFunctionalGroupSequencesFld;
182 BoolField *_forceOrthogonalWorldMatrixFld;
206 BoolField *_copyPrivateTopLevelSourceTagsFld;
209 enum { NUM_HARD_OVERWRITE_TAGS = 4 } HardOverWriteNumtags;
212 BoolField *_dplHardOverwriteTagOnFld[NUM_HARD_OVERWRITE_TAGS];
215 StringField *_dplHardOverwriteTagIdFld[NUM_HARD_OVERWRITE_TAGS];
218 StringField *_dplHardOverwriteTagStrFld[NUM_HARD_OVERWRITE_TAGS];
221 bool _dplHardOverwriteIds[NUM_HARD_OVERWRITE_TAGS];
224 EnumField *_dplAllowSortingAccordingToDimensionIndexValuesFld;
227 StringField *_dplWorkaroundValueForImageOrientationPatientTagFld;
230 void _logProcessingTags(DPL::Processor&
processor, DPL::ErrorInfo* error );
259 std::string _importFilterProcessingSettings;
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORT_EXPORT
Only for diagnostic purposes.
Field to encapsulate a boolean value.
Class handling all DICOM Processor Library Import (DPL) stuff for the DirectDicomImport module.
void _setImportFilterProcessingSettings(const std::string &procSettings)
Returns the externally provided processing settings for the currently processed volume.
virtual bool copyFullFunctionalGroupSequences() const
Returns true if functional group sequences shall fully be copied during enhanced multi-frame decompos...
void appendFields(FieldContainer &fieldContainer) override
Appends all parameter fields related to DPL import to fieldContainer.
std::vector< DirectDicomImportDPLTagValueProvider::HardOverwriteTag > _getHardOverwriteTags()
Returns a vector of hardOverwrite tags either from input filter settings or from the DPL importer fie...
virtual bool decomposeMultiFrames() const
Returns true if (DICOM multi-frame) files shall be decomposed to single frames during imports,...
EnumField & getDplSpecialProcessorsFld() const
Provides access to some fields used outside.
DirectDicomImportDPLLogger & getDPLLogger()
Returns the used DPL logger instance.
std::string _getForce2DPlusTCondition()
Determines the force2DPlusTCondition either from input filters or from DPL fields; it is used by the ...
bool _doArgumentAndOverrideCheck(bool dplFlag, const std::string &overrideName) const
If overrideName is defined as 0 or non 0 in getImportFilterProcessingSettings(), then false or true i...
DicomToMLTools::CalculateMinMaxFromDicomModes _getUsedMinMaxScanMode()
Returns the used mode for the min/max calculations from input filters and field settings.
void handleNotification(Field &field) override
Handles all field changes related to fields created in appendDPLArgumentFields().
virtual bool scanRecursively() const
Returns true if settings require a recursive directory scan, otherwise it returns false for a flat sc...
DirectDicomImportDPLImporter(DirectDicomImport &ddiOp)
Constructor using a DirectDicomImport instance associated with.
~DirectDicomImportDPLImporter() override
Destructor.
const std::string & _getImportFilterProcessingSettings() const
Returns the externally provided processing settings for the currently processed volume.
Extended DPL logger class redirecting messages from the DPL to a DirectDicomImport instance.
An DPL::TagValueProvider class for the DirectDicomImport module.
Base importer class for the DirectDicomImport module.
Imports image files directly from DICOM or other file types without an intermediate representation.
Field to encapsulate a double value.
Field to encapsulate an enumerated value.
Defines the class FieldContainer to encapsulate a vector of fields for (see class Field).
Base class for all fields used in the ML.
Field to encapsulate an integer value.
Field to encapsulate a string value.
Extended DPL logger class redirecting messages from the DPL to a DirectDicomImport instance.
Extended DPL TagValueProvider class for the ML module class DirectDicomImport.
Base importer class for the DirectDicomImport module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Forward and includes of internally used DPL classes.
Container for all parameters needed to convert a DPL::Image to MultiFileVolume(s).