X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkTensorsVisu.cxx;h=bab4780ab3fba9185341b9de6be40cfba8fc50f0;hb=500bc2ff1c3fe51a9ce94324dee722fb2f7bfd36;hp=40202e2311e7f95a5e06a7bfe5ecaab2a521249c;hpb=41a74698bb0203749248628baa1503144e1f12f7;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx index 40202e2..bab4780 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.cxx @@ -3,6 +3,9 @@ //===== #include "bbcreaVtkTensorsVisu.h" #include "bbcreaVtkPackage.h" + + + namespace bbcreaVtk { @@ -26,13 +29,16 @@ void TensorsVisu::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') + tensorsvisu.SetActive( bbGetInputActive() ); tensorsvisu.SetDataObject( bbGetInputIn() ); tensorsvisu.SetScaleFactor( bbGetInputScaleFactor() ); tensorsvisu.SetOpacity( bbGetInputOpacity() ); tensorsvisu.SetRenderer( bbGetInputRenderer() ); + tensorsvisu.SetTypeForm( bbGetInputTypeForm() ); tensorsvisu.Process(); bbSetOutputOut( tensorsvisu.GetProp3D() ); + } //===== // 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) @@ -47,6 +53,7 @@ void TensorsVisu::bbUserSetDefaultValues() bbSetInputRenderer(NULL); bbSetInputScaleFactor(500); bbSetInputOpacity(1); + bbSetInputTypeForm(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)