Computer Assited Medical Intervention Tool Kit  version 4.1
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-2018 Univ. Grenoble Alpes, 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 public:
73  enum Type {
76  OTHER
77  };
78 
79 private:
82 
84  QString name;
85 
90 
91 public:
94 
99  HistoryComponent(Component* component);
101 
104 
107  QString getName() const;
108 
111  Type getType() const;
113 
114 
115 };
116 
117 }; // namespace camitk
118 
119 #endif // HISTORYCOMPONENT_H
Type
The different Type (of representation) of the associated Component.
Definition: HistoryComponent.h:73
this Component represents a volumic image and its subcomponents can be displayed as slices...
Definition: HistoryComponent.h:74
HistoryComponent class describes the component information (name, type) stored in the history...
Definition: HistoryComponent.h:59
Definition: Action.cpp:36
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:298
#define CAMITK_API
Definition: CamiTKAPI.h:49
Type type
The component&#39;s Type.
Definition: HistoryComponent.h:88
this Component represent a 3D mesh, it has a 3D representation which can be displayed in the 3D viewe...
Definition: HistoryComponent.h:75
QString name
The name of the Component.
Definition: HistoryComponent.h:84