From: ctorres Date: Tue, 26 Nov 2013 14:43:27 +0000 (+0100) Subject: 2187 BBTK Feature New Normal New feature creaVtk X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaVtk.git;a=commitdiff_plain;h=8b68314bbadfe148b604ce73bacad108cd5787f9 2187 BBTK Feature New Normal New feature creaVtk --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.cxx new file mode 100644 index 0000000..5790c12 --- /dev/null +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.cxx @@ -0,0 +1,62 @@ +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +#include "bbcreaVtkUnMosaicVectorVtkImageData.h" +#include "bbcreaVtkPackage.h" +#include "creaVtkUnMosaicVectorVtkImageData.h" +#include "vtkImageData.h" + +namespace bbcreaVtk +{ + +BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,UnMosaicVectorVtkImageData) +BBTK_BLACK_BOX_IMPLEMENTATION(UnMosaicVectorVtkImageData,bbtk::AtomicBlackBox); +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +void UnMosaicVectorVtkImageData::Process() +{ + + creaVtkUnMosaicVectorVtkImageData cvtkc; + bbSetOutputOut( cvtkc.unMosaicVectorVtkImageData ((unsigned int)bbGetInputNbImagesPerRow(), (unsigned int)bbGetInputNbImagesInMosaic(), bbGetInputIn() ) ); + +} +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +void UnMosaicVectorVtkImageData::bbUserSetDefaultValues() +{ + + bbSetInputNbImagesPerRow(0); + bbSetInputNbImagesInMosaic(0); + +} +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +void UnMosaicVectorVtkImageData::bbUserInitializeProcessing() +{ + +// THE INITIALIZATION METHOD BODY : +// Here does nothing +// but this is where you should allocate the internal/output pointers +// if any + + +} +//===== +// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) +//===== +void UnMosaicVectorVtkImageData::bbUserFinalizeProcessing() +{ + +// THE FINALIZATION METHOD BODY : +// Here does nothing +// but this is where you should desallocate the internal/output pointers +// if any + +} +} +// EO namespace bbcreaVtk + +