From 8b68314bbadfe148b604ce73bacad108cd5787f9 Mon Sep 17 00:00:00 2001 From: ctorres Date: Tue, 26 Nov 2013 15:43:27 +0100 Subject: [PATCH] 2187 BBTK Feature New Normal New feature creaVtk --- .../bbcreaVtkUnMosaicVectorVtkImageData.cxx | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 bbtk_creaVtk_PKG/src/bbcreaVtkUnMosaicVectorVtkImageData.cxx 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 + + -- 2.45.0