Program: bbtk
Module: $RCSfile: bbwxColourSelector.h,v $
Language: C++
- Date: $Date: 2008/04/18 12:59:52 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/05/07 13:14:48 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
BBTK_NAME("ColourSelector");
BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
BBTK_DESCRIPTION("Colour Selector dialog (bbfication of wxColourSelector)");
- BBTK_OUTPUT(ColourSelector,Out,"The colour selected by the user",std::string,"color");
+ BBTK_OUTPUT(ColourSelector,Out,"The colour selected by the user",std::string,"colour");
BBTK_END_DESCRIBE_BLACK_BOX(ColourSelector);
//=================================================================
Program: bbtk
Module: $RCSfile: bbwxColourSelectorButton.h,v $
Language: C++
- Date: $Date: 2008/04/18 12:59:52 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/05/07 13:14:49 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
// Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
BBTK_DESCRIPTION("A button which displays a colour picker dialog when clicked");
- BBTK_INPUT(ColourSelectorButton,In,"Initial colour",std::string,"color");
- BBTK_OUTPUT(ColourSelectorButton,Out,"Colour choosen in format '[0,1] [0,1] [0,1]'",std::string,"color");
+ BBTK_INPUT(ColourSelectorButton,In,"Initial colour",std::string,"colour");
+ BBTK_OUTPUT(ColourSelectorButton,Out,"Colour choosen in format '[0,1] [0,1] [0,1]'",std::string,"colour");
BBTK_END_DESCRIBE_BLACK_BOX(ColourSelectorButton);
//=================================================================
Program: bbtk
Module: $RCSfile: bbwxCommandButton.h,v $
Language: C++
- Date: $Date: 2008/04/18 12:59:52 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/05/07 13:14:49 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
BBTK_INPUT(CommandButton,In,"Commands to be executed separated by commas (;). Each single quote (') is replaced by a double quote (\").",std::string,"");
BBTK_INPUT(CommandButton,Label,"Label of the button",std::string,"");
- BBTK_INPUT(CommandButton,Colour,"Colour of the button (-1 -1 -1 Background)",vectorcolour,"color");
+ BBTK_INPUT(CommandButton,Colour,"Colour of the button (-1 -1 -1 Background)",vectorcolour,"colour");
// BBTK_OUTPUT(CommandButton,Out,"..Out..",int);
BBTK_END_DESCRIBE_BLACK_BOX(CommandButton);
//=================================================================
--- /dev/null
+include vtk
+include std
+include wx
+include wxvtk
+
+# Pipeline : Reader -> IsoSurfaceExtractor -> Viewer
+new LoadHola r
+new IsoSurfaceExtractor i
+new Viewer3D v
+connect r.Out i.In
+connect i.Out v.In1
+
+# GUI
+message echo 2
+newgui i ig
+message echo 0
+
+# Layout
+new LayoutLine l
+connect v.Widget l.Widget1
+connect ig.Widget l.Widget2
+
+# Changes in GUI update the view
+connect ig.BoxChange v.BoxExecute
+
+# GO !
+exec l