RTK
2.6.0
Reconstruction Toolkit
RTK
include
rtkOraImageIO.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright RTK Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* https://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
19
#ifndef rtkOraImageIO_h
20
#define rtkOraImageIO_h
21
22
// This is done to avoid any interference with zlib
23
#ifdef OF
24
# undef OF
25
#endif
26
27
#include <
itkMetaImageIO.h
>
28
29
#include "RTKExport.h"
30
#include "
rtkMacro.h
"
31
32
namespace
rtk
33
{
34
45
class
RTK_EXPORT
OraImageIO
:
public
itk::MetaImageIO
46
{
47
public
:
49
using
Self
=
OraImageIO
;
50
using
Superclass
=
itk::MetaImageIO
;
51
using
Pointer
=
itk::SmartPointer<Self>
;
52
54
itkNewMacro(
Self
);
55
57
itkOverrideGetNameOfClassMacro(
OraImageIO
);
58
59
/*-------- This part of the interface deals with reading data. ------ */
60
63
bool
64
CanReadFile(
const
char
* FileNameToRead)
override
;
65
67
void
68
ReadImageInformation()
override
;
69
71
void
72
Read(
void
* buffer)
override
;
73
74
bool
75
CanWriteFile(
const
char
* filename)
override
;
76
77
protected
:
78
std::string
m_MetaFileName
;
79
};
// end class OraImageIO
80
}
// namespace rtk
81
82
#endif
/* end #define rtkOraImageIO_h */
itk::ImageIOBase
rtk
Definition:
rtkMatlabSparseMatrix.h:24
rtkMacro.h
itkMetaImageIO.h
rtk::OraImageIO::m_MetaFileName
std::string m_MetaFileName
Definition:
rtkOraImageIO.h:78
itk::LightProcessObject
itk::SmartPointer< Self >
rtk::OraImageIO
Class for reading Ora Image file format.
Definition:
rtkOraImageIO.h:45
itk::MetaImageIO
Generated on Thu Feb 6 2025 07:30:08 for RTK by
1.8.14