Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Widget for regular operations on point sets. More...
#include <QmitkPointListWidget.h>
Public Slots | |
void | DeactivateInteractor (bool deactivate) |
void | EnableEditButton (bool enabled) |
Signals | |
void | EditPointSets (bool active) |
signal to inform about the state of the EditPointSetButton, whether an interactor for setting points is active or not More... | |
void | PointSelectionChanged () |
signal to inform that the selection of a point in the pointset has changed More... | |
void | PointListChanged () |
signal to inform about cleared or loaded point sets More... | |
Public Member Functions | |
QmitkPointListWidget (QWidget *parent=nullptr, int orientation=0) | |
~QmitkPointListWidget () override | |
void | SetupConnections () |
void | AddSliceNavigationController (mitk::SliceNavigationController *snc) |
Add a mitk::SliceNavigationController instance. More... | |
void | RemoveSliceNavigationController (mitk::SliceNavigationController *snc) |
Remove a mitk::SliceNavigationController instance. More... | |
void | SetPointSet (mitk::PointSet *newPs) |
assign a point set (contained in a node of DataStorage) for observation More... | |
mitk::PointSet * | GetPointSet () |
void | SetPointSetNode (mitk::DataNode *newNode) |
assign a point set (contained in a node of DataStorage) for observation More... | |
mitk::DataNode * | GetPointSetNode () |
void | SetMultiWidget (QmitkAbstractMultiWidget *multiWidget) |
assign a QmitkAbstractMultiWidget for updating render window crosshair More... | |
void | OnNodeDeleted (const itk::EventObject &e) |
itk observer for node "delete" events More... | |
void | UnselectEditButton () |
Unselects the edit button if it is selected. More... | |
Protected Slots | |
void | OnBtnSavePoints () |
void | OnBtnLoadPoints () |
void | RemoveSelectedPoint () |
void | MoveSelectedPointDown () |
void | MoveSelectedPointUp () |
void | OnBtnAddPoint (bool checked) |
void | OnBtnAddPointManually () |
void | OnTimeStepChanged (int timeStep) |
void | OnPointSelectionChanged () |
pass through signal from PointListView that point selection has changed More... | |
void | OnListDoubleClick () |
Protected Member Functions | |
void | SetupUi () |
void | ObserveNewNode (mitk::DataNode *node) |
Protected Attributes | |
QmitkPointListView * | m_PointListView |
mitk::DataNode::Pointer | m_PointSetNode |
int | m_Orientation |
QPushButton * | m_MovePointUpBtn |
QPushButton * | m_MovePointDownBtn |
QPushButton * | m_RemovePointBtn |
QPushButton * | m_SavePointsBtn |
QPushButton * | m_LoadPointsBtn |
QPushButton * | m_ToggleAddPoint |
QPushButton * | m_AddPoint |
QLabel * | m_TimeStepDisplay |
QLabel * | m_TimeStepLabel |
mitk::DataInteractor::Pointer | m_DataInteractor |
int | m_TimeStep |
bool | m_EditAllowed |
unsigned long | m_NodeObserverTag |
QmitkPointListModel * | m_PointListModel |
Widget for regular operations on point sets.
Displays a list of point coordinates and a couple of buttons which
The user/application module of this widget needs to assign a mitk::PointSet object to this widget. The user also has to decide whether it wants to put the point set into (a) DataStorage. This widget will not add/remove point sets to DataStorage.
If the render window crosshair should be moved to the currently selected point, the widget user has to provide a QmitkAbstractMultiWidget object.
Definition at line 51 of file QmitkPointListWidget.h.
QmitkPointListWidget::QmitkPointListWidget | ( | QWidget * | parent = nullptr , |
int | orientation = 0 |
||
) |
|
override |
void QmitkPointListWidget::AddSliceNavigationController | ( | mitk::SliceNavigationController * | snc | ) |
Add a mitk::SliceNavigationController instance.
snc | The mitk::SliceNavigationController instance. |
This method adds snc
to the set of slice navigation controllers which are used to navigate to the selected point.
|
slot |
|
signal |
signal to inform about the state of the EditPointSetButton, whether an interactor for setting points is active or not
|
slot |
mitk::PointSet* QmitkPointListWidget::GetPointSet | ( | ) |
mitk::DataNode* QmitkPointListWidget::GetPointSetNode | ( | ) |
|
protectedslot |
|
protectedslot |
|
protected |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
void QmitkPointListWidget::OnNodeDeleted | ( | const itk::EventObject & | e | ) |
itk observer for node "delete" events
|
protectedslot |
pass through signal from PointListView that point selection has changed
|
protectedslot |
|
signal |
signal to inform about cleared or loaded point sets
|
signal |
signal to inform that the selection of a point in the pointset has changed
|
protectedslot |
void QmitkPointListWidget::RemoveSliceNavigationController | ( | mitk::SliceNavigationController * | snc | ) |
Remove a mitk::SliceNavigationController instance.
snc | The mitk::SliceNavigationController instance. |
This method removes snc
from the set of slice navigation controllers which are used to navigate to the selected point.
void QmitkPointListWidget::SetMultiWidget | ( | QmitkAbstractMultiWidget * | multiWidget | ) |
assign a QmitkAbstractMultiWidget for updating render window crosshair
void QmitkPointListWidget::SetPointSet | ( | mitk::PointSet * | newPs | ) |
assign a point set (contained in a node of DataStorage) for observation
void QmitkPointListWidget::SetPointSetNode | ( | mitk::DataNode * | newNode | ) |
assign a point set (contained in a node of DataStorage) for observation
void QmitkPointListWidget::SetupConnections | ( | ) |
|
protected |
void QmitkPointListWidget::UnselectEditButton | ( | ) |
Unselects the edit button if it is selected.
|
protected |
Definition at line 142 of file QmitkPointListWidget.h.
|
protected |
Definition at line 146 of file QmitkPointListWidget.h.
|
protected |
Definition at line 148 of file QmitkPointListWidget.h.
|
protected |
Definition at line 140 of file QmitkPointListWidget.h.
|
protected |
Definition at line 137 of file QmitkPointListWidget.h.
|
protected |
Definition at line 136 of file QmitkPointListWidget.h.
|
protected |
Definition at line 149 of file QmitkPointListWidget.h.
|
protected |
Definition at line 134 of file QmitkPointListWidget.h.
|
protected |
Definition at line 151 of file QmitkPointListWidget.h.
|
protected |
Definition at line 130 of file QmitkPointListWidget.h.
|
protected |
Definition at line 132 of file QmitkPointListWidget.h.
|
protected |
Definition at line 138 of file QmitkPointListWidget.h.
|
protected |
Definition at line 139 of file QmitkPointListWidget.h.
|
protected |
Definition at line 147 of file QmitkPointListWidget.h.
|
protected |
Definition at line 143 of file QmitkPointListWidget.h.
|
protected |
Definition at line 144 of file QmitkPointListWidget.h.
|
protected |
Definition at line 141 of file QmitkPointListWidget.h.