#include <bbitkAnyImageToTypedImage.h>
Private Member Functions | |
BBTK_TEMPLATE2_BLACK_BOX_INTERFACE (AnyImageToConstTypedImage, bbtk::AtomicBlackBox, itkImageTypePointer, itkImageTypeConstPointer) | |
BBTK_DECLARE_INPUT (In, anyImagePointer) | |
BBTK_DECLARE_OUTPUT (Out, itkImageTypeConstPointer) | |
BBTK_PROCESS (DoIt) | |
void | DoIt () |
Definition at line 97 of file bbitkAnyImageToTypedImage.h.
bbitk::AnyImageToConstTypedImage< itkImageTypePointer, itkImageTypeConstPointer >::BBTK_TEMPLATE2_BLACK_BOX_INTERFACE | ( | AnyImageToConstTypedImage< itkImageTypePointer, itkImageTypeConstPointer > | , | |
bbtk::AtomicBlackBox | , | |||
itkImageTypePointer | , | |||
itkImageTypeConstPointer | ||||
) | [private] |
bbitk::AnyImageToConstTypedImage< itkImageTypePointer, itkImageTypeConstPointer >::BBTK_DECLARE_INPUT | ( | In | , | |
anyImagePointer | ||||
) | [private] |
bbitk::AnyImageToConstTypedImage< itkImageTypePointer, itkImageTypeConstPointer >::BBTK_DECLARE_OUTPUT | ( | Out | , | |
itkImageTypeConstPointer | ||||
) | [private] |
bbitk::AnyImageToConstTypedImage< itkImageTypePointer, itkImageTypeConstPointer >::BBTK_PROCESS | ( | DoIt | ) | [private] |
void bbitk::AnyImageToConstTypedImage< itkImageTypePointer, itkImageTypeConstPointer >::DoIt | ( | ) | [inline, private] |
Definition at line 133 of file bbitkAnyImageToTypedImage.h.
00134 { 00135 if ( bbGetInputIn().type() == typeid(itkImageTypeConstPointer) ) 00136 { 00137 bbSetOutputOut ( bbGetInputIn().template unsafe_get < itkImageTypeConstPointer >() ); 00138 } 00139 else if ( bbGetInputIn().type() == typeid(itkImageTypePointer) ) 00140 { 00141 bbSetOutputOut ( bbGetInputIn().template unsafe_get < itkImageTypePointer >() ); 00142 } 00143 else 00144 { 00145 bbtkError(this->bbGetFullName()<<+" : transform of <" 00146 <<bbtk::TypeName(bbGetInputIn().type())<<"> into <" 00147 <<bbtk::TypeName<itkImageTypeConstPointer>()<<"> not implemented"); 00148 } 00149 }