Medical Imaging Interaction Toolkit
2024.06.00
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
{
21
class
LegacyFileWriterService
:
public
mitk::AbstractFileWriter
22
{
23
public
:
24
LegacyFileWriterService
(
mitk::FileWriter::Pointer
legacyWriter,
const
std::string &description);
25
26
~LegacyFileWriterService
()
override
;
27
28
using
AbstractFileWriter::Write
;
29
30
void
Write
()
override
;
31
32
ConfidenceLevel
GetConfidenceLevel
()
const override
;
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
mitkAbstractFileWriter.h
mitk::LegacyFileWriterService::GetConfidenceLevel
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
mitk::LegacyFileWriterService::~LegacyFileWriterService
~LegacyFileWriterService() override
itk::SmartPointer< Self >
mitk::AbstractFileWriter::Write
void Write() override=0
Write the base data to the specified location or output stream.
mitk::AbstractFileWriter
Base class for writing mitk::BaseData objects to files or streams.
Definition:
mitkAbstractFileWriter.h:50
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::LegacyFileWriterService
Definition:
mitkLegacyFileWriterService.h:21
mitkFileWriter.h
mitk::IFileIO::ConfidenceLevel
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data.
Definition:
mitkIFileIO.h:45
us::ServiceRegistration
Definition:
usServiceRegistration.h:48
mitk::LegacyFileWriterService::LegacyFileWriterService
LegacyFileWriterService(mitk::FileWriter::Pointer legacyWriter, const std::string &description)
mitk::LegacyFileWriterService::Write
void Write() override
Write the base data to the specified location or output stream.
src
MITK
Modules
Core
src
IO
mitkLegacyFileWriterService.h
Generated on Mon Jun 17 2024 12:43:27 for Medical Imaging Interaction Toolkit by
1.8.17