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>
15 : public ImageToImageFilter<TInputImage, TOutputImage>
16{
17 public:
23
26
28 itkTypeMacro(ClampCastImageFilter, UnaryFunctorImageFilter);
29
31 typedef typename TInputImage::ConstPointer InputImagePointer;
32 typedef typename TInputImage::RegionType InputImageRegionType;
34
36 typedef typename TOutputImage::Pointer OutputImagePointer;
37 typedef typename TOutputImage::RegionType OutputImageRegionType;
39
40 protected:
43 void PrintSelf(std::ostream& os, Indent indent) const;
44
45#if ITK_VERSION_MAJOR >= 4
46 void ThreadedGenerateData (
49#else
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 pointset.h:15
Point()
Definition pointset.h:17
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