MeVisLab Toolbox Reference
mlDirectDicomImportDPLSecondPassPartitioningProvider.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
6
12
13//----------------------------------------------------------------------------------
14#pragma once
15
16// Local includes
18
19// ML includes
20#include <mlTypeDefs.h>
21#include <FMEThirdPartyWarningsDisable.h>
22#include <map>
23#include <string>
24#include <FMEThirdPartyWarningsRestore.h>
25
26// For the partitioning provider.
28
29// For the partitioning provider.
30#include "DPL_TypeDefs.h"
31#include "DPL_SecondPassPartitioningProvider.h"
32#include "DPT_IrregularTimePointsPartitioner.h"
33#include "DPT_FrameCopyPartitioner.h"
34
35namespace DPL {
36 class ErrorInfo;
37 class Logger;
38 class SecondPassPartitioner;
39 class TagInfo;
40}
41
43
44//----------------------------------------------------------------------------------
48//----------------------------------------------------------------------------------
50{
51public:
54
58 DPL::SecondPassPartitioner* getPartitioner(const std::string& partitionerName) const override;
59
60private:
62 DPL::Toolbox::FrameCopyPartitioner _fcPartitioner;
63
65 DPL::Toolbox::IrregularTimePointsPartitioner _irrPartitioner;
66
69
71 std::map< std::string, DPL::SecondPassPartitioner* > _partitioners;
72
74 DPL::Logger& _logger;
75
81
82};
83
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORT_EXPORT
Only for diagnostic purposes.
A derived DPL SecondPassPartitioner to avoid that multi-frame files are composed when imported by Dir...
An implementation of the DPL::SecondPassPartitioningProvider class for the DirectDicomImport modules.
DirectDicomImportDPLSecondPassPartitioningProvider(DPL::Logger &logger)
Constructs a new SecondPassPartitioningProvider and populates the map of known partitioners.
DPL::SecondPassPartitioner * getPartitioner(const std::string &partitionerName) const override
Gets a SecondPassPartitioner by name.
A derived DPL SecondPassPartitioner to avoid that multi-frame files are composed when imported by Dir...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Forward and includes of internally used DPL classes.
boost::log::sources::severity_channel_logger< SeverityLevel > Logger