X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkImageContinuousDilate3D.cxx;h=7a1bf0a819e229fa272bb318f5ce2fb66e2f0ab4;hb=6196c24cbb7b38c5862fb1aa30b69b4d33112825;hp=f7ab4265629b9284018e1a5bd9c2d084385962df;hpb=3582c0f9b8380fde739856aa6a188da3262cf03b;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousDilate3D.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousDilate3D.cxx index f7ab426..7a1bf0a 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousDilate3D.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousDilate3D.cxx @@ -15,7 +15,7 @@ void ImageContinuousDilate3D::Process() vtkImageData* ImageContinuousDilate3D::dilateFilterRecursive(vtkImageData* image, int repetitions, double x, double y, double z) { - vtkImageContinuousDilate3D *dilateFilter = vtkImageContinuousDilate3D ::New(); + vtkImageContinuousDilate3D *dilateFilter = vtkImageContinuousDilate3D::New(); //EED 2017-01-01 Migration VTK7 #if VTK_MAJOR_VERSION <= 5 dilateFilter->SetInput (image); @@ -31,7 +31,7 @@ vtkImageData* ImageContinuousDilate3D::dilateFilterRecursive(vtkImageData* image resultRec = dilateFilter->GetOutput(); return resultRec; }else{ - dilateFilterRecursive(dilateFilter->GetOutput(), (repetitions-1), x, y, z); + return dilateFilterRecursive(dilateFilter->GetOutput(), (repetitions-1), x, y, z); }// if repetitions } @@ -45,20 +45,16 @@ void ImageContinuousDilate3D::bbUserSetDefaultValues() void ImageContinuousDilate3D::bbUserInitializeProcessing() { - - } void ImageContinuousDilate3D::bbUserFinalizeProcessing() { - // THE FINALIZATION METHOD BODY : // Here does nothing // but this is where you should desallocate the internal/output pointers // if any - } -} -// EO namespace bbcreaVtk + +} // EO namespace bbcreaVtk