Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkLegacyFileWriterService.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkLegacyFileWriterService_h
14 #define mitkLegacyFileWriterService_h
15 
16 #include <mitkAbstractFileWriter.h>
17 #include <mitkFileWriter.h>
18 
19 namespace mitk
20 {
22  {
23  public:
24  LegacyFileWriterService(mitk::FileWriter::Pointer legacyWriter, const std::string &description);
25 
27 
29 
30  void Write() override;
31 
33 
34  private:
35  LegacyFileWriterService *Clone() const override;
36 
37  mitk::FileWriter::Pointer m_LegacyWriter;
38 
39  us::ServiceRegistration<IFileWriter> m_ServiceRegistration;
40  };
41 
42 } // namespace mitk
43 
44 #endif
Base class for writing mitk::BaseData objects to files or streams.
void Write() override=0
Write the base data to the specified location or output stream.
void Write() override
Write the base data to the specified location or output stream.
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
LegacyFileWriterService(mitk::FileWriter::Pointer legacyWriter, const std::string &description)
Find image slices visible on a given plane.
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data.
Definition: mitkIFileIO.h:46