Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkNavigationDataReaderXML.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
14
#ifndef mitkNavigationDataReaderXML_h
15
#define mitkNavigationDataReaderXML_h
16
17
#include <
MitkIGTIOExports.h
>
18
19
#include <
mitkAbstractFileReader.h
>
20
#include <
mitkNavigationDataSet.h
>
21
// includes for exceptions
22
#include <mitkIGTException.h>
23
#include <mitkIGTIOException.h>
24
25
namespace
mitk
{
26
27
class
MITKIGTIO_EXPORT
NavigationDataReaderXML
:
public
AbstractFileReader
28
{
29
public
:
30
NavigationDataReaderXML
();
31
~
NavigationDataReaderXML
()
override
;
32
33
using
AbstractFileReader::Read
;
34
35
protected
:
36
std::vector<itk::SmartPointer<BaseData>> DoRead()
override
;
37
38
NavigationDataReaderXML
(
const
NavigationDataReaderXML
& other);
39
mitk::NavigationDataReaderXML
* Clone()
const override
;
40
41
std::string
m_FileName
;
42
43
private
:
44
NavigationDataSet::Pointer
Read(std::istream& stream);
45
NavigationDataSet::Pointer
Read(
const
std::string& fileName);
46
};
47
48
}
// namespace mitk
49
50
#endif
mitk::NavigationDataReaderXML::m_FileName
std::string m_FileName
Definition:
mitkNavigationDataReaderXML.h:41
mitk::AbstractFileReader
Base class for creating mitk::BaseData objects from files or streams.
Definition:
mitkAbstractFileReader.h:42
MITKIGTIO_EXPORT
#define MITKIGTIO_EXPORT
Definition:
MitkIGTIOExports.h:15
itk::SmartPointer< Self >
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::NavigationDataReaderXML
Definition:
mitkNavigationDataReaderXML.h:27
MitkIGTIOExports.h
mitkAbstractFileReader.h
mitkNavigationDataSet.h
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
src
MITK
Modules
IGTBase
autoload
IO
mitkNavigationDataReaderXML.h
Generated on Wed May 17 2023 16:26:09 for Medical Imaging Interaction Toolkit by
1.8.17