12 #ifndef itkFunctorBaseVectorImageFilter_h 13 #define itkFunctorBaseVectorImageFilter_h 36 template<
typename TInputImage,
typename TOutputImage,
typename TFunction,
class TMaskImage=Image<
double,3> >
82 const FunctorType &
GetFunctor()
const {
return m_Functor; }
92 if ( m_Functor != functor )
102 this->SetNumberOfRequiredInputs(1);
111 Superclass::PrintSelf(os, indent);
113 m_Functor.Print(os <<indent <<
"m_Functor : "<<
utl::TypeName(m_Functor)<<
" ("<< &m_Functor <<
") = \n");
118 typename LightObject::Pointer loPtr = Superclass::InternalClone();
120 typename Self::Pointer rval =
dynamic_cast<Self *
>(loPtr.GetPointer());
123 itkExceptionMacro(<<
"downcast to type " << this->GetNameOfClass()<<
" failed.");
125 rval->m_Functor = m_Functor;
126 rval->m_VectorAxis = m_VectorAxis;
138 void operator=(const Self &) ITK_DELETE_FUNCTION;
OutputImageType::IndexType OutputImageIndexType
Implements vector-valued generic operation on one image.
SmartPointer< Self > Pointer
InputImageType::SpacingType InputImageSpacingType
InputImageType::PixelType InputImagePixelType
#define utlLogOSVar(os,...)
InputImageType::ConstPointer InputImageConstPointer
SmartPointer< const Self > ConstPointer
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
const FunctorType & GetFunctor() const
#define ITK_DELETE_FUNCTION
InputImageType::IndexType InputImageIndexType
void SetFunctor(const FunctorType &functor)
Superclass::MaskImageType MaskImageType
LightObject::Pointer InternalClone() const ITK_OVERRIDE
MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > Superclass
OutputImageType::RegionType OutputImageRegionType
InputImageType::RegionType InputImageRegionType
ImageToImageFilter with mask and threaded logger support.
FunctorBaseVectorImageFilter Self
FunctorType & GetFunctor()
SmartPointer< Self > Pointer
#define itkSetGetMacro(name, type)
virtual ~FunctorBaseVectorImageFilter()
FunctorBaseVectorImageFilter()
TOutputImage OutputImageType
TInputImage InputImageType
InputImageType::SizeType InputImageSizeType
InputImageType::Pointer InputImagePointer
OutputImageType::SizeType OutputImageSizeType
OutputImageType::SpacingType OutputImageSpacingType
OutputImageType::PixelType OutputImagePixelType
OutputImageType::Pointer OutputImagePointer