Automatically assigned to Atomic Black Boxes (c++ defined)
 complex box  : System category. 
               Automatically assigned to Complex Black Boxes (script defined)
-? command line : Script which defines a command line application.
+command line : Script which defines a command line application (no embedded GUI, but command line imput parameters)
 demo        : Demonstration
 ? devel             : Developer tool (bbCreatePackage.bbs, ...)
 example             : Example script showing a box use-case
 
 load itk
 
 new ImageReader reader
-input I reader.Filename "Input file name"
+input I reader.In "Input file name"
 
 new ExtractImageFilter filter
 connect reader.Out filter.In
 new ImageWriter writer
 connect filter.Out writer.In
 
-input O writer.Filename "Output file name"
+input O writer.In "Output file name"
 
 exec writer
 
 include std/boxes/bbPrependDataPath
 new PrependDataPath pdp
 set pdp.In "thorax.hdr"
-#connect pdp.Out reader.Filename
+#connect pdp.Out reader.In
 
 # Allow user to specify his own image, in GUI mode (-g option)
 #---------------------------------------------------------------
-set reader.Filename "hola.mhd"
-input I reader.Filename "Input image file"
+set reader.In "hola.mhd"
+input I reader.In "Input image file"
 
 new ImageProperties P
 connect reader.Out P.In
 
   Program:   bbtk
   Module:    $RCSfile: bbitkImageReader.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/04/18 12:59:50 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/06/26 09:09:47 $
+  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
 
   void ImageReader::Read()
   {
-    std::string filename = bbGetInputFilename();
+    std::string filename = bbGetInputIn();
 
     itk::ImageIOBase::Pointer genericReader = 
       itk::ImageIOFactory::CreateImageIO(filename.c_str(), 
     typedef itk::ImageFileReader< itkImageType > itkReaderType;
 
     typename itkReaderType::Pointer reader = itkReaderType::New();
-    std::string filename = bbGetInputFilename();
+    std::string filename = bbGetInputIn();
     reader->SetFileName(filename.c_str());
     try { reader->Update(); }
     catch( std::exception& e ) 
 
   Program:   bbtk
   Module:    $RCSfile: bbitkImageReader.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/18 12:59:50 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2008/06/26 09:09:47 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
     BBTK_BLACK_BOX_INTERFACE(ImageReader,
                             bbtk::AtomicBlackBox);
 
-    BBTK_DECLARE_INPUT(Filename,std::string);
+    BBTK_DECLARE_INPUT(In,std::string);
     BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
     BBTK_PROCESS(Read);
     void Read();
   BBTK_AUTHOR("laurent.guigues at creatis.insa-lyon.fr");
   BBTK_CATEGORY("image;read/write");
   BBTK_DESCRIPTION("Generic itk image reader");
-  BBTK_INPUT(ImageReader,Filename,
+  BBTK_INPUT(ImageReader,In,
             "filename with complete path",std::string,"file name");
   BBTK_OUTPUT(ImageReader,Out,"Output image",anyImagePointer,"");
   BBTK_END_DESCRIBE_BLACK_BOX(ImageReader);
 
   set fileselectoropen.OpenSave "Open" 
   
 new ImageReader imagereader
-  connect fileselectoropen.Out imagereader.Filename
+  connect fileselectoropen.Out imagereader.In
 
 new Viewer2D viewerleft
   connect imagereader.Out viewerleft.In
    connect layoutline.Widget main.Widget2
    
    
-exec main   
\ No newline at end of file
+exec main