|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
35 #include <Component.h>
68 QMap<QByteArray, QVariant> properties;
70 QList<HistoryComponent> inputHistoryComponents;
72 QList<HistoryComponent> outputHistoryComponents;
76 HistoryItem() =
default;
81 HistoryItem(QString name);
93 void addProperty(QByteArray name, QVariant value);
98 QList<HistoryComponent> getInputHistoryComponents();
102 void setInputHistoryComponents(QList<HistoryComponent> inputHistoryComponents);
106 QList<HistoryComponent> getOutputHistoryComponents();
110 void setOutputHistoryComponents(QList<HistoryComponent> outputHistoryComponents);
116 #endif // HISTORYITEM_H
QList< HistoryComponent > inputHistoryComponents
The input components for this action.
Definition: HistoryItem.h:116
QList< HistoryComponent > getInputHistoryComponents()
Get the input components of the history item action.
Definition: HistoryItem.cpp:70
QList< HistoryComponent > getOutputHistoryComponents()
Get the output components of the history item action.
Definition: HistoryItem.cpp:80
void addProperty(QByteArray name, QVariant value)
Add a property of the corresponding action to the history item.
Definition: HistoryItem.cpp:65
void setInputHistoryComponents(QList< HistoryComponent > inputHistoryComponents)
Set the input components of the history item action.
Definition: HistoryItem.cpp:75
QMap< QByteArray, QVariant > properties
The properties stored for this action.
Definition: HistoryItem.h:114
void setOutputHistoryComponents(QList< HistoryComponent > outputHistoryComponents)
Set the output components of the history item action.
Definition: HistoryItem.cpp:85
HistoryItem()=default
Empty constructor.
HistoryItem class describes the entry of an action used in a pipeline, in the history.
Definition: HistoryItem.h:84
QString name
The name of the action in the pipeline.
Definition: HistoryItem.h:111
QList< HistoryComponent > outputHistoryComponents
The outpu components for this action.
Definition: HistoryItem.h:118
QString getName()
Get the name of the corresponding action in the pipeline.
Definition: HistoryItem.cpp:59
#define CAMITK_API
Definition: CamiTKAPI.h:49
Definition: Action.cpp:35