ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkTransformFileReader.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 #ifndef __itkTransformFileReader_h
19 #define __itkTransformFileReader_h
20 
21 #include "itkTransformIOBase.h"
22 
23 namespace itk
24 {
34 template<typename ScalarType>
36 {
37 public:
38 
43 
47 
49  itkNewMacro(Self);
50 
52  typedef Object Superclass;
55 
57  itkSetStringMacro(FileName);
58 
60  itkGetStringMacro(FileName);
61 
63  virtual void Update();
64 
67 
68 protected:
70  TransformFileReaderTemplate(const Self &); //purposely not implemented
71  void operator=(const Self &); //purposely not implemented
72  virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
73 
74  std::string m_FileName;
75 
78  void CreateTransform(TransformPointer & ptr, const std::string & ClassName);
79 
81 };
82 
85 
86 } // namespace itk
87 
88 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
89 #include "itkTransformIOFactoryRegisterManager.h"
90 #endif
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "itkTransformFileReader.hxx"
94 #endif
95 
96 #endif // __itkTransformFileReade_h
Light weight base class for most itk classes.
TransformIOBaseTemplate< ScalarType >::TransformListType TransformListType
TransformType::ParametersType ParametersType
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
Abstract superclass defining the Transform IO interface.
TransformFileReaderTemplate Self
void CreateTransform(TransformPointer &ptr, const std::string &ClassName)
TransformBaseTemplate< ScalarType > TransformType
Class to hold and manage different parameter types used during optimization.
TransformIOBaseTemplate< ScalarType >::Pointer m_TransformIO
itk::TransformFileReaderTemplate< double > TransformFileReader
TransformIOBaseTemplate< ScalarType >::TransformPointer TransformPointer
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Base class for most ITK classes.
Definition: itkObject.h:57