]> Creatis software - bbtk.git/blob - doc/bouml/bbtkk/141442.bodies
.
[bbtk.git] / doc / bouml / bbtkk / 141442.bodies
1 class AnyImageToConstTypedImage
2 !!!185346.cpp!!!        DoIt() : void
3     if ( bbGetInputIn().type() == typeid(itkImageTypeConstPointer) )
4       {
5         bbSetOutputOut ( bbGetInputIn().template unsafe_get < itkImageTypeConstPointer >() );
6       }
7     else if ( bbGetInputIn().type() == typeid(itkImageTypePointer) )
8       {
9         bbSetOutputOut ( bbGetInputIn().template unsafe_get < itkImageTypePointer >() );
10       }
11     else 
12       {
13         bbtkError(this->bbGetFullName()<<+" : transform of <"
14                   <<bbtk::TypeName(bbGetInputIn().type())<<"> into <"
15                   <<bbtk::TypeName<itkImageTypeConstPointer>()<<"> not implemented");
16       }
17