00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
#ifndef __itkImageAndPathToImageFilter_h
00018
#define __itkImageAndPathToImageFilter_h
00019
00020
#include "itkImageToImageFilter.h"
00021
00022
namespace itk
00023 {
00024
00037
template <
class TInputImage,
class TInputPath,
class TOutputImage>
00038 class ITK_EXPORT ImageAndPathToImageFilter :
00039
public ImageToImageFilter<TInputImage,TOutputImage>
00040 {
00041
public:
00043 typedef ImageAndPathToImageFilter
Self;
00044 typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass;
00045 typedef SmartPointer<Self> Pointer;
00046 typedef SmartPointer<const Self> ConstPointer;
00047
00049
itkNewMacro(
Self);
00050
00052
itkTypeMacro(ImageAndPathToImageFilter,
ImageToImageFilter);
00053
00055 typedef TInputImage
InputImageType;
00056 typedef typename InputImageType::ConstPointer
InputImagePointer;
00057 typedef typename InputImageType::RegionType
InputImageRegionType;
00058 typedef typename InputImageType::PixelType
InputImagePixelType;
00059 typedef TInputPath
InputPathType;
00060 typedef typename InputPathType::Pointer
InputPathPointer;
00061 typedef typename InputPathType::ConstPointer
InputPathConstPointer;
00062 typedef typename InputPathType::InputType
InputPathInputType;
00063 typedef typename InputPathType::OutputType
InputPathOutputType;
00064 typedef typename InputPathType::IndexType
InputPathIndexType;
00065 typedef typename InputPathType::OffsetType
InputPathOffsetType;
00066 typedef TOutputImage
OutputImageType;
00067 typedef typename OutputImageType::Pointer
OutputImagePointer;
00068 typedef typename OutputImageType::RegionType
OutputImageRegionType;
00069 typedef typename OutputImageType::PixelType
OutputImagePixelType;
00070
00072
itkStaticConstMacro(InputImageDimension,
unsigned int,
00073 TInputImage::ImageDimension);
00074
itkStaticConstMacro(OutputImageDimension,
unsigned int,
00075 TOutputImage::ImageDimension);
00076
00078
virtual void SetImageInput(
const TInputImage * image);
00079
const InputImageType * GetImageInput(
void);
00080
00082
virtual void SetPathInput(
const TInputPath * path);
00083
const InputPathType * GetPathInput(
void);
00084
00085
protected:
00086 ImageAndPathToImageFilter();
00087
virtual ~ImageAndPathToImageFilter() {};
00088
00089
virtual void PrintSelf(std::ostream& os,
Indent indent)
const;
00090
00091
private:
00092 ImageAndPathToImageFilter(
const Self&);
00093
void operator=(
const Self&);
00094 };
00095
00096 }
00097
00098
#ifndef ITK_MANUAL_INSTANTIATION
00099
#include "itkImageAndPathToImageFilter.txx"
00100
#endif
00101
00102
#endif