45class MLDirectDicomImportWrapper;
46class VolumeBuilderGeneric;
47class VolumeBuilderFromDICOMs;
52class DirectDicomImportDPLImporter;
53class DirectDicomImportImporterBase;
54class DirectDicomImportOtherImporter;
56class MultiFileVolumeListView;
91 const std::string &info,
101 friend class ::MLDirectDicomImportWrapper;
103 friend class ::VolumeBuilderGeneric;
104 friend class ::VolumeBuilderFromDICOMs;
161 void _populateFileList(
const std::string &
srcDirPath,
169 void _importLabeledFileList(
size_t fListIdx,
176 bool _importDirectoriesAndFiles(std::vector<std::string>
srcDirPaths,
196 void _logPlannedImportFromFileList(
const std::vector<std::string>&
srcDirPaths,
215 bool _isCachingEnabledAndHasPath()
const;
222 bool _verifyAndOrCreateResultCacheDirectory()
const;
225 void _updateTreeCacheSizeInformation();
227 void _updateTagCacheSizeInformation();
244 bool _flushAndCheckDICOMTreeCacheOverflow(
ProgressLogger &logger);
259 void _appendDirectDicomImportFields();
262 void _updateInfoFields(
bool updateTagDump);
265 void _showCurrentIssue();
336 BoolField *_writeSingleVolumeCacheFilesFld;
348 IntField *_consoleSizeInKiloBytesFld;
366 BoolField *_clearSingleFrameCacheAfterImportFld;
405 IntField *_maxCachedMegaBytesTreeCacheFld;
408 IntField *_maxCachedMegaBytesTagCacheFld;
433 IntField *_totalSlicesMultTimePointsFld;
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORT_EXPORT
Only for diagnostic purposes.
An instance of this class creates singleton proxies for DICOMCachedIO cache classes such that all cac...
Field to encapsulate a pointer to an ML base object.
Field to encapsulate a boolean value.
Class managing fields to show and handle a DICOM tree tag dump.
Class handling all DICOM Processor Library Import (DPL) stuff for the DirectDicomImport module.
Base importer class for the DirectDicomImport module.
Derived importer to import non DICOM files into DirectDicomImport.
Imports image files directly from DICOM or other file types without an intermediate representation.
void handleNotification(Field *field) override
Handle field changes of the field field.
bool isStopImportingPressed() const
Returns true if _stopImporting is pressed otherwise it returns false.
void updateProgressIndicator(const std::string &info, float state)
Update a progress indicator about the current import state.
void _resetMessageFlags()
Resets the error/warnings error state to no errors/warnings.
static bool isStopImportingPressedCB(void *ddiOpPtr)
Static callback version of isStopImportingPressed(), requires either nullptr as argument or a valid D...
~DirectDicomImport() override
Destructor.
virtual void calculateOutputImageProperties(int outIndex, PagedImage *outImg) override
Sets properties of the output image at output outIndex.
DirectDicomImport()
Constructor.
void activateAttachments() override
Update internal module state after load or clone and enable notification handling again.
void updateConsole(bool force=true)
Updates the _consoleFld.
virtual DicomConfigurableMessageFilterBaseRefCountedPtr _getMessageCollector()
Convenience routine to returns a new instance of a message collector to be used for message handling;...
MultiFileVolumeList & getNonConstOutVolumes()
Provides non constant access to list of all imported output volumes.
virtual void calculateOutputSubImage(SubImage *outSubImg, int outIndex, SubImage *inSubImgs) override
Calculates page outSubImg of output image with index outIndex by using inSubimgs.
static void updateProgressIndicatorCB(void *userData, const std::string &info, float state)
Static callback version to update a progress indicator about the current import state.
const MultiFileVolumeList & getConstOutVolumes() const
Provides constant access to list of all imported output volumes.
Field to encapsulate a double value.
Base class for all fields used in the ML.
Field to encapsulate an integer value.
Base class for an image processing module of the ML.
The ML module class MultiFileVolumeListImageOutput for extending the number of image outputs of Multi...
Manages the volume list view and its contents for the DirectDicomImport module.
Class managing a list of MultiFileVolume instances for the DirectDicomImport module; taking ownership...
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Field without value for notifications.
Class which represents an image, which manages properties of an image and image data which is located...
Field to encapsulate an increasing float value from range [0,1].
Configurable logger and progress handler class which can be used as base class for logging,...
Field to encapsulate a string value.
This class manages/represents a rectangular 6d image region which is organized linearly in memory.
Class to measure precise time intervals.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
An instance of this class creates singleton proxies for DICOMCachedIO cache classes such that all cac...
Header file of ML module class DicomConfigurableMessageFilter usable as plugin for modules which prod...
Header file for the DicomTagDumpFieldAddOn which manages fields to show and handle a DICOM tree tag d...
A concrete module class for file and DCMTree filtering which can be used by FileList importers to fil...
The ML module class MultiFileVolumeListImageOutput for extending the number of image outputs of Multi...
Reference counted Base class encapsulating a list of MultiFileVolume instances.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tree > Const_TreePtr