18 #ifndef sitkPasteImageFilter_h
19 #define sitkPasteImageFilter_h
72 SITK_RETURN_SELF_TYPE_HEADER
SetSourceSize ( std::vector<unsigned int> SourceSize ) { this->m_SourceSize = std::move(SourceSize);
return *
this; }
76 std::vector<unsigned int>
GetSourceSize()
const {
return this->m_SourceSize; }\
80 SITK_RETURN_SELF_TYPE_HEADER
SetSourceIndex ( std::vector<int> SourceIndex ) { this->m_SourceIndex = std::move(SourceIndex);
return *
this; }
89 SITK_RETURN_SELF_TYPE_HEADER
SetDestinationIndex ( std::vector<int> DestinationIndex ) { this->m_DestinationIndex = std::move(DestinationIndex);
return *
this; }
105 SITK_RETURN_SELF_TYPE_HEADER
SetDestinationSkipAxes ( std::vector<bool> DestinationSkipAxes ) { this->m_DestinationSkipAxes = std::move(DestinationSkipAxes);
return *
this; }
120 std::string
GetName()
const {
return std::string (
"PasteImageFilter"); }
123 std::string ToString()
const;
128 Image Execute (
Image && destinationImage,
const Image & sourceImage );
129 Image Execute (
Image && destinationImage,
double constant);
131 Image Execute (
const Image & destinationImage,
const Image & sourceImage );
132 Image Execute (
const Image & destinationImage,
double constant);
140 template <
class TImageType>
Image ExecuteInternal (
const Image * destinationImage,
const Image * sourceImage );
142 template <
class TImageType,
unsigned int OutputDimension>
143 Image ExecuteInternal (
const TImageType *destinationImage,
const Image * sourceImage, std::integral_constant<unsigned int, OutputDimension> meta );
144 template <
class TImageType>
145 Image ExecuteInternal (
const TImageType *destinationImage,
const Image * sourceImage, std::integral_constant<unsigned int, 1> meta );
153 template <
class TImageType>
Image ExecuteInternal (
const Image* image,
double constant );
164 std::vector<bool> m_DestinationSkipAxes{};
166 bool m_InPlace{
false};