# ----------------------------------
# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg
+# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbg
# ----------------------------------
APP_START
creaVtk:VectorsVisu:Box00
ISEXEC:FALSE
-4.465574:-69.418679:-900.000000
-41.109426:-79.418679:-900.000000
+33.159426:-79.418679:-900.000000
FIN_BOX
BOX
creaVtk:PlaneWidget:Box01
std:MagicBox:Box11
ISEXEC:FALSE
-116.304953:49.494646:-900.000000
--70.729953:39.494646:-900.000000
+-80.229953:39.494646:-900.000000
FIN_BOX
-CONNECTIONS:22
+CONNECTIONS:23
CONNECTION
Box03:Out:Box00:In
NumberOfControlPoints:0
CONNECTION
Box11:Out:Box15:In2
NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChange:Box15:In3
+NumberOfControlPoints:0
APP_END
# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /tmpEED/creaTools/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
+# - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/PlaneVectorVisu_Widget.bbs
# ----------------------------------
include std
connect Box06.boxChange Box15.In1
connect Box15.Out Box13.BoxExecute
connect Box11.Out Box15.In2
+connect Box01.BoxChange Box15.In3
# Complex input ports
input vtkImageData Box04.In " "
// * TYPE is the C++ type of the input/output
// (the one provided in the attribute 'type' of the tag 'input')
-printf("EED VectorsVisu::Process Start \n");
vectorsvisu.SetActive( bbGetInputActive() );
vectorsvisu.SetDataObject( bbGetInputIn() );
vectorsvisu.SetScaleFactor( bbGetInputScaleFactor() );
vectorsvisu.SetOrientation( bbGetInputOrientation() );
vectorsvisu.SetExternalLut( bbGetInputExternalLut() );
vectorsvisu.Process();
- bbSetOutputOut( vectorsvisu.GetProp3D() );
-printf("EED VectorsVisu::Process End \n");
-
+ bbSetOutputOut( vectorsvisu.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)
bbSetInputScaleFactor(500);
bbSetInputOpacity(1);
bbSetInputTypeForm(0);
- bbSetInputOrientation(0);
+ bbSetInputOrientation(-1);
bbSetInputExternalLut(NULL);
}
//=====
BBTK_INPUT(VectorsVisu,Opacity,"Opacity (1 default)",double,"");
BBTK_INPUT(VectorsVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
BBTK_INPUT(VectorsVisu,TypeForm,"0 Line, 1 Arrow (default 0)",int,"");
- BBTK_INPUT(VectorsVisu,Orientation,"(default 5) -1=xy, 0=yz, 1=yz, 2=xz, 5=3D, 6=3D",int,"");
+ BBTK_INPUT(VectorsVisu,Orientation,"(default -1) -1=3D, 0=yz, 1=xz, 2=xy",int,"");
BBTK_INPUT(VectorsVisu,ExternalLut,"Lookuptable",vtkScalarsToColors*,"");
BBTK_OUTPUT(VectorsVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
BBTK_END_DESCRIBE_BLACK_BOX(VectorsVisu);