Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef QmitkLesionTreeItem_h
14 #define QmitkLesionTreeItem_h
112 std::vector<ChildPointer> m_Children;
mitk::LesionData & GetData()
Return the item data, which contains ...
std::weak_ptr< QmitkLesionTreeItem > ParentPointer
Q_DECLARE_METATYPE(mitk::ProcessExecutor::Pointer)
size_t ChildCount() const
Return the number of child items.
int GetRowOfChild(ChildConstPointer child) const
Get the row of the given child item relative to this item.
void RemoveChild(ChildPointer child)
Remove a child from the list of children of this item.
int GetRow() const
Get the row of this item relative to its parent item using 'GetRowOfChild'.
QmitkLesionTreeItem(mitk::LesionData lesionData=mitk::LesionData())
ParentPointer GetParent() const
Return the parent item.
void SetData(const mitk::LesionData &lesionData)
Set the item data of this item.
void AddChild(ChildPointer child)
Add a new child to the list of children of this item if it is not already a child item.
ChildPointer GetChildInRow(int row) const
Return the child of this item at a specific position.
This class holds the data of each lesion in the lesion tree view. The data is the lesion itself with ...
std::shared_ptr< const QmitkLesionTreeItem > ChildConstPointer
void SetParent(ParentPointer parent)
Set the parent item of this item.
std::shared_ptr< QmitkLesionTreeItem > ChildPointer