X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageTransparencyBox.cxx;fp=PackRecalage%2Fsrc%2FbbPackRecalageTransparencyBox.cxx;h=4490a12cd9d1ddf5a7098df3fc7a173bf8c97dc3;hb=c68bf30f0b3499ab9f3a65b2c31a47436581597d;hp=a1591545c92bc405362d8d2024eb0bd97a8479d8;hpb=f8423bfeaa7913646856bc2bfd1a61a91002d50e;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageTransparencyBox.cxx b/PackRecalage/src/bbPackRecalageTransparencyBox.cxx index a159154..4490a12 100644 --- a/PackRecalage/src/bbPackRecalageTransparencyBox.cxx +++ b/PackRecalage/src/bbPackRecalageTransparencyBox.cxx @@ -37,9 +37,9 @@ void TransparencyBox::Process() transparency->setImage2(bbGetInputIn2()); transparency->setPercent(bbGetInputPercent()); transparency->calculateImage(); - bbSetOutputOut(transparency->getImage()); } + void TransparencyBox::bbUserSetDefaultValues() { bbSetInputIn1(NULL); @@ -47,20 +47,20 @@ void TransparencyBox::bbUserSetDefaultValues() bbSetInputPercent(-1); bbSetOutputOut(NULL); } + void TransparencyBox::bbUserInitializeProcessing() { transparency = new Transparency(); } + void TransparencyBox::bbUserFinalizeProcessing() -{ - +{ // THE FINALIZATION METHOD BODY : // Here does nothing // but this is where you should desallocate the internal/output pointers -// if any - -} +// if any } -// EO namespace bbPackRecalage + +}// EO namespace bbPackRecalage