18 #ifndef __itkScalarToArrayCastImageFilter_h
19 #define __itkScalarToArrayCastImageFilter_h
20 #if !defined( ITK_LEGACY_REMOVE )
42 template<
typename TInputImage,
typename TOutputImage >
43 class ScalarToArrayCastImageFilter:
44 public ImageToImageFilter< TInputImage, TOutputImage >
48 typedef ScalarToArrayCastImageFilter Self;
49 typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass;
55 itkTypeMacro(ScalarToArrayCastImageFilter, ImageToImageFilter);
58 typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
59 typedef typename TOutputImage::PixelType OutputImagePixelType;
61 #ifdef ITK_USE_CONCEPT_CHECKING
64 ( Concept::HasNumericTraits< typename OutputImagePixelType::ValueType > ) );
66 ( Concept::HasPixelTraits< OutputImagePixelType > ) );
71 ScalarToArrayCastImageFilter();
72 virtual ~ScalarToArrayCastImageFilter() {}
74 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
78 ScalarToArrayCastImageFilter(
const Self &);
79 void operator=(
const Self &);
83 #ifndef ITK_MANUAL_INSTANTIATION
84 #include "itkScalarToArrayCastImageFilter.hxx"
87 #endif //#if !defined( ITK_LEGACY_REMOVE )
#define itkConceptMacro(name, concept)
unsigned int ThreadIdType