SimpleITK  2.0.0
sitkBSplineTransformInitializerFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 *
3 * Copyright NumFOCUS
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 sitkBSplineTransformInitializerFilter_h
19 #define sitkBSplineTransformInitializerFilter_h
20 
21 /*
22  * WARNING: DO NOT EDIT THIS FILE!
23  * THIS FILE IS AUTOMATICALLY GENERATED BY THE SIMPLEITK BUILD PROCESS.
24  * Please look at sitkImageFilterTemplate.h.in to make changes.
25  */
26 
27 #include <memory>
28 
29 #include "sitkBasicFilters.h"
30 #include "sitkImageFilter.h"
31 #include "sitkBSplineTransform.h"
32 
33 namespace itk {
34  namespace simple {
35 
49  public:
51 
55 
58 
61 
62 
66  SITK_RETURN_SELF_TYPE_HEADER SetTransformDomainMeshSize ( const std::vector<uint32_t> & TransformDomainMeshSize ) { this->m_TransformDomainMeshSize = TransformDomainMeshSize; return *this; }
67 
70  std::vector<uint32_t> GetTransformDomainMeshSize() const { return this->m_TransformDomainMeshSize; }
71 
76  SITK_RETURN_SELF_TYPE_HEADER SetOrder(unsigned int order) { this->m_Order = order; return *this; }
77  unsigned int GetOrder() const {return this->m_Order;}
78 
80  std::string GetName() const override { return std::string ("BSplineTransformInitializerFilter"); }
81 
83  std::string ToString() const override;
84 
85 
87  BSplineTransform Execute ( const Image& image1 );
88 
89  private:
90 
93  typedef BSplineTransform (Self::*MemberFunctionType)( const Image& image1 );
94  template <class TImageType> BSplineTransform ExecuteInternal ( const Image& image1 );
95  template <unsigned int NDimension,unsigned int NOrder>
96  BSplineTransform ExecuteInternalWithOrder ( const Image& image1 );
97 
98 
99  friend struct detail::MemberFunctionAddressor<MemberFunctionType>;
100 
101  std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> > m_MemberFactory;
102 
103 
104  std::vector<uint32_t> m_TransformDomainMeshSize;
105  unsigned int m_Order;
106  };
107 
108 
124  const std::vector<uint32_t> & transformDomainMeshSize = std::vector<uint32_t>(3, 1u),
125  unsigned int order=3u );
126 
127  }
128 }
129 #endif
itk::simple::Image
The Image class for SimpleITK.
Definition: sitkImage.h:75
sitkBasicFilters.h
itk::simple::detail::MemberFunctionAddressor
Definition: sitkDetail.h:32
itk::simple::BSplineTransformInitializer
BSplineTransform BSplineTransformInitializer(const Image &image1, const std::vector< uint32_t > &transformDomainMeshSize=std::vector< uint32_t >(3, 1u), unsigned int order=3u)
BSplineTransformInitializerFilter is a helper class intended to initialize the control point grid suc...
itk::simple::BSplineTransformInitializerFilter::m_TransformDomainMeshSize
std::vector< uint32_t > m_TransformDomainMeshSize
Definition: sitkBSplineTransformInitializerFilter.h:104
itk::simple::AllPixelIDTypeList
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, typelist::Append< VectorPixelIDTypeList, LabelPixelIDTypeList >::Type >::Type AllPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:195
itk::simple::BSplineTransformInitializerFilter::SetOrder
Self & SetOrder(unsigned int order)
Definition: sitkBSplineTransformInitializerFilter.h:76
sitkImageFilter.h
itk::simple::BSplineTransformInitializerFilter::m_Order
unsigned int m_Order
Definition: sitkBSplineTransformInitializerFilter.h:105
itk::simple::BSplineTransformInitializerFilter::GetTransformDomainMeshSize
std::vector< uint32_t > GetTransformDomainMeshSize() const
Definition: sitkBSplineTransformInitializerFilter.h:70
itk::simple::BSplineTransformInitializerFilter::GetName
std::string GetName() const override
Definition: sitkBSplineTransformInitializerFilter.h:80
itk::simple::BSplineTransformInitializerFilter::PixelIDTypeList
AllPixelIDTypeList PixelIDTypeList
Definition: sitkBSplineTransformInitializerFilter.h:60
sitkBSplineTransform.h
SITKBasicFilters_EXPORT
#define SITKBasicFilters_EXPORT
Definition: sitkBasicFilters.h:52
itk::simple::BSplineTransformInitializerFilter::SetTransformDomainMeshSize
Self & SetTransformDomainMeshSize(const std::vector< uint32_t > &TransformDomainMeshSize)
Definition: sitkBSplineTransformInitializerFilter.h:66
itk::simple::BSplineTransformInitializerFilter
BSplineTransformInitializerFilter is a helper class intended to initialize the control point grid suc...
Definition: sitkBSplineTransformInitializerFilter.h:48
itk::simple::BSplineTransformInitializerFilter::m_MemberFactory
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Definition: sitkBSplineTransformInitializerFilter.h:101
itk
itk::simple::ProcessObject
Base class for SimpleITK classes based on ProcessObject.
Definition: sitkProcessObject.h:51
itk::simple::BSplineTransformInitializerFilter::GetOrder
unsigned int GetOrder() const
Definition: sitkBSplineTransformInitializerFilter.h:77
itk::simple::BSplineTransform
A deformable transform over a bounded spatial domain using a BSpline representation for a 2D or 3D co...
Definition: sitkBSplineTransform.h:35