MeVisLab Toolbox Reference
mlDirectDicomImportDPLSecondPassPartitioner.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
6
13//----------------------------------------------------------------------------------
14#pragma once
15
16// Local includes
18
19// ML includes
20#include <mlTypeDefs.h>
21#include <FMEThirdPartyWarningsDisable.h>
22#include <list>
23#include <vector>
24#include <FMEThirdPartyWarningsRestore.h>
25#include <mlErrorMacros.h>
26
27// For the partitioning provider.
28#include "DPL_TypeDefs.h"
29#include "DPL_SecondPassPartitioner.h"
30
31namespace DPL {
32 class Configuration;
33 class TagValueProvider;
34 class ErrorInfo;
36 class Logger;
37}
38
40
41 //----------------------------------------------------------------------------------
44 //----------------------------------------------------------------------------------
46 {
47 public:
48
50 DirectDicomImportDPLSecondPassPartitioner( DPL::Logger* /*logger*/ = nullptr );
51
54
56 std::vector< DPL::TagInfo > processingTags( DPL::ErrorInfo* /*error*/ = nullptr ) const override;
57
64 void partition( const std::vector< DPL::FrameId > &frameIds,
65 std::list< DPL::PartitioningPointer > &partitioningPointersList,
66 size_t currentCycle,
67 const DPL::TagValueProvider &tagValueProvider,
68 DPL::ErrorInfo *error = nullptr ) override;
69 private:
70 // Message output logger.
71 //DPL::Logger *_logger; // Still not used.
72
74 std::vector< DPL::TagInfo > _partitioningTags;
75 };
76
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...
void partition(const std::vector< DPL::FrameId > &frameIds, std::list< DPL::PartitioningPointer > &partitioningPointersList, size_t currentCycle, const DPL::TagValueProvider &tagValueProvider, DPL::ErrorInfo *error=nullptr) override
Insert partitioning pointers after each multiframe file.
~DirectDicomImportDPLSecondPassPartitioner() override
Default and standard constructor.
std::vector< DPL::TagInfo > processingTags(DPL::ErrorInfo *=nullptr) const override
Add the tags needed for processing the partitioning.
DirectDicomImportDPLSecondPassPartitioner(DPL::Logger *=nullptr)
Default and standard constructor, logger argument is still unused.
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