Skip to content

shapeworks::ShapeEvaluationJob

Inherits from shapeworks::Job, QObject

Public Types

Name
enum class JobType

Public Signals

Name
void report_progress(shapeworks::ShapeEvaluationJob::JobType job_type, float progress)
void result_ready(shapeworks::ShapeEvaluationJob::JobType job_type, Eigen::VectorXd data)

Public Functions

Name
ShapeEvaluationJob(JobType job_type, ParticleShapeStatistics stats)
virtual void run() override
run the job
virtual QString name() override
get the name of the job

Additional inherited members

Public Signals inherited from shapeworks::Job

Name
void progress(double , QString ="")
void finished()

Public Functions inherited from shapeworks::Job

Name
Job()
virtual ~Job()
virtual QString get_completion_message()
get a message to display when the job is complete
virtual QString get_abort_message()
get a message to display when the job is aborted
void start_timer()
start the timer
qint64 timer_elapsed()
how much time has elapsed since the timer was started
void set_complete(bool complete)
set the job as complete
bool is_complete() const
is the job complete?
void abort()
abort the job
bool is_aborted() const
was the job aborted?
void set_quiet_mode(bool quiet)
set to quiet mode (no progress messages)
bool get_quiet_mode()
get quiet mode

Public Types Documentation

enum JobType

Enumerator Value Description
CompactnessType
SpecificityType
GeneralizationType

Public Signals Documentation

signal report_progress

void report_progress(
    shapeworks::ShapeEvaluationJob::JobType job_type,
    float progress
)

signal result_ready

void result_ready(
    shapeworks::ShapeEvaluationJob::JobType job_type,
    Eigen::VectorXd data
)

Public Functions Documentation

function ShapeEvaluationJob

ShapeEvaluationJob(
    JobType job_type,
    ParticleShapeStatistics stats
)

function run

virtual void run() override

run the job

Reimplements: shapeworks::Job::run

function name

virtual QString name() override

get the name of the job

Reimplements: shapeworks::Job::name


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