bbitk::ExtractImageFilterGeneric Class Reference

#include <bbitkExtractImageFilter.h>

List of all members.

Private Member Functions

 BBTK_BLACK_BOX_INTERFACE (ExtractImageFilterGeneric, bbtk::AtomicBlackBox)
 BBTK_DECLARE_INPUT (In, anyImagePointer)
 BBTK_DECLARE_INPUT (Region, anyImageRegion)
 BBTK_DECLARE_OUTPUT (Out, anyImagePointer)
 BBTK_PROCESS (ProcessSwitch)
void ProcessSwitch ()
template<class T>
void Process ()


Detailed Description

Definition at line 77 of file bbitkExtractImageFilter.h.


Member Function Documentation

bbitk::ExtractImageFilterGeneric::BBTK_BLACK_BOX_INTERFACE ( ExtractImageFilterGeneric  ,
bbtk::AtomicBlackBox   
) [private]

bbitk::ExtractImageFilterGeneric::BBTK_DECLARE_INPUT ( In  ,
anyImagePointer   
) [private]

bbitk::ExtractImageFilterGeneric::BBTK_DECLARE_INPUT ( Region  ,
anyImageRegion   
) [private]

bbitk::ExtractImageFilterGeneric::BBTK_DECLARE_OUTPUT ( Out  ,
anyImagePointer   
) [private]

bbitk::ExtractImageFilterGeneric::BBTK_PROCESS ( ProcessSwitch   )  [private]

void bbitk::ExtractImageFilterGeneric::ProcessSwitch (  )  [inline, private]

Definition at line 101 of file bbitkExtractImageFilter.h.

References BBTK_TEMPLATE_ITK_IMAGE_SWITCH, and Process().

00102   {
00103      BBTK_TEMPLATE_ITK_IMAGE_SWITCH(bbGetInputIn().type(), this->Process);
00104   }

template<class T>
void bbitk::ExtractImageFilterGeneric::Process (  )  [inline, private]

Definition at line 107 of file bbitkExtractImageFilter.h.

Referenced by ProcessSwitch().

00108   {
00109     bbtkDebugMessageInc("Core",9,
00110                         "bbitk::ExtractImageFilterGeneric::Process<"
00111                         <<bbtk::TypeName<T>()<<">()"<<std::endl);
00112     typedef T ImageType;
00113     typedef ExtractImageFilter<ImageType> FilterType;
00114     typename FilterType::Pointer f = FilterType::New("Temp");
00115     f->bbSetInputIn( this->bbGetInputIn().unsafe_get<T*>() );
00116     f->bbSetInputExtractionRegion ( this->bbGetInputRegion().get<typename T::RegionType>() );
00117     f->bbExecute();
00118     f->bbGetOutputOut()->Register();
00119     this->bbSetOutputOut( f->bbGetOutputOut() );
00120     //  f->bbDelete();
00121 
00122     bbtkDebugDecTab("Core",9);
00123   }


The documentation for this class was generated from the following file:

Generated on Tue Oct 21 16:06:57 2008 for itk by  doxygen 1.5.6