Skip to content

monailabel::MonaiLabelTool

Inherits from QWidget

Public Slots

Name
void handle_error(QString msg)
void onConnectServer()
void onServerAddressChanged()
void onModelTypeChanged(int index)
void triggerUpdateView()
void handle_progress(int val, QString message)
void handleSampleNumberChanged()
void handleClientInitialized()
void handleUploadSampleCompleted()
void handleSegmentationCompleted()
void handleSubmitLabelCompleted()

Public Signals

Name
void update_view()
void progress(int )
void sampleChanged()

Public Functions

Name
MonaiLabelTool(Preferences & prefs)
~MonaiLabelTool()
void set_session(QSharedPointer< Session > session)
void set_app(ShapeWorksStudioApp * app)
bool is_active()
void loadParamsFromUi()
void shutdown()
void runSegmentationTool()
void resizeEvent(QResizeEvent * event) override
int getCurrentSampleNumber()
void enable_actions()

Public Attributes

Name
const std::string MONAI_MODE_SEGMENTATION
const std::string MONAI_MODE_DEEPGROW
const std::string MONAI_MODE_DEEPEDIT
const std::string MONAI_SAMPLE_STRATEGY_RANDOM

Public Slots Documentation

slot handle_error

void handle_error(
    QString msg
)

slot onConnectServer

void onConnectServer()

slot onServerAddressChanged

void onServerAddressChanged()

slot onModelTypeChanged

void onModelTypeChanged(
    int index
)

slot triggerUpdateView

void triggerUpdateView()

slot handle_progress

void handle_progress(
    int val,
    QString message
)

slot handleSampleNumberChanged

void handleSampleNumberChanged()

slot handleClientInitialized

void handleClientInitialized()

slot handleUploadSampleCompleted

void handleUploadSampleCompleted()

slot handleSegmentationCompleted

void handleSegmentationCompleted()

slot handleSubmitLabelCompleted

void handleSubmitLabelCompleted()

Public Signals Documentation

signal update_view

void update_view()

signal progress

void progress(
    int 
)

signal sampleChanged

void sampleChanged()

Public Functions Documentation

function MonaiLabelTool

MonaiLabelTool(
    Preferences & prefs
)

function ~MonaiLabelTool

~MonaiLabelTool()

function set_session

void set_session(
    QSharedPointer< Session > session
)

function set_app

void set_app(
    ShapeWorksStudioApp * app
)

function is_active

bool is_active()

function loadParamsFromUi

void loadParamsFromUi()

function shutdown

void shutdown()

function runSegmentationTool

void runSegmentationTool()

function resizeEvent

void resizeEvent(
    QResizeEvent * event
) override

function getCurrentSampleNumber

int getCurrentSampleNumber()

function enable_actions

void enable_actions()

Public Attributes Documentation

variable MONAI_MODE_SEGMENTATION

static const std::string MONAI_MODE_SEGMENTATION;

variable MONAI_MODE_DEEPGROW

static const std::string MONAI_MODE_DEEPGROW;

variable MONAI_MODE_DEEPEDIT

static const std::string MONAI_MODE_DEEPEDIT;

variable MONAI_SAMPLE_STRATEGY_RANDOM

static const std::string MONAI_SAMPLE_STRATEGY_RANDOM;

Updated on 2024-11-11 at 19:51:45 +0000