![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusionLabels/lib/include/ImFusion/Labels/Annotation/TotalSegmentatorAction.h>
Provides an action that can run TotalSegmentator and map the resulting labels to the project. More...
Provides an action that can run TotalSegmentator and map the resulting labels to the project.
The action supports multiple models that have to downloaded beforehand in the settings. If no model is available, the action UI is disabled and an error pointing to the settings is displayed.
Public Member Functions | |
| bool | isProjectCompatible () const override |
| bool | isProjectCompatible (const Project::ProjectTypes &, bool) const override |
| bool | areActiveLayersCompatible () const override |
| bool | isDataSetCompatible (const DataSet &) const override |
| QIcon | icon () const override |
| QString | text () const override |
| QString | description () const override |
| QString | docPath () const override |
| bool | isReadOnly () const override |
| QWidget * | ui (QWidget *=nullptr) override |
| void | init () override |
| void | activate () override |
| void | setMappingsToIgnore () |
| Sets all mappings to ignore. | |
| void | setAutoMappings () |
| Tries to automatically match labels defined in the project to labelnames known to TotalSegmentator. | |
| Public Member Functions inherited from ImFusion::AnnotationAction | |
| virtual void | dataSetChanged () |
| virtual void | deactivate () |
| virtual bool | inputEvent (QEvent *) |
| virtual void | configuration (Properties *) const override |
| Serialize the current object configuration into the given Properties object. | |
| virtual void | configure (const Properties *) override |
| Configure this object instance by de-serializing the given Properties. | |
| Public Member Functions inherited from ImFusion::Configurable | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Additional Inherited Members | |
| Public Attributes inherited from ImFusion::Configurable | |
| Signal | signalParametersChanged |
| Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
| Protected Attributes inherited from ImFusion::AnnotationAction | |
| bool | m_isActive = false |
| DataSet * | m_dataSet = nullptr |
| const Project * | m_project = nullptr |
| DisplayWidgetMultiAdapter | m_disp |
| ThumbnailLoader * | m_thumbnailLoader = nullptr |
| AnnotationActionSharedState * | m_sharedState = nullptr |
| AnnotationView * | m_annotationView = nullptr |
| Protected Attributes inherited from ImFusion::Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Implements ImFusion::AnnotationAction.
|
overridevirtual |
Reimplemented from ImFusion::AnnotationAction.
|
overridevirtual |
Reimplemented from ImFusion::AnnotationAction.
| void ImFusion::TotalSegmentatorAction::setAutoMappings | ( | ) |
Tries to automatically match labels defined in the project to labelnames known to TotalSegmentator.
See ImFusion::LabelNameMatching for details. Each TotalSegmentator label will only match once. E.g. if the project has two labels with the same name, only one will be assigned the matching TotalSegmentator label.