|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
GUI widget for displaying and interacting with a mitk::PointSet. More...
#include <QmitkPointListView.h>


Signals | |
| void | SignalPointSelectionChanged () |
| Emitted when the point selection changes in the point set. More... | |
| void | SignalTimeStepChanged (int timeStep) |
| Emitted when the time step changes via mouse wheel. More... | |
Public Member Functions | |
| QmitkPointListView (QWidget *parent=nullptr) | |
| Construct the point list view. More... | |
| ~QmitkPointListView () override | |
| Destructor. More... | |
| void | SetPointSetNode (mitk::DataNode *pointSetNode) |
| Set the data node containing the point set to display. More... | |
| const mitk::PointSet * | GetPointSet () const |
| Get the displayed point set. More... | |
| void | SetMultiWidget (QmitkAbstractMultiWidget *multiWidget) |
| Set a multi widget for automatic crosshair centering on selected points. More... | |
| QmitkAbstractMultiWidget * | GetMultiWidget () const |
| Get the currently assigned multi widget. More... | |
| void | AddSliceNavigationController (mitk::SliceNavigationController *snc) |
| Add a slice navigation controller for point-based crosshair navigation. More... | |
| void | RemoveSliceNavigationController (mitk::SliceNavigationController *snc) |
| Remove a slice navigation controller. More... | |
Protected Slots | |
| void | OnPointDoubleClicked (const QModelIndex &index) |
| Filtering double click event for editing point coordinates via a dialog. More... | |
| void | OnPointSetSelectionChanged () |
| called when the point set data structure changes More... | |
| void | OnListViewSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
| called when the selection of the view widget changes More... | |
| void | ctxMenu (const QPoint &pos) |
| open ContextMenu More... | |
| void | SetFading (bool onOff) |
| Turn TimeStep Fading On/Off. More... | |
| void | ClearPointList () |
| Delete all points in the list. More... | |
| void | ClearPointListTS () |
| delete all points in the list in the current timestep More... | |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *e) override |
| react to F2, F3 and DEL keys More... | |
| void | wheelEvent (QWheelEvent *event) override |
| change timestep of the current pointset by mouse wheel More... | |
Protected Attributes | |
| std::set< mitk::SliceNavigationController * > | m_Sncs |
| QmitkPointListModel * | m_PointListModel |
| bool | m_SelfCall |
| bool | m_showFading |
| QmitkAbstractMultiWidget * | m_MultiWidget |
| used to position the planes on a selected point More... | |
GUI widget for displaying and interacting with a mitk::PointSet.
Displays all points in a mitk::PointSet as a list view. Automatically reacts to changes in the PointSet's selection status and updates the PointSet's selection when the list selection changes. Double-clicking a point opens a QmitkEditPointDialog for coordinate editing.
If a QmitkAbstractMultiWidget is assigned via SetMultiWidget(), or SliceNavigationControllers are added, the crosshair navigates to the selected point. The mouse wheel changes the displayed time step.
Key bindings: F2 moves point up, F3 moves point down, Delete removes the point.
Definition at line 42 of file QmitkPointListView.h.
| QmitkPointListView::QmitkPointListView | ( | QWidget * | parent = nullptr | ) |
Construct the point list view.
| [in] | parent | The parent widget. |
|
override |
Destructor.
| void QmitkPointListView::AddSliceNavigationController | ( | mitk::SliceNavigationController * | snc | ) |
Add a slice navigation controller for point-based crosshair navigation.
| [in] | snc | The mitk::SliceNavigationController to add. Ignored if nullptr. |
|
protectedslot |
Delete all points in the list.
|
protectedslot |
delete all points in the list in the current timestep
|
protectedslot |
open ContextMenu
| QmitkAbstractMultiWidget* QmitkPointListView::GetMultiWidget | ( | ) | const |
Get the currently assigned multi widget.
| const mitk::PointSet* QmitkPointListView::GetPointSet | ( | ) | const |
Get the displayed point set.
|
overrideprotected |
react to F2, F3 and DEL keys
|
protectedslot |
called when the selection of the view widget changes
|
protectedslot |
Filtering double click event for editing point coordinates via a dialog.
|
protectedslot |
called when the point set data structure changes
| void QmitkPointListView::RemoveSliceNavigationController | ( | mitk::SliceNavigationController * | snc | ) |
Remove a slice navigation controller.
| [in] | snc | The mitk::SliceNavigationController to remove. Ignored if nullptr. |
|
protectedslot |
Turn TimeStep Fading On/Off.
| void QmitkPointListView::SetMultiWidget | ( | QmitkAbstractMultiWidget * | multiWidget | ) |
Set a multi widget for automatic crosshair centering on selected points.
When set, all render windows of the multi widget are registered as slice navigation controllers for point-based navigation.
| [in] | multiWidget | The multi widget to use, or nullptr to clear. |
| void QmitkPointListView::SetPointSetNode | ( | mitk::DataNode * | pointSetNode | ) |
Set the data node containing the point set to display.
| [in] | pointSetNode | The data node with a mitk::PointSet. |
|
signal |
Emitted when the point selection changes in the point set.
|
signal |
Emitted when the time step changes via mouse wheel.
| [in] | timeStep | The new time step index. |
|
overrideprotected |
change timestep of the current pointset by mouse wheel
|
protected |
used to position the planes on a selected point
Definition at line 140 of file QmitkPointListView.h.
|
protected |
Definition at line 135 of file QmitkPointListView.h.
|
protected |
Definition at line 136 of file QmitkPointListView.h.
|
protected |
Definition at line 137 of file QmitkPointListView.h.
|
protected |
Definition at line 133 of file QmitkPointListView.h.