ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkCompositeTransformIOHelper.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 __itkCompositeTransformIOHelper_h
19 #define __itkCompositeTransformIOHelper_h
20 
21 #include "itkTransformIOBase.h"
22 #include "itkCompositeTransform.h"
23 
24 namespace itk
25 {
26 
45 template <typename TScalar>
47 {
48 public:
54 
64 
70  void SetTransformList(TransformType *transform,TransformListType &transformList);
71 
72 private:
74 
79  template <unsigned TDim>
80  int BuildTransformList(const TransformType *transform);
81 
87  template <unsigned TDim>
88  int InternalSetTransformList(TransformType *transform,TransformListType &transformList);
89 
90 };
91 
94 
95 } // namespace itk
96 
97 #ifndef ITK_MANUAL_INSTANTIATION
98 #include "itkCompositeTransformIOHelper.hxx"
99 #endif
100 
101 #endif // __itkCompositeTransformIOHelper_h
CompositeTransformIOHelperTemplate< double > CompositeTransformIOHelper
TransformIOBaseTemplate< TScalar >::TransformPointer TransformPointer
ConstTransformListType & GetTransformList(const TransformType *transform)
TransformIOBaseTemplate< TScalar >::ConstTransformPointer ConstTransformPointer
TransformIOBaseTemplate< TScalar >::TransformListType TransformListType
void SetTransformList(TransformType *transform, TransformListType &transformList)
An adapter that adapts CompositeTransform into the TransformReader/Writer.
TransformIOBaseTemplate< TScalar >::TransformType TransformType
std::list< TransformPointer > TransformListType
std::list< ConstTransformPointer > ConstTransformListType
int BuildTransformList(const TransformType *transform)
TransformIOBaseTemplate< TScalar >::ConstTransformListType ConstTransformListType
int InternalSetTransformList(TransformType *transform, TransformListType &transformList)