ITK
4.4.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
IO
GE
include
itkGE4ImageIO.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software 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
* http://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
*
20
* Portions of this file are subject to the VTK Toolkit Version 3 copyright.
21
*
22
* Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
23
*
24
* For complete copyright, license and disclaimer of warranty information
25
* please refer to the NOTICE file at the top of the ITK source tree.
26
*
27
*=========================================================================*/
42
#ifndef __itkGE4ImageIO_h
43
#define __itkGE4ImageIO_h
44
45
#include "
itkIPLCommonImageIO.h
"
46
47
namespace
itk
48
{
57
class
ITK_EXPORT
GE4ImageIO
:
public
IPLCommonImageIO
58
{
59
public
:
61
typedef
GE4ImageIO
Self
;
62
typedef
IPLCommonImageIO
Superclass
;
63
typedef
SmartPointer< Self >
Pointer
;
64
66
itkNewMacro(
Self
);
67
69
itkTypeMacro(
GE4ImageIO
,
Superclass
);
70
71
/*-------- This part of the interfaces deals with reading data. ----- */
72
79
virtual
bool
CanReadFile(
const
char
*FileNameToRead);
80
82
// Implemented in superclass
83
// virtual void ReadImageInformation();
84
86
// Implemented in superclass
87
// virtual const std::type_info& GetPixelType() const;
88
90
// Implemented in superclass
91
// virtual void Read(void* buffer);
92
96
// Implemented in superclass
97
// virtual unsigned int GetComponentSize() const;
98
99
/*-------- This part of the interfaces deals with writing data. ----- */
100
101
/* * Determine if the file can be written with this ImageIO implementation.
102
* \param FileNameToWrite The name of the file to test for writing.
103
* \author Hans J. Johnson
104
* \post Sets classes ImageIOBase::m_FileName variable to be FileNameToWrite
105
* \return Returns true if this ImageIO can write the file specified.
106
*/
107
// Implemented in superclass
108
// virtual bool CanWriteFile(const char * FileNameToWrite);
109
110
/* * Set the spacing and dimension information for the set filename. */
111
// Implemented in superclass
112
// virtual void WriteImageInformation();
113
114
/* * Writes the data to disk from the memory buffer provided. Make sure
115
* that the IORegions has been set properly. */
116
// Implemented in superclass
117
// virtual void Write(const void* buffer);
118
119
protected
:
120
GE4ImageIO
();
121
~
GE4ImageIO
();
122
// Implemented in Superclass
123
// void PrintSelf(std::ostream& os, Indent indent) const;
124
virtual
GEImageHeader
* ReadHeader(
const
char
*FileNameToRead);
125
126
private
:
127
GE4ImageIO
(
const
Self
&);
//purposely not implemented
128
float
MvtSunf
(
int
numb);
129
130
void
operator=(
const
Self
&);
//purposely not implemented
131
};
132
}
// end namespace itk
133
134
#endif // __itkGE4ImageIO_h
135
Generated on Mon May 13 2013 00:50:57 for ITK by
1.8.3.1