18 #ifndef sitkPasteImageFilter_h
19 #define sitkPasteImageFilter_h
73 SITK_RETURN_SELF_TYPE_HEADER
76 this->m_SourceSize = std::move(SourceSize);
82 std::vector<unsigned int>
85 return this->m_SourceSize;
90 SITK_RETURN_SELF_TYPE_HEADER
93 this->m_SourceIndex = std::move(SourceIndex);
102 return this->m_SourceIndex;
108 SITK_RETURN_SELF_TYPE_HEADER
111 this->m_DestinationIndex = std::move(DestinationIndex);
121 return this->m_DestinationIndex;
133 SITK_RETURN_SELF_TYPE_HEADER
136 this->m_DestinationSkipAxes = std::move(DestinationSkipAxes);
151 return this->m_DestinationSkipAxes;
159 return std::string(
"PasteImageFilter");
170 Execute(
Image && destinationImage,
const Image & sourceImage);
172 Execute(
Image && destinationImage,
double constant);
175 Execute(
const Image & destinationImage,
const Image & sourceImage);
177 Execute(
const Image & destinationImage,
double constant);
184 template <
class TImageType>
186 ExecuteInternal(
const Image * destinationImage,
const Image * sourceImage);
188 template <
class TImageType,
unsigned int OutputDimension>
190 ExecuteInternal(
const TImageType * destinationImage,
191 const Image * sourceImage,
192 std::integral_constant<unsigned int, OutputDimension> meta);
193 template <
class TImageType>
195 ExecuteInternal(
const TImageType * destinationImage,
196 const Image * sourceImage,
197 std::integral_constant<unsigned int, 1> meta);
205 template <
class TImageType>
207 ExecuteInternal(
const Image * image,
double constant);
218 std::vector<bool> m_DestinationSkipAxes{};
220 bool m_InPlace{
false };
235 const Image & sourceImage,
236 std::vector<unsigned int> sourceSize = std::vector<unsigned int>(
SITK_MAX_DIMENSION, 1),
239 std::vector<bool> DestinationSkipAxes = std::vector<bool>());
243 const Image & sourceImage,
244 std::vector<unsigned int> sourceSize = std::vector<unsigned int>(
SITK_MAX_DIMENSION, 1),
247 std::vector<bool> DestinationSkipAxes = std::vector<bool>());