Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HistoryComponent.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2014 UJF-Grenoble 1, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef HISTORYCOMPONENT_H
27 #define HISTORYCOMPONENT_H
28 
29 // Qt stuffs
30 #include <QString>
31 
32 // CamiTK stuffs
33 #include <Component.h>
34 
35 namespace camitk {
36 
37 
60 {
61 public:
74  enum Type{
77  OTHER
78  };
79 
80 private:
83 
85  QString name;
86 
91 
92 public:
95 
100  HistoryComponent(Component* component);
102 
105 
108  QString getName() const;
109 
112  Type getType() const;
114 
115 
116 };
117 
118 }; // namespace camitk
119 
120 #endif // HISTORYCOMPONENT_H
this Component represents a volumic image and its subcomponents can be displayed as slices...
Definition: HistoryComponent.h:75
HistoryComponent class describes the component information (name, type) stored in the history...
Definition: HistoryComponent.h:59
Definition: Action.h:40
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:292
#define CAMITK_API
Definition: CamiTKAPI.h:49
Type
The different Type (of representation) of the associated Component.
Definition: HistoryComponent.h:74
this Component represent a 3D mesh, it has a 3D representation which can be displayed in the 3D viewe...
Definition: HistoryComponent.h:76
Type type
The component's Type.
Definition: HistoryComponent.h:89
QString name
The name of the Component.
Definition: HistoryComponent.h:85