Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkEditPointDialog Class Reference

A dialog for editing 3D point coordinates via text input fields. More...

#include <QmitkEditPointDialog.h>

Inheritance diagram for QmitkEditPointDialog:
Collaboration diagram for QmitkEditPointDialog:

Public Member Functions

 QmitkEditPointDialog (QWidget *parent=nullptr, Qt::WindowFlags f={})
 Construct the edit point dialog. More...
 
 ~QmitkEditPointDialog () override
 Destructor. More...
 
void SetPoint (mitk::PointSet *_PointSet, mitk::PointSet::PointIdentifier _PointId, int timestep=0)
 Set the point to edit. More...
 

Protected Slots

void OnOkButtonClicked (bool)
 

Protected Attributes

QmitkEditPointDialogData * d
 

Detailed Description

A dialog for editing 3D point coordinates via text input fields.

Displays X, Y, and Z coordinate line edits for a specific point in a mitk::PointSet. On confirmation, the new coordinates are validated for double precision and written back to the point set.

See also
QmitkPointListView, QmitkPointListWidget

Definition at line 32 of file QmitkEditPointDialog.h.

Constructor & Destructor Documentation

◆ QmitkEditPointDialog()

QmitkEditPointDialog::QmitkEditPointDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = {} 
)

Construct the edit point dialog.

Parameters
[in]parentThe parent widget.
[in]fWindow flags.

◆ ~QmitkEditPointDialog()

QmitkEditPointDialog::~QmitkEditPointDialog ( )
override

Destructor.

Member Function Documentation

◆ OnOkButtonClicked

void QmitkEditPointDialog::OnOkButtonClicked ( bool  )
protectedslot

◆ SetPoint()

void QmitkEditPointDialog::SetPoint ( mitk::PointSet *  _PointSet,
mitk::PointSet::PointIdentifier  _PointId,
int  timestep = 0 
)

Set the point to edit.

Populates the coordinate fields with the current values of the specified point.

Parameters
[in]_PointSetThe point set containing the point.
[in]_PointIdThe identifier of the point within the set.
[in]timestepThe time step at which to read/write the point (default 0).

Member Data Documentation

◆ d

QmitkEditPointDialogData* QmitkEditPointDialog::d
protected

Definition at line 62 of file QmitkEditPointDialog.h.


The documentation for this class was generated from the following file: