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:
48  typedef SmartPointer<Self> Pointer;
49  typedef SmartPointer<const Self> ConstPointer;
50 
52  itkNewMacro( Self );
53 
56 
58  typedef typename Superclass::DataObjectPointer DatabObjectPointer;
61 
65  itkGetConstMacro( PointsAreIndices, bool );
66 
78  itkGetConstMacro( NumberOfPoints, unsigned long );
79 
83  virtual void GenerateOutputInformation( void );
84 
85 protected:
88 
90  virtual void GenerateData( void );
91 
92  unsigned long m_NumberOfPoints;
94 
95  std::ifstream m_Reader;
96 
97 private:
98  TransformixInputPointFileReader(const Self&); //purposely not implemented
99  void operator=(const Self&); //purposely not implemented
100 
101 }; // end class
102 
103 } // end namespace itk
104 
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #include "itkTransformixInputPointFileReader.hxx"
107 #endif
108 
109 #endif


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo