--- /dev/null
+/*=========================================================================
+ *
+ * COPY OF itkPasteImageFilter to remove VerifyInputInformation
+ *
+ *=========================================================================*/
+
+#ifndef __clitkPasteImageFilter_h
+#define __clitkPasteImageFilter_h
+
+#include "itkPasteImageFilter.h"
+
+namespace clitk
+{
+ using namespace itk;
+
+ template< class TInputImage, class TSourceImage = TInputImage, class TOutputImage = TInputImage >
+ class ITK_EXPORT PasteImageFilter:
+ public itk::PasteImageFilter< TInputImage, TSourceImage, TOutputImage >
+ {
+ public:
+ virtual void VerifyInputInformation() { }
+
+ /** Standard class typedefs. */
+ typedef PasteImageFilter Self;
+ typedef InPlaceImageFilter< TInputImage, TOutputImage > Superclass;
+ typedef SmartPointer< Self > Pointer;
+ typedef SmartPointer< const Self > ConstPointer;
+
+ /** Method for creation through the object factory. */
+ itkNewMacro(Self);
+
+ /** Run-time type information (and related methods). */
+ itkTypeMacro(PasteImageFilter, InPlaceImageFilter);
+
+ protected:
+ PasteImageFilter();
+ ~PasteImageFilter() {}
+
+ private:
+ PasteImageFilter(const Self &); //purposely not implemented
+ void operator=(const Self &); //purposely not implemented
+ };
+} // end namespace itk
+
+#ifndef ITK_MANUAL_INSTANTIATION
+#include "clitkPasteImageFilter.hxx"
+#endif
+
+#endif
--- /dev/null
+/*=========================================================================
+ *
+ * COPY OF itkPasteImageFilter to remove VerifyInputInformation
+ *
+ *=========================================================================*/
+
+#ifndef __clitkPasteImageFilter_hxx
+#define __clitkPasteImageFilter_hxx
+
+#include "itkPasteImageFilter.h"
+
+namespace clitk
+{
+ template< class TInputImage, class TSourceImage, class TOutputImage >
+ PasteImageFilter< TInputImage, TSourceImage, TOutputImage >
+ ::PasteImageFilter()
+ {
+ this->ProcessObject::SetNumberOfRequiredInputs(2);
+
+ this->InPlaceOff();
+ this->m_DestinationIndex.Fill(0);
+ }
+
+} // end namespace clitk
+
+#endif