fprintf(ff,"class %s:\n",fileBase.c_str() );
fprintf(ff,"\n" );
fprintf(ff," def __init__(self):\n" );
- fprintf(ff," self.mCBpy = ComplexBlackBox('appliTest03')\n" );
+ fprintf(ff," self.mCBpy = ComplexBlackBox('%s')\n",file.c_str() );
fprintf(ff,"\n" );
fprintf(ff," def Run(self):\n" );
int i,size=pythonBBTK.size();
BBTK_NAME("ConcatStrings");
BBTK_AUTHOR("jean-pierre.roux@creatis.insa-lyon.fr");
BBTK_CATEGORY("misc");
- BBTK_DESCRIPTION("String concatenation (C++,Python,JavaScript)");
+ BBTK_DESCRIPTION("(C++,Python,JavaScript) String concatenation");
BBTK_INPUT(ConcatStrings,In1, "String 1", std::string,"");
BBTK_INPUT(ConcatStrings,In2, "String 2", std::string,"");
BBTK_INPUT(ConcatStrings,In3, "String 3", std::string,"");
<blackbox name="Div">
<author>laurent.guigues@creatis.insa-lyon.fr</author>
- <description>Divides its inputs (C++,Python)</description>
+ <description>(C++,Python) Divides its inputs</description>
<category>math</category>
<input name="In1" type="double" description="Numerator"/>
BBTK_BEGIN_DESCRIBE_BLACK_BOX(FilesFromDirectory,bbtk::AtomicBlackBox);
BBTK_NAME("FilesFromDirectory");
BBTK_AUTHOR("jpr@creatis.univ-lyon1.fr");
- BBTK_DESCRIPTION("returns the fullPathNames of the files in a Directory (C++,Python)");
+ BBTK_DESCRIPTION("(C++,Python) Returns the fullPathNames of the files in a Directory");
BBTK_CATEGORY("");
BBTK_INPUT(FilesFromDirectory,Active,"(default true) Active true/false ",bool,"");
BBTK_NAME("Get"+bbtk::HumanTypeName<std::vector<T> >()+"Element");
BBTK_AUTHOR("info-dev@creatis.insa-lyon.fr");
// BBTK_DEFAULT_ADAPTOR();
- BBTK_DESCRIPTION("Gets the i-th element from the input vector ("+bbtk::TypeName<std::vector<T> >());
+ BBTK_DESCRIPTION("(C++,Python) Gets the i-th element from the input vector ("+bbtk::TypeName<std::vector<T> >());
typedef std::vector<T> Tvector;
BBTK_TEMPLATE_INPUT(GetVectorElement, In,"Input",Tvector);
BBTK_TEMPLATE_INPUT(GetVectorElement, I, "iElement (default 0)",int);
BBTK_BEGIN_DESCRIBE_BLACK_BOX(MarchingCubes,bbtk::AtomicBlackBox);
BBTK_NAME("MarchingCubes");
BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes) (C++,Python)");
+ BBTK_DESCRIPTION("(C++,Python) Extracts an iso-surface of an image using the marching cubes algorithm (bbfication of vtkMarchingCubes)");
BBTK_CATEGORY("image;mesh");
BBTK_INPUT(MarchingCubes,Active,"Active true/false (default true)",bool,"");
BBTK_BEGIN_DESCRIBE_BLACK_BOX(MetaImageReader,bbtk::AtomicBlackBox);
BBTK_NAME("MetaImageReader");
BBTK_AUTHOR("Info-Dev");
- BBTK_DESCRIPTION("No Description. (C++,Python)");
+ BBTK_DESCRIPTION("(C++,Python) No Description.");
BBTK_CATEGORY("empty");
BBTK_INPUT(MetaImageReader,In,"File Name",std::string,"");
BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataToActor,bbtk::AtomicBlackBox);
BBTK_NAME("PolyDataToActor");
BBTK_AUTHOR("eduardo.davila at creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("takes a vtkPolyData object to insert into a 3D scene (e.g. a Viewer3D) (C++,Python,JavaScript)");
+ BBTK_DESCRIPTION("(C++,Python,JavaScript) Takes a vtkPolyData object to insert into a 3D scene (e.g. a Viewer3D)");
typedef std::vector<double> vectorcolour;
BBTK_CATEGORY("3D object creator");
BBTK_INPUT(PolyDataToActor,In,"Input image",vtkPolyData*,"");
BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WxBlackBox);
BBTK_NAME("ComboBox");
BBTK_AUTHOR("Info-Dev");
- BBTK_DESCRIPTION("No Description.");
+ BBTK_DESCRIPTION("(C++,Python) wxComboBox");
BBTK_CATEGORY("__CategoryBlackBox__");
BBTK_INPUT(ComboBox,Title,"Title prepended to the text",std::string,"");
BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutLine,bbtk::WxBlackBox);
BBTK_NAME("LayoutLine");
BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("LayoutLine widget (wxBoxSizer)");
+ BBTK_DESCRIPTION("(C++,Python) LayoutLine widget (wxBoxSizer)");
// Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
BBTK_INPUT(LayoutLine,Widget1,"widget 1",wxWindow*,"");
BBTK_INPUT(LayoutLine,Widget2,"widget 2",wxWindow*,"");
<blackbox name="OutputText" widget>
<author>laurent.guigues at creatis.insa-lyon.fr</author>
- <description>Text zone to be inserted into a window (wxStaticText)</description>
+ <description>(C++,Python) Text zone to be inserted into a window (wxStaticText)</description>
<category></category>
<input name="Title" type="std::string" description="Title prepended to the text"/>
BBTK_NAME("Slider");
BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
// Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
- BBTK_DESCRIPTION("Slider widget (wxSlider) (C++,Python)");
+ BBTK_DESCRIPTION("(C++,Python) Slider widget (wxSlider)");
BBTK_INPUT(Slider,In, "Initial position of the slider (default 0)", int, "");
BBTK_INPUT(Slider,Min, "Minimum value of the slider (default 0)", int, "");
BBTK_INPUT(Slider,Max, "Maximum value of the slider (default 500)", int, "");