18 #ifndef __itkScalarToArrayCastImageFilter_h
19 #define __itkScalarToArrayCastImageFilter_h
20 #if !defined( ITK_LEGACY_REMOVE )
42 template<
class TInputImage,
class TOutputImage >
43 class ITK_EXPORT ScalarToArrayCastImageFilter:
44 public ImageToImageFilter< TInputImage, TOutputImage >
48 typedef ScalarToArrayCastImageFilter Self;
49 typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass;
50 typedef SmartPointer< Self > Pointer;
51 typedef SmartPointer< const Self > ConstPointer;
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 > ) );
72 ScalarToArrayCastImageFilter();
73 virtual ~ScalarToArrayCastImageFilter() {}
75 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
79 ScalarToArrayCastImageFilter(
const Self &);
80 void operator=(
const Self &);
84 #ifndef ITK_MANUAL_INSTANTIATION
85 #include "itkScalarToArrayCastImageFilter.hxx"
88 #endif //#if !defined( ITK_LEGACY_REMOVE )