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(bool success) |
| 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() |
| void | activate() |
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
cpp
void handle_error(
QString msg
)
slot onConnectServer
cpp
void onConnectServer()
slot onServerAddressChanged
cpp
void onServerAddressChanged()
slot onModelTypeChanged
cpp
void onModelTypeChanged(
int index
)
slot triggerUpdateView
cpp
void triggerUpdateView()
slot handle_progress
cpp
void handle_progress(
int val,
QString message
)
slot handleSampleNumberChanged
cpp
void handleSampleNumberChanged()
slot handleClientInitialized
cpp
void handleClientInitialized(
bool success
)
slot handleUploadSampleCompleted
cpp
void handleUploadSampleCompleted()
slot handleSegmentationCompleted
cpp
void handleSegmentationCompleted()
slot handleSubmitLabelCompleted
cpp
void handleSubmitLabelCompleted()
Public Signals Documentation
signal update_view
cpp
void update_view()
signal progress
cpp
void progress(
int
)
signal sampleChanged
cpp
void sampleChanged()
Public Functions Documentation
function MonaiLabelTool
cpp
MonaiLabelTool(
Preferences & prefs
)
function ~MonaiLabelTool
cpp
~MonaiLabelTool()
function set_session
cpp
void set_session(
QSharedPointer< Session > session
)
function set_app
cpp
void set_app(
ShapeWorksStudioApp * app
)
function is_active
cpp
bool is_active()
function loadParamsFromUi
cpp
void loadParamsFromUi()
function shutdown
cpp
void shutdown()
function runSegmentationTool
cpp
void runSegmentationTool()
function resizeEvent
cpp
void resizeEvent(
QResizeEvent * event
) override
function getCurrentSampleNumber
cpp
int getCurrentSampleNumber()
function enable_actions
cpp
void enable_actions()
function activate
cpp
void activate()
Public Attributes Documentation
variable MONAI_MODE_SEGMENTATION
cpp
static const std::string MONAI_MODE_SEGMENTATION;
variable MONAI_MODE_DEEPGROW
cpp
static const std::string MONAI_MODE_DEEPGROW;
variable MONAI_MODE_DEEPEDIT
cpp
static const std::string MONAI_MODE_DEEPEDIT;
variable MONAI_SAMPLE_STRATEGY_RANDOM
cpp
static const std::string MONAI_SAMPLE_STRATEGY_RANDOM;
Updated on 2026-03-31 at 16:02:09 +0000