]> Creatis software - crea.git/blobdiff - appli/creaNewProject/NewProject/bbtk_mySamplePackage_PKG/src/bbmySamplePackagemySampleBoxWithVTK.cxx
no message
[crea.git] / appli / creaNewProject / NewProject / bbtk_mySamplePackage_PKG / src / bbmySamplePackagemySampleBoxWithVTK.cxx
index 55385341629379c45f46873602f5a5d904344e39..9ed332ee605204faa993e35a40c6c136a722baa3 100644 (file)
@@ -21,8 +21,11 @@ void mySampleBoxWithVTK::Process()
 //      (the one provided in the attribute 'name' of the tag 'input')
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
-    bbSetOutputOut( bbGetInputIn() );
-    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
+       
+       myVtkPipeline.SetImage( bbGetInputIn() );
+       myVtkPipeline.SetThresholdBetween(  bbGetInputLower() , bbGetInputUpper() );
+       myVtkPipeline.Execute();
+    bbSetOutputOut( myVtkPipeline.GetResult() );
   
 }