]> Creatis software - bbtk.git/blob - doc/bouml/bbtkk/141954.bodies
mhb
[bbtk.git] / doc / bouml / bbtkk / 141954.bodies
1 class BinaryThresholdImageFilterGeneric
2 !!!185474.cpp!!!        ProcessSwitch() : void
3     BBTK_TEMPLATE_ITK_IMAGE_SWITCH(bbGetInputIn().type(), this->Process);
4   
5 !!!185602.cpp!!!        Process() : void
6     bbtkDebugMessageInc("Core",9,
7                         "bbitk::BinaryThresholdImageFilterGeneric::Process<"
8                         <<bbtk::TypeName<T>()<<">()"<<std::endl);
9  
10     typedef BinaryThresholdImageFilter<T> FilterType;
11     typename FilterType::Pointer f = FilterType::New("Temp");
12           typedef T* TPointer; 
13           f->bbSetInputIn( this->bbGetInputIn().get < TPointer > () );
14     f->bbSetInputLowerThreshold ( (typename T::PixelType)
15                                   this->bbGetInputLowerThreshold() );
16     f->bbSetInputUpperThreshold ( (typename T::PixelType)
17                                   this->bbGetInputUpperThreshold() );
18     f->bbSetInputInsideValue ( (typename T::PixelType)
19                                this->bbGetInputInsideValue() );
20     f->bbSetInputOutsideValue ( (typename T::PixelType)
21                                 this->bbGetInputOutsideValue() );
22     f->bbExecute();
23     f->bbGetOutputOut()->Register();
24     this->bbSetOutputOut( f->bbGetOutputOut() );
25
26     bbtkDebugDecTab("Core",9);
27