plastimatch
Loading...
Searching...
No Matches
itkClampCastImageFilter.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef __itkClampCastImageFilter_h
5#define __itkClampCastImageFilter_h
6
7#include "itkConfigure.h"
8#include "itkImageToImageFilter.h"
9
10namespace itk
11{
12
13template <class TInputImage, class TOutputImage>
14class ITK_EXPORT ClampCastImageFilter
15 : public ImageToImageFilter<TInputImage, TOutputImage>
16{
17 public:
20 typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass;
21 typedef SmartPointer<Self> Pointer;
22 typedef SmartPointer<const Self> ConstPointer;
23
26
28 itkTypeMacro(ClampCastImageFilter, UnaryFunctorImageFilter);
29
31 typedef typename TInputImage::ConstPointer InputImagePointer;
32 typedef typename TInputImage::RegionType InputImageRegionType;
33 typedef typename TInputImage::PixelType InputImagePixelType;
34
36 typedef typename TOutputImage::Pointer OutputImagePointer;
37 typedef typename TOutputImage::RegionType OutputImageRegionType;
38 typedef typename TOutputImage::PixelType OutputImagePixelType;
39
40 protected:
43 void PrintSelf(std::ostream& os, Indent indent) const;
44
45#if ITK_VERSION_MAJOR >= 4
46 void ThreadedGenerateData (
47 const OutputImageRegionType& outputRegionForThread,
48 ThreadIdType threadId);
49#else
51 const OutputImageRegionType& outputRegionForThread,
52 int threadId);
53#endif
54
55 private:
56 ClampCastImageFilter(const Self&); //purposely not implemented
57 void operator=(const Self&); //purposely not implemented
58};
59
60
61} // end namespace itk
62
63#ifndef ITK_MANUAL_INSTANTIATION
64#include "itkClampCastImageFilter.txx"
65#endif
66
67#endif
Definition itkClampCastImageFilter.h:16
ClampCastImageFilter Self
Definition itkClampCastImageFilter.h:19
SmartPointer< const Self > ConstPointer
Definition itkClampCastImageFilter.h:22
TOutputImage::Pointer OutputImagePointer
Definition itkClampCastImageFilter.h:36
TOutputImage::PixelType OutputImagePixelType
Definition itkClampCastImageFilter.h:38
SmartPointer< Self > Pointer
Definition itkClampCastImageFilter.h:21
~ClampCastImageFilter()
Definition itkClampCastImageFilter.h:42
itkTypeMacro(ClampCastImageFilter, UnaryFunctorImageFilter)
ImageToImageFilter< TInputImage, TOutputImage > Superclass
Definition itkClampCastImageFilter.h:20
TInputImage::ConstPointer InputImagePointer
Definition itkClampCastImageFilter.h:31
TOutputImage::RegionType OutputImageRegionType
Definition itkClampCastImageFilter.h:37
void PrintSelf(std::ostream &os, Indent indent) const
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, int threadId)
TInputImage::PixelType InputImagePixelType
Definition itkClampCastImageFilter.h:33
TInputImage::RegionType InputImageRegionType
Definition itkClampCastImageFilter.h:32
Definition direction_cosines.h:19