go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkTransformixInputPointFileReader.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __itkTransformixInputPointFileReader_h
16 #define __itkTransformixInputPointFileReader_h
17 
18 #include "itkMeshFileReaderBase.h"
19 
20 #include <fstream>
21 
22 namespace itk
23 {
24 
41 template< class TOutputMesh >
43 {
44 public:
45 
49  typedef SmartPointer< Self > Pointer;
50  typedef SmartPointer< const Self > ConstPointer;
51 
53  itkNewMacro( Self );
54 
57 
59  typedef typename Superclass::DataObjectPointer DatabObjectPointer;
62 
66  itkGetConstMacro( PointsAreIndices, bool );
67 
79  itkGetConstMacro( NumberOfPoints, unsigned long );
80 
84  virtual void GenerateOutputInformation( void );
85 
86 protected:
87 
90 
92  virtual void GenerateData( void );
93 
94  unsigned long m_NumberOfPoints;
96 
97  std::ifstream m_Reader;
98 
99 private:
100 
101  TransformixInputPointFileReader( const Self & ); // purposely not implemented
102  void operator=( const Self & ); // purposely not implemented
103 
104 };
105 
106 } // end namespace itk
107 
108 #ifndef ITK_MANUAL_INSTANTIATION
109 #include "itkTransformixInputPointFileReader.hxx"
110 #endif
111 
112 #endif
Superclass::OutputMeshPointer OutputMeshPointer
Superclass::OutputMeshType OutputMeshType
Base class for mesh readers.
A reader that understands transformix input point files.
virtual void GenerateOutputInformation(void)


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo