Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkExampleDataStructureReaderService.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 mitkExampleDataStructureReaderService_h
14
#define mitkExampleDataStructureReaderService_h
15
16
#include "
mitkCommon.h
"
17
#include "
mitkExampleDataStructure.h
"
18
#include <
mitkAbstractFileReader.h
>
19
#include <
mitkBaseData.h
>
20
#include <
mitkMimeType.h
>
21
22
namespace
mitk
23
{
27
class
ExampleDataStructureReaderService
:
public
mitk::AbstractFileReader
28
{
29
public
:
30
typedef
mitk::ExampleDataStructure
OutputType
;
31
32
ExampleDataStructureReaderService
(
const
ExampleDataStructureReaderService
&other);
33
ExampleDataStructureReaderService
();
34
~ExampleDataStructureReaderService
()
override
;
35
36
using
AbstractFileReader::Read
;
37
38
protected
:
39
std::vector<itk::SmartPointer<BaseData>>
DoRead
()
override
;
40
41
private
:
42
ExampleDataStructureReaderService
*Clone()
const override
;
43
44
us::ServiceRegistration<mitk::IFileReader>
m_ServiceReg;
45
};
46
47
}
// namespace MITK
48
49
#endif
mitk::ExampleDataStructure
Example Data Structure.
Definition:
mitkExampleDataStructure.h:27
mitk::ExampleDataStructureReaderService::ExampleDataStructureReaderService
ExampleDataStructureReaderService()
mitkExampleDataStructure.h
mitk::AbstractFileReader
Base class for creating mitk::BaseData objects from files or streams.
Definition:
mitkAbstractFileReader.h:42
mitkMimeType.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkCommon.h
mitk::ExampleDataStructureReaderService::~ExampleDataStructureReaderService
~ExampleDataStructureReaderService() override
mitkAbstractFileReader.h
mitk::ExampleDataStructureReaderService::OutputType
mitk::ExampleDataStructure OutputType
Definition:
mitkExampleDataStructureReaderService.h:30
mitk::ExampleDataStructureReaderService::DoRead
std::vector< itk::SmartPointer< BaseData > > DoRead() override
mitk::ExampleDataStructureReaderService
The reader service for the MITK example data type.
Definition:
mitkExampleDataStructureReaderService.h:27
mitkBaseData.h
us::ServiceRegistration< mitk::IFileReader >
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
src
MITK
Examples
FirstSteps
NewModule
autoload
IO
mitkExampleDataStructureReaderService.h
Generated on Sat Nov 23 2024 02:13:10 for Medical Imaging Interaction Toolkit by
1.8.17