Skip to content

shapeworks::OptimizeTool

Inherits from QWidget

Public Slots

Name
void on_run_optimize_button_clicked()
Run optimize tool.
void on_restoreDefaults_clicked()
void handle_optimize_complete()
void handle_optimize_failed()
void handle_progress(int val, QString message)
void handle_error(QString )
void handle_warning(QString )
void handle_message(QString )
void update_ui_elements()
bool validate_inputs()

Public Signals

Name
void optimize_start()
void optimize_complete()
void error_message(QString )
void warning_message(QString )
void progress(int )
void message(QString )
void status(QString )

Public Functions

Name
OptimizeTool(Preferences & prefs)
~OptimizeTool()
void set_session(QSharedPointer< Session > session)
set the pointer to the project
void activate()
activate this tool
void load_params()
Load params from project.
void store_params()
Store params to project.
void enable_actions()
Enable action buttons.
void disable_actions()
Disable action buttons.
void shutdown_threads()
shut down any running threads

Public Slots Documentation

slot on_run_optimize_button_clicked

void on_run_optimize_button_clicked()

Run optimize tool.

slot on_restoreDefaults_clicked

void on_restoreDefaults_clicked()

slot handle_optimize_complete

void handle_optimize_complete()

slot handle_optimize_failed

void handle_optimize_failed()

slot handle_progress

void handle_progress(
    int val,
    QString message
)

slot handle_error

void handle_error(
    QString 
)

slot handle_warning

void handle_warning(
    QString 
)

slot handle_message

void handle_message(
    QString 
)

slot update_ui_elements

void update_ui_elements()

slot validate_inputs

bool validate_inputs()

Public Signals Documentation

signal optimize_start

void optimize_start()

signal optimize_complete

void optimize_complete()

signal error_message

void error_message(
    QString 
)

signal warning_message

void warning_message(
    QString 
)

signal progress

void progress(
    int 
)

signal message

void message(
    QString 
)

signal status

void status(
    QString 
)

Public Functions Documentation

function OptimizeTool

OptimizeTool(
    Preferences & prefs
)

function ~OptimizeTool

~OptimizeTool()

function set_session

void set_session(
    QSharedPointer< Session > session
)

set the pointer to the project

function activate

void activate()

activate this tool

function load_params

void load_params()

Load params from project.

function store_params

void store_params()

Store params to project.

function enable_actions

void enable_actions()

Enable action buttons.

function disable_actions

void disable_actions()

Disable action buttons.

function shutdown_threads

void shutdown_threads()

shut down any running threads


Updated on 2022-07-23 at 16:40:06 -0600