#include <QmitkLesionTreeItem.h>
Definition at line 34 of file QmitkLesionTreeItem.h.
◆ ChildConstPointer
◆ ChildPointer
◆ ParentPointer
◆ QmitkLesionTreeItem()
◆ AddChild()
Add a new child to the list of children of this item if it is not already a child item.
- Parameters
-
child | The child item to add to this item. |
◆ ChildCount()
size_t QmitkLesionTreeItem::ChildCount |
( |
| ) |
const |
|
inline |
Return the number of child items.
- Returns
- Number of child items.
Definition at line 89 of file QmitkLesionTreeItem.h.
◆ GetChildInRow()
ChildPointer QmitkLesionTreeItem::GetChildInRow |
( |
int |
row | ) |
const |
|
inline |
Return the child of this item at a specific position.
- Parameters
-
row | Determines the position of a child item to return. |
- Returns
- The child of this item at a specific position.
Definition at line 51 of file QmitkLesionTreeItem.h.
◆ GetData()
Return the item data, which contains ...
see mitk::LesionItemData
Definition at line 69 of file QmitkLesionTreeItem.h.
◆ GetParent()
Return the parent item.
- Returns
- The parent item as std::weak_ptr.
Definition at line 57 of file QmitkLesionTreeItem.h.
◆ GetRow()
int QmitkLesionTreeItem::GetRow |
( |
| ) |
const |
Get the row of this item relative to its parent item using 'GetRowOfChild'.
- Returns
- The row of this item relative to its parent item.
◆ GetRowOfChild()
Get the row of the given child item relative to this item.
- Parameters
-
child | The child item whose row is to be determined. |
- Returns
- The row of the child item.
◆ RemoveChild()
Remove a child from the list of children of this item.
- Parameters
-
child | The child item to remove from this item. |
◆ SetData()
Set the item data of this item.
- Parameters
-
lesionData | LesionData that provides information about this item. |
◆ SetParent()
Set the parent item of this item.
- Parameters
-
parent | The new parent item of this item. |
The documentation for this class was generated from the following file: