Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
Core/src/IO/mitkRawImageFileReader.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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef MITKRAWIMAGEFILEREADER_H_
18
#define MITKRAWIMAGEFILEREADER_H_
19
20
#include "
mitkAbstractFileReader.h
"
21
22
namespace
mitk
23
{
28
class
RawImageFileReaderService
:
public
AbstractFileReader
29
{
30
public
:
32
typedef
enum
{
UCHAR
,
SCHAR
,
USHORT
,
SSHORT
,
UINT
,
SINT
,
FLOAT
,
DOUBLE
}
IOPixelType
;
33
35
typedef
enum
{
LITTLE
,
BIG
}
EndianityType
;
36
37
RawImageFileReaderService
();
38
39
protected
:
40
RawImageFileReaderService
(
const
RawImageFileReaderService
&other);
41
42
virtual
std::vector<itk::SmartPointer<BaseData>>
Read
()
override
;
43
44
using
mitk::AbstractFileReader::Read
;
45
46
private
:
47
template
<
typename
TPixel,
unsigned
int
VImageDimensions>
48
mitk::BaseData::Pointer
TypedRead(
const
std::string &path,
EndianityType
endianity,
int
*size);
49
50
RawImageFileReaderService
*Clone()
const override
;
51
53
itk::Vector<int, 3> m_Dimensions;
54
};
55
56
}
// namespace mitk
57
58
#endif
/* MITKRAWIMAGEFILEREADER_H_ */
mitk::RawImageFileReaderService::SINT
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::USHORT
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::EndianityType
EndianityType
Definition:
Core/src/IO/mitkRawImageFileReader.h:35
mitk::RawImageFileReaderService::BIG
Definition:
Core/src/IO/mitkRawImageFileReader.h:35
mitk::RawImageFileReaderService::DOUBLE
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::RawImageFileReaderService::SSHORT
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::AbstractFileReader::Read
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
Definition:
mitkAbstractFileReader.cpp:89
mitk::RawImageFileReaderService::LITTLE
Definition:
Core/src/IO/mitkRawImageFileReader.h:35
mitk::RawImageFileReaderService::UINT
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::SCHAR
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::IOPixelType
IOPixelType
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::UCHAR
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::RawImageFileReaderService
RawImageFileReaderService()
Definition:
Core/src/IO/mitkRawImageFileReader.cpp:27
mitkAbstractFileReader.h
mitk::AbstractFileReader
Base class for creating mitk::BaseData objects from files or streams.
Definition:
mitkAbstractFileReader.h:46
mitk::RawImageFileReaderService
Definition:
Core/src/IO/mitkRawImageFileReader.h:28
mitk::RawImageFileReaderService::FLOAT
Definition:
Core/src/IO/mitkRawImageFileReader.h:32
mitk::RawImageFileReaderService::Read
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
Definition:
Core/src/IO/mitkRawImageFileReader.cpp:72
itk::SmartPointer< Self >
git
MITK
Modules
Core
src
IO
mitkRawImageFileReader.h
Generated on Fri Feb 3 2017 20:52:07 for Medical Imaging Interaction Toolkit by
1.8.9.1