X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdVectorFilterDouble.cxx;h=9a948a85367b3884d62c19964248e2a20502f9bb;hb=51c6908eee1fd80d7ea9c62bd8d8ebc99b02bacc;hp=0fb6621500aef7c3ae2277947cf6a8754e689a10;hpb=84454af9be8cecfbf41ca7c0198c65efe60f9b48;p=bbtk.git diff --git a/packages/std/src/bbstdVectorFilterDouble.cxx b/packages/std/src/bbstdVectorFilterDouble.cxx index 0fb6621..9a948a8 100644 --- a/packages/std/src/bbstdVectorFilterDouble.cxx +++ b/packages/std/src/bbstdVectorFilterDouble.cxx @@ -123,7 +123,7 @@ void VectorFilterDouble::Process() } // for ipLstVec } // Type==1 - if (bbGetInputType()==2) // Insert intermediate pointss + if (bbGetInputType()==2) // Insert intermediate points { int ipLstvec; int i; @@ -146,6 +146,80 @@ void VectorFilterDouble::Process() } // Type==2 + if (bbGetInputType()==3) // Addition k1 + { + int ipLstvec; + int i; + int size; + double result; + for (ipLstvec=0 ; ipLstvec