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 <ThirdPartyWarningsDisable.h>
22 #include <list>
23 #include <vector>
24 #include <ThirdPartyWarningsRestore.h>
25 #include <mlErrorMacros.h>
26 
27 // For the partitioning provider.
28 #include "DPL_TypeDefs.h"
29 #include "DPL_SecondPassPartitioner.h"
30 
31 namespace DPL {
32  class Configuration;
33  class TagValueProvider;
34  class ErrorInfo;
35  class PartitioningPointer;
36  class Logger;
37 }
38 
39 ML_START_NAMESPACE
40 
41  //----------------------------------------------------------------------------------
44  //----------------------------------------------------------------------------------
46  {
47  public:
48 
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 
77 ML_END_NAMESPACE
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.
Forward and includes of internally used DPL classes.
boost::log::sources::severity_channel_logger< SeverityLevel > Logger