|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
#include <QmitkSegmentAnythingPreferencePage.h>


Public Member Functions | |
| QmitkSegmentAnythingPreferencePage () | |
| ~QmitkSegmentAnythingPreferencePage () override | |
| void | Init (berry::IWorkbench::Pointer workbench) override |
| void | CreateQtControl (QWidget *parent) override |
| QWidget * | GetQtControl () const override |
| bool | PerformOk () override |
| void | PerformCancel () override |
| void | Update () override |
Public Member Functions inherited from berry::IQtPreferencePage | |
| berryObjectMacro (berry::IQtPreferencePage) | |
Public Member Functions inherited from berry::IPreferencePage | |
| berryObjectMacro (berry::IPreferencePage) | |
| ~IPreferencePage () override | |
Public Member Functions inherited from berry::Object | |
| virtual QString | GetClassName () const |
| virtual Reflection::TypeInfo | GetTypeInfo () const |
| virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
| virtual void | Delete () |
| QDebug | Print (QDebug os, Indent Indent=0) const |
| virtual QString | ToString () const |
| virtual uint | HashCode () const |
| virtual bool | operator< (const Object *) const |
| void | Register () const |
| void | UnRegister (bool del=true) const |
| int | GetReferenceCount () const |
| void | SetReferenceCount (int) |
| void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
| void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
| virtual bool | operator== (const Object *) const |
Protected Member Functions | |
| bool | IsSAMInstalled (const QString &pythonPath) |
| Checks if SegmentAnything is found inside the selected python virtual environment. More... | |
| QString | GetPythonPathFromUI (const QString &) const |
| Get the virtual env path from UI combobox removing any extra special characters. More... | |
| void | SetDeviceInfo () |
| Adds GPU information to the gpu combo box. In case, there aren't any GPUs available, the combo box will be rendered editable. More... | |
| int | FetchSelectedDeviceFromUI () const |
| Returns GPU id of the selected GPU from the Combo box. More... | |
| void | WriteStatusMessage (const QString &) |
| void | WriteErrorMessage (const QString &) |
Protected Member Functions inherited from berry::IQtPreferencePage | |
| void | CreateControl (void *parent) override |
| void * | GetControl () const override |
Protected Member Functions inherited from berry::Object | |
| Object () | |
| virtual | ~Object () |
| virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
| virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
| virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
| typedef Object | Self |
| typedef berry::SmartPointer< Self > | Pointer |
| typedef berry::SmartPointer< const Self > | ConstPointer |
| typedef berry::WeakPointer< Self > | WeakPtr |
| typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
| static const char * | GetStaticClassName () |
| static Reflection::TypeInfo | GetStaticTypeInfo () |
| static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Attributes inherited from berry::Object | |
| QAtomicInt | m_ReferenceCount |
| QMutex | m_ReferenceCountLock |
Definition at line 33 of file QmitkSegmentAnythingPreferencePage.h.
| QmitkSegmentAnythingPreferencePage::QmitkSegmentAnythingPreferencePage | ( | ) |
|
override |
|
overridevirtual |
Implements berry::IQtPreferencePage.
|
protected |
Returns GPU id of the selected GPU from the Combo box.
|
protected |
Get the virtual env path from UI combobox removing any extra special characters.
|
overridevirtual |
Implements berry::IQtPreferencePage.
|
overridevirtual |
Initializes this preference page for the given workbench.
This method is called automatically as the preference page is being created and initialized. Clients must not call this method.
| workbench | the workbench |
Implements berry::IPreferencePage.
|
protected |
Checks if SegmentAnything is found inside the selected python virtual environment.
|
overridevirtual |
Invoked when the Cancel button was clicked in the preferences dialog
Implements berry::IPreferencePage.
|
overridevirtual |
Invoked when the OK button was clicked in the preferences dialog
Implements berry::IPreferencePage.
|
protected |
Adds GPU information to the gpu combo box. In case, there aren't any GPUs available, the combo box will be rendered editable.
|
overridevirtual |
Invoked when the user performed an import. As the values of the preferences may have changed you should read all values again from the preferences service.
Implements berry::IPreferencePage.
|
protected |
|
protected |