Skip to content

shapeworks::DeepSSMTool

Inherits from QWidget

Public Types

Name
enum class ToolMode
enum PrepStep
enum class SplitType

Public Slots

Name
void run_clicked()
void run_prep_clicked(int step)
void restore_defaults()
void handle_thread_complete()
void handle_progress(int val, QString message)
void handle_error(QString msg)
void tab_changed(int tab)
void update_panels()
void update_split()
void handle_new_mesh()
void training_fine_tuning_changed()

Public Signals

Name
void update_view()
void progress(int )

Public Functions

Name
DeepSSMTool(Preferences & prefs)
~DeepSSMTool()
void set_session(QSharedPointer< Session > session)
set the pointer to the session
void set_app(ShapeWorksStudioApp * app)
set the pointer to the application
bool is_active()
Return if this tool is active.
void load_params()
void store_params()
void shutdown()
ShapeList get_shapes()
void resizeEvent(QResizeEvent * event) override
std::string get_display_feature()
std::vector< int > get_split(ProjectHandle project, SplitType split_type)

Public Types Documentation

enum ToolMode

Enumerator Value Description
DeepSSM_PrepType 0
DeepSSM_AugmentationType 1
DeepSSM_TrainingType 2
DeepSSM_TestingType 3

enum PrepStep

Enumerator Value Description
NOT_STARTED 0
GROOM_TRAINING 1
OPTIMIZE_TRAINING 2
OPTIMIZE_VALIDATION 3
GROOM_IMAGES 4
DONE 5

enum SplitType

Enumerator Value Description
TRAIN
VAL
TEST

Public Slots Documentation

slot run_clicked

void run_clicked()

slot run_prep_clicked

void run_prep_clicked(
    int step
)

slot restore_defaults

void restore_defaults()

slot handle_thread_complete

void handle_thread_complete()

slot handle_progress

void handle_progress(
    int val,
    QString message
)

slot handle_error

void handle_error(
    QString msg
)

slot tab_changed

void tab_changed(
    int tab
)

slot update_panels

void update_panels()

slot update_split

void update_split()

slot handle_new_mesh

void handle_new_mesh()

slot training_fine_tuning_changed

void training_fine_tuning_changed()

Public Signals Documentation

signal update_view

void update_view()

signal progress

void progress(
    int 
)

Public Functions Documentation

function DeepSSMTool

DeepSSMTool(
    Preferences & prefs
)

function ~DeepSSMTool

~DeepSSMTool()

function set_session

void set_session(
    QSharedPointer< Session > session
)

set the pointer to the session

function set_app

void set_app(
    ShapeWorksStudioApp * app
)

set the pointer to the application

function is_active

bool is_active()

Return if this tool is active.

function load_params

void load_params()

function store_params

void store_params()

function shutdown

void shutdown()

function get_shapes

ShapeList get_shapes()

function resizeEvent

void resizeEvent(
    QResizeEvent * event
) override

function get_display_feature

std::string get_display_feature()

function get_split

static std::vector< int > get_split(
    ProjectHandle project,
    SplitType split_type
)

Updated on 2024-03-17 at 12:58:44 -0600