1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
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
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.
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
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 # ------------------------------------------------------------------------ */
26 #ifndef __INSTANT_MEMBERS_NAME_LIST__
27 #define __INSTANT_MEMBERS_NAME_LIST__
30 //------------------------------------------------------------------------------------------------------------
32 //------------------------------------------------------------------------------------------------------------
37 #include "NameWrapper.h"
40 class InstantMembersNameList{
42 //------------------------------------------------------------------------------------------------------------
43 // Constructors & Destructors
44 //------------------------------------------------------------------------------------------------------------
48 * Create the InstantMembersNameList with empty data pointers
50 InstantMembersNameList();
53 * Destroys the InstantMembersNameList
55 ~InstantMembersNameList();
57 //------------------------------------------------------------------------------------------------------------
59 //------------------------------------------------------------------------------------------------------------
62 * Sets the actual outline names pair
63 * @param thekeyName The key name asigned to the actual outline
64 * @param theRealName The real name asigned to the actual outline
66 void setActualOutline(std::string thekeyName, std::string theRealName );
69 * Sets the actual axes names pair
70 * @param thekeyName The key name asigned to the actual outline
71 * @param theRealName The real name asigned to the actual outline
73 void addOutlineName(std::string thekeyName, std::string theRealName);
76 * Sets the actual axes names pair
77 * @param thekeyName The key name asigned to the actual axe
78 * @param theRealName The real name asigned to the actual axe
80 void setActualAxeWrap(std::string thekeyName, std::string theRealName);
83 * Gets the actual axes key name
84 * @return actualAxeKeyName The key name asigned to the actual axe
86 std::string getActualAxeKeyName();
89 * Gets the actual axes key name
90 * @return actualSourceImageKeyName The key name asigned to the actual axe
92 std::string getActualSourceImageKeyName();
95 * Gets the actual axes key name
96 * @return actualSectionImageKeyName The key name asigned to the actual axe
98 std::string getActualSectionImageKeyName();
101 * Gets the vector of the key names of currect instant outlines
102 * @return vectorPairedNames The vector with the pair of outline names wrapping
104 std::vector<NameWrapper *> getOutlinesNamesVector();
108 * Sets the actualSourceImage names pair
109 * @param thekeyName The key name asigned to the actual outline
110 * @param theRealName The real name asigned to the actual outline
112 void setActualSourceImageNamesWrapp(std::string thekeyName, std::string theRealName);
115 * Sets the actualSectionImage names pair
116 * @param thekeyName The key name asigned to the actual outline
117 * @param theRealName The real name asigned to the actual outline
119 void setActualSectionImageNamesWrapp(std::string thekeyName, std::string theRealName);
122 * Cleans the vector and the information of the instant members wrapping
126 //------------------------------------------------------------------------------------------------------------
128 //------------------------------------------------------------------------------------------------------------
131 //------------------------------------------------------------------------------------------------------------
133 //------------------------------------------------------------------------------------------------------------
135 std::vector<NameWrapper *> outlinesNamesVector;
137 std::vector<std::string> axesNamesVector;
139 NameWrapper * actualAxeNamesWrapp;
141 NameWrapper * actualSourceImageNamesWrapp;
143 NameWrapper * actualSectionImageNamesWrapp;
145 NameWrapper * actualOutlineNamesWrapp;