18 #ifndef itkCastImageFilter_h
19 #define itkCastImageFilter_h
35 template<
typename TInput,
typename TOutput >
36 class ITK_TEMPLATE_EXPORT
Cast
48 return !( *
this != other );
53 return static_cast< TOutput
>( A );
96 template<
typename TInputImage,
typename TOutputImage >
118 #ifdef ITK_USE_CONCEPT_CHECKING
122 typename TOutputImage::PixelType > ) );
130 void GenerateOutputInformation() ITK_OVERRIDE;
132 void GenerateData() ITK_OVERRIDE;
144 #ifndef ITK_MANUAL_INSTANTIATION
145 #include "itkCastImageFilter.hxx"
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
unsigned int ThreadIdType
bool operator==(const Cast &other) const
Superclass::OutputImageRegionType OutputImageRegionType
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
OutputImageType::RegionType OutputImageRegionType
TOutput operator()(const TInput &A) const
Base class for filters that take an image as input and overwrite that image as the output...
bool operator!=(const Cast &) const
#define itkConceptMacro(name, concept)
Casts input pixels to output pixel type.