Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkAlgorithmProfileViewer Class Reference

Widget that displays the detailed profile and identification information of a MatchPoint registration algorithm. More...

#include <QmitkAlgorithmProfileViewer.h>

Inheritance diagram for QmitkAlgorithmProfileViewer:
Collaboration diagram for QmitkAlgorithmProfileViewer:

Public Slots

void OnInfoChanged (const map::deployment::DLLInfo *newInfo)
 Slot that delegates to updateInfo(). More...
 

Public Member Functions

 QmitkAlgorithmProfileViewer (QWidget *parent=nullptr)
 Constructs the algorithm profile viewer widget. More...
 
 ~QmitkAlgorithmProfileViewer () override
 Destructor. More...
 
void updateInfo (const map::deployment::DLLInfo *newInfo)
 Updates the widget to display information from the given DLLInfo. More...
 

Protected Attributes

std::unique_ptr< Ui::QmitkAlgorithmProfileViewer > m_Controls
 

Detailed Description

Widget that displays the detailed profile and identification information of a MatchPoint registration algorithm.

This widget renders a rich-text view showing the algorithm's identification (namespace, name, version, build tag, library path), description, keywords, characteristics (data type, computation style, determinism, resolution style, dimensions, modalities, transform model, metric, optimization, interaction), and contact/usage information (contact, terms, citation).

The displayed information is parsed from the algorithm's profile string stored in the map::deployment::DLLInfo object. The widget does not retain a reference to the DLLInfo; call updateInfo() each time the information should be refreshed.

See also
QmitkAlgorithmListModel, QmitkAlgorithmSettingsConfig

Definition at line 43 of file QmitkAlgorithmProfileViewer.h.

Constructor & Destructor Documentation

◆ QmitkAlgorithmProfileViewer()

QmitkAlgorithmProfileViewer::QmitkAlgorithmProfileViewer ( QWidget *  parent = nullptr)

Constructs the algorithm profile viewer widget.

Parameters
[in]parentOptional parent widget.

◆ ~QmitkAlgorithmProfileViewer()

QmitkAlgorithmProfileViewer::~QmitkAlgorithmProfileViewer ( )
override

Destructor.

Member Function Documentation

◆ OnInfoChanged

void QmitkAlgorithmProfileViewer::OnInfoChanged ( const map::deployment::DLLInfo *  newInfo)
slot

Slot that delegates to updateInfo().

Convenience slot that can be connected to signals providing a DLLInfo pointer to trigger a display update.

Parameters
[in]newInfoPointer to the DLLInfo instance to display.

◆ updateInfo()

void QmitkAlgorithmProfileViewer::updateInfo ( const map::deployment::DLLInfo *  newInfo)

Updates the widget to display information from the given DLLInfo.

Parses the algorithm profile string from the DLLInfo and renders identification, description, keywords, characteristics, and contact information as HTML in the internal text widget. If newInfo is nullptr, the widget content is cleared.

Parameters
[in]newInfoPointer to the DLLInfo instance to display. The pointer is not stored internally; to refresh the display, call this method again.
Note
The DLLInfo is not stored internally or as reference. To update the widget you must call updateInfo() again.

Member Data Documentation

◆ m_Controls

std::unique_ptr<Ui::QmitkAlgorithmProfileViewer> QmitkAlgorithmProfileViewer::m_Controls
protected

Definition at line 84 of file QmitkAlgorithmProfileViewer.h.


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