SimpleITK  2.0.0
sitkTileImageFilter.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 sitkTileImageFilter_h
19 #define sitkTileImageFilter_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 sitkMultiInputImageFilterTemplate.h.in to make changes.
25  */
26 
27 #include <memory>
28 
29 #include "sitkBasicFilters.h"
30 #include "sitkImageFilter.h"
31 
32 namespace itk {
33  namespace simple {
34 
44  : public ImageFilter
45  {
46  public:
48 
50  virtual ~TileImageFilter();
51 
52 
56 
59 
60 
61 \
62 
66  SITK_RETURN_SELF_TYPE_HEADER SetLayout ( std::vector<uint32_t> Layout ) { this->m_Layout = std::move(Layout); return *this; }
67 
71  std::vector<uint32_t> GetLayout() const { return this->m_Layout; }\
72 
76  SITK_RETURN_SELF_TYPE_HEADER SetDefaultPixelValue ( double DefaultPixelValue ) { this->m_DefaultPixelValue = DefaultPixelValue; return *this; }
77 
81  double GetDefaultPixelValue() const { return this->m_DefaultPixelValue; }
82 
84  std::string GetName() const { return std::string ("TileImageFilter"); }
85 
87  std::string ToString() const;
88 
90  Image Execute ( const std::vector<Image> &images);
91  Image Execute ( const Image& image1 );
92  Image Execute ( const Image& image1, const Image& image2 );
93  Image Execute ( const Image& image1, const Image& image2, const Image& image3 );
94  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4 );
95  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5 );
96 
97 
98 
99 
100  private:
101 
104  using MemberFunctionType = Image (Self::*)( const std::vector<Image> & );
105  template <class TImageType> Image ExecuteInternal ( const std::vector<Image> &images );
106 
107 
108 
110 
111  std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType> > m_MemberFactory;
112 
113 
114  std::vector<uint32_t> m_Layout{std::vector<uint32_t>(3, 100)};
115 
116  double m_DefaultPixelValue{0.0};
117 
118 
119  };
120 
121 
131  SITKBasicFilters_EXPORT Image Tile ( const std::vector<Image> &images , std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
132 
133  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
134  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
135  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, const Image& image3, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
136  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
137  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5, std::vector<uint32_t> layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
138 
141 }
142 }
143 #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::TileImageFilter::m_MemberFactory
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Definition: sitkTileImageFilter.h:111
itk::simple::NonLabelPixelIDTypeList
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
Definition: sitkPixelIDTypeLists.h:180
itk::simple::TileImageFilter::GetLayout
std::vector< uint32_t > GetLayout() const
Definition: sitkTileImageFilter.h:71
itk::simple::TileImageFilter::PixelIDTypeList
NonLabelPixelIDTypeList PixelIDTypeList
Definition: sitkTileImageFilter.h:58
itk::simple::TileImageFilter::GetName
std::string GetName() const
Definition: sitkTileImageFilter.h:84
sitkImageFilter.h
itk::simple::Tile
Image Tile(const std::vector< Image > &images, std::vector< uint32_t > layout=std::vector< uint32_t >(3, 100), double defaultPixelValue=0.0)
Tile multiple input images into a single output image.
itk::simple::TileImageFilter
Tile multiple input images into a single output image.
Definition: sitkTileImageFilter.h:43
itk::simple::TileImageFilter::GetDefaultPixelValue
double GetDefaultPixelValue() const
Definition: sitkTileImageFilter.h:81
itk::simple::TileImageFilter::SetDefaultPixelValue
Self & SetDefaultPixelValue(double DefaultPixelValue)
Definition: sitkTileImageFilter.h:76
SITKBasicFilters_EXPORT
#define SITKBasicFilters_EXPORT
Definition: sitkBasicFilters.h:52
itk::simple::TileImageFilter::SetLayout
Self & SetLayout(std::vector< uint32_t > Layout)
Definition: sitkTileImageFilter.h:66
itk
itk::simple::TileImageFilter::MemberFunctionType
Image(Self::*)(const std::vector< Image > &) MemberFunctionType
Definition: sitkTileImageFilter.h:104
itk::simple::ImageFilter
The base interface for SimpleITK filters that take one input image.
Definition: sitkImageFilter.h:36
itk::Image
Definition: sitkPixelIDTypes.h:26