ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkLandmarksReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkLandmarksReader.h
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef itkLandmarksReader_h
18 #define itkLandmarksReader_h
19 
20 #include "itkProcessObject.h"
21 #include "itkImage.h"
23 #include "itkSpatialObjectReader.h"
24 
25 namespace itk
26 {
27 
36 template <unsigned int NDimension>
37 class ITK_EXPORT LandmarksReader : public ProcessObject
38 {
39 public:
45 
47  itkNewMacro(Self);
48 
50  itkTypeMacro(LandmarksReader, ProcessObject);
51 
53  itkStaticConstMacro(Dimension, unsigned int, NDimension);
54 
59 
62  const SpatialObjectType * GetOutput() const;
63 
65  itkSetStringMacro( FileName );
66  itkGetStringMacro( FileName );
68 
69 protected:
71  virtual ~LandmarksReader();
72  void PrintSelf(std::ostream& os, Indent indent) const;
73 
74  void GenerateData();
75 
76 private:
77  LandmarksReader(const Self&); //purposely not implemented
78  void operator=(const Self&); //purposely not implemented
79 
80 
85 
86  std::string m_FileName;
88 };
89 
90 } // end namespace itk
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 # include "itkLandmarksReader.hxx"
94 #endif
95 
96 #endif
LandmarkSpatialObject< NDimension > SpatialObjectType
Light weight base class for most itk classes.
SpatialObjectType::Pointer SpatialObjectPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
a SceneSpatialObject has a list of SpatialObjects
Representation of a Landmark based on the spatial object classes.
SpatialObjectReaderType::SceneType SceneType
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
Class that reads a file containing spatial object landmarks.
std::list< SpatialObjectPointer > ObjectListType
SceneType::ObjectListType ObjectListType
SpatialObjectReaderType::Pointer SpatialObjectReaderPointer
SpatialObjectReaderPointer m_SpatialObjectReader
Control indentation during Print() invocation.
Definition: itkIndent.h:49
SpatialObjectReader< NDimension, unsigned short > SpatialObjectReaderType