]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbmaracasvisuILPD._h_
#3262 creaMaracasVisu Feature New Normal - Export LookupTable fron ColorLayerImageV...
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuILPD._h_
1 /*# ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 #                        pour la Sant�)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
8 #
9 #  This software is governed by the CeCILL-B license under French law and 
10 #  abiding by the rules of distribution of free software. You can  use, 
11 #  modify and/ or redistribute the software under the terms of the CeCILL-B 
12 #  license as circulated by CEA, CNRS and INRIA at the following URL 
13 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
14 #  or in the file LICENSE.txt.
15 #
16 #  As a counterpart to the access to the source code and  rights to copy,
17 #  modify and redistribute granted by the license, users are provided only
18 #  with a limited warranty  and the software's author,  the holder of the
19 #  economic rights,  and the successive licensors  have only  limited
20 #  liability. 
21 #
22 #  The fact that you are presently reading this means that you have had
23 #  knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */ 
25
26 #ifdef _USE_WXWIDGETS_
27 #ifndef __bbmaracasvisuILPD_h_INCLUDED__
28 #define __bbmaracasvisuILPD_h_INCLUDED__
29 #include "bbtkWxBlackBox.h"
30
31 namespace bbmaracasvisu
32 {
33
34 class /*BBTK_EXPORT*/ ILPD
35  : 
36    public bbtk::WxBlackBox
37 {
38   BBTK_BLACK_BOX_INTERFACE(ILPD,bbtk::WxBlackBox);
39 //==================================================================
40 /// User callback called in the box contructor
41 virtual void bbUserConstructor();
42 /// User callback called in the box copy constructor
43 virtual void bbUserCopyConstructor();
44 /// User callback called in the box destructor
45 virtual void bbUserDestructor();
46 //==================================================================
47   BBTK_DECLARE_OUTPUT(LstFileName, std::vector <std::string*>* );
48   BBTK_DECLARE_OUTPUT(Type,int);
49
50   BBTK_PROCESS(Process);
51   void Process();
52   BBTK_CREATE_WIDGET(CreateWidget);
53   void CreateWidget();
54 private:
55         std::vector <std::string*> lstStringFileName;
56 };
57
58 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ILPD,bbtk::WxBlackBox);
59 BBTK_NAME("ILPD");
60 BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
61 BBTK_DESCRIPTION("Inteface list patient DICOM");
62 BBTK_CATEGORY("read/write");
63   BBTK_OUTPUT(ILPD,LstFileName,"List of files names", std::vector <std::string*>*,"" );
64   BBTK_OUTPUT(ILPD,Type,"Type of image (default -999) -999=Unkown -1=lst-ILPD  0=Maracas-Raw  100=Maracas-Dicom  200=Maracas-lstRaw 300=Maracas-lstAsciiRaw",int,"");
65 BBTK_END_DESCRIBE_BLACK_BOX(ILPD);
66 }
67 // EO namespace bbmaracasvisu
68
69 #endif // __bbmaracasvisuILPD_h_INCLUDED__
70 #endif // _USE_WXWIDGETS_
71