SimpleITK  1.2.4
sitkTileImageFilter.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 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<3>
45  {
46  public:
48 
50  virtual ~TileImageFilter();
51 
52 
56 
59 
60 
61 
62 
65  SITK_RETURN_SELF_TYPE_HEADER SetLayout ( const std::vector<uint32_t> & Layout ) { this->m_Layout = Layout; return *this; }
66 
69  std::vector<uint32_t> GetLayout() const { return this->m_Layout; }
70 
73  SITK_RETURN_SELF_TYPE_HEADER SetDefaultPixelValue ( double DefaultPixelValue ) { this->m_DefaultPixelValue = DefaultPixelValue; return *this; }
74 
77  double GetDefaultPixelValue() const { return this->m_DefaultPixelValue; }
79  std::string GetName() const { return std::string ("TileImageFilter"); }
80 
82  std::string ToString() const;
83 
85  Image Execute ( const std::vector<Image> &images);
86  Image Execute ( const Image& image1 );
87  Image Execute ( const Image& image1, const Image& image2 );
88  Image Execute ( const Image& image1, const Image& image2, const Image& image3 );
89  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4 );
90  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5 );
91 
92 
93 
95  Image Execute ( const std::vector<Image> &images, const std::vector<uint32_t> & layout, double defaultPixelValue );
96  Image Execute ( const Image& image1, const std::vector<uint32_t> & layout, double defaultPixelValue );
97  Image Execute ( const Image& image1, const Image& image2, const std::vector<uint32_t> & layout, double defaultPixelValue );
98  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const std::vector<uint32_t> & layout, double defaultPixelValue );
99  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const std::vector<uint32_t> & layout, double defaultPixelValue );
100  Image Execute ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5, const std::vector<uint32_t> & layout, double defaultPixelValue );
101 
102 
103 
104 
105  private:
106 
109  typedef Image (Self::*MemberFunctionType)( const std::vector<Image> & );
110  template <class TImageType> Image ExecuteInternal ( const std::vector<Image> &images );
111 
112 
113 
114  friend struct detail::MemberFunctionAddressor<MemberFunctionType>;
115 
116  nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> > m_MemberFactory;
117 
118 
119  std::vector<uint32_t> m_Layout;
121  };
122 
123 
133  SITKBasicFilters_EXPORT Image Tile ( const std::vector<Image> &images , const std::vector<uint32_t> & layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
134 
135  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const 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 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 std::vector<uint32_t> & layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
138  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const std::vector<uint32_t> & layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
139  SITKBasicFilters_EXPORT Image Tile ( const Image& image1, const Image& image2, const Image& image3, const Image& image4, const Image& image5, const std::vector<uint32_t> & layout = std::vector<uint32_t>(3, 100), double defaultPixelValue = 0.0 );
140 
143 }
144 }
145 #endif
Image Tile(const std::vector< Image > &images, const std::vector< uint32_t > &layout=std::vector< uint32_t >(3, 100), double defaultPixelValue=0.0)
Tile multiple input images into a single output image.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT
std::vector< uint32_t > m_Layout
std::vector< uint32_t > GetLayout() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The Image class for SimpleITK.
Definition: sitkImage.h:78
Tile multiple input images into a single output image.
Self & SetDefaultPixelValue(double DefaultPixelValue)
Self & SetLayout(const std::vector< uint32_t > &Layout)
NonLabelPixelIDTypeList PixelIDTypeList
The base interface for SimpleITK filters that take one input image.