Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Common
itkTransformixInputPointFileReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
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
#ifndef __itkTransformixInputPointFileReader_h
20
#define __itkTransformixInputPointFileReader_h
21
22
#include "
itkMeshFileReaderBase.h
"
23
24
#include <fstream>
25
26
namespace
itk
27
{
28
45
template
<
class
TOutputMesh >
46
class
TransformixInputPointFileReader
:
public
MeshFileReaderBase
< TOutputMesh >
47
{
48
public
:
49
51
typedef
TransformixInputPointFileReader
Self
;
52
typedef
MeshFileReaderBase< TOutputMesh >
Superclass
;
53
typedef
SmartPointer< Self >
Pointer
;
54
typedef
SmartPointer< const Self >
ConstPointer
;
55
57
itkNewMacro( Self );
58
60
itkTypeMacro(
TransformixInputPointFileReader
,
MeshFileReaderBase
);
61
63
typedef
typename
Superclass::DataObjectPointer
DatabObjectPointer
;
64
typedef
typename
Superclass::OutputMeshType
OutputMeshType
;
65
typedef
typename
Superclass::OutputMeshPointer
OutputMeshPointer
;
66
70
itkGetConstMacro( PointsAreIndices,
bool
);
71
83
itkGetConstMacro( NumberOfPoints,
unsigned
long
);
84
88
virtual
void
GenerateOutputInformation
(
void
);
89
90
protected
:
91
92
TransformixInputPointFileReader
();
93
virtual
~TransformixInputPointFileReader
();
94
96
virtual
void
GenerateData
(
void
);
97
98
unsigned
long
m_NumberOfPoints
;
99
bool
m_PointsAreIndices
;
100
101
std::ifstream
m_Reader
;
102
103
private
:
104
105
TransformixInputPointFileReader
(
const
Self & );
// purposely not implemented
106
void
operator=
(
const
Self & );
// purposely not implemented
107
108
};
109
110
}
// end namespace itk
111
112
#ifndef ITK_MANUAL_INSTANTIATION
113
#include "itkTransformixInputPointFileReader.hxx"
114
#endif
115
116
#endif
itk::TransformixInputPointFileReader::~TransformixInputPointFileReader
virtual ~TransformixInputPointFileReader()
itk::TransformixInputPointFileReader::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkTransformixInputPointFileReader.h:54
SmartPointer< Self >
itk::TransformixInputPointFileReader::Self
TransformixInputPointFileReader Self
Definition:
itkTransformixInputPointFileReader.h:51
itk::TransformixInputPointFileReader::TransformixInputPointFileReader
TransformixInputPointFileReader()
itk::TransformixInputPointFileReader::m_NumberOfPoints
unsigned long m_NumberOfPoints
Definition:
itkTransformixInputPointFileReader.h:98
itk::TransformixInputPointFileReader::OutputMeshPointer
Superclass::OutputMeshPointer OutputMeshPointer
Definition:
itkTransformixInputPointFileReader.h:65
itk::TransformixInputPointFileReader::m_Reader
std::ifstream m_Reader
Definition:
itkTransformixInputPointFileReader.h:101
itk::TransformixInputPointFileReader::Superclass
MeshFileReaderBase< TOutputMesh > Superclass
Definition:
itkTransformixInputPointFileReader.h:52
itk::TransformixInputPointFileReader::DatabObjectPointer
Superclass::DataObjectPointer DatabObjectPointer
Definition:
itkTransformixInputPointFileReader.h:60
itk
Definition:
itkAdvancedImageToImageMetric.h:39
itkMeshFileReaderBase.h
itk::TransformixInputPointFileReader::operator=
void operator=(const Self &)
itk::TransformixInputPointFileReader::GenerateData
virtual void GenerateData(void)
itk::TransformixInputPointFileReader::m_PointsAreIndices
bool m_PointsAreIndices
Definition:
itkTransformixInputPointFileReader.h:99
itk::MeshFileReaderBase::OutputMeshPointer
Superclass::OutputMeshPointer OutputMeshPointer
Definition:
itkMeshFileReaderBase.h:56
itk::TransformixInputPointFileReader::OutputMeshType
Superclass::OutputMeshType OutputMeshType
Definition:
itkTransformixInputPointFileReader.h:64
itk::MeshFileReaderBase::OutputMeshType
Superclass::OutputMeshType OutputMeshType
Definition:
itkMeshFileReaderBase.h:55
itk::MeshFileReaderBase
Base class for mesh readers.
Definition:
itkMeshFileReaderBase.h:37
itk::TransformixInputPointFileReader::Pointer
SmartPointer< Self > Pointer
Definition:
itkTransformixInputPointFileReader.h:53
itk::TransformixInputPointFileReader
A reader that understands transformix input point files.
Definition:
itkTransformixInputPointFileReader.h:46
itk::TransformixInputPointFileReader::GenerateOutputInformation
virtual void GenerateOutputInformation(void)
Generated on OURCE_DATE_EPOCH for elastix by
1.8.13