Skip to content

shapeworks::PythonWorker

Inherits from QObject

Public Slots

Name
bool init()
void start_job(QSharedPointer< Job > job)
void finalize_python()

Public Signals

Name
void result_ready()
void error_message(QString )
void warning_message(QString )
void message(QString )
void finished()

Public Functions

Name
PythonWorker()
~PythonWorker()
void set_vtk_output_window(vtkSmartPointer< StudioVtkOutputWindow > output_window)
void run_job(QSharedPointer< Job > job)
void incoming_python_message(std::string message_string)
void incoming_python_progress(double value)
void end_python()
void abort_job()

Public Attributes

Name
constexpr static const char * python_api_version

Public Slots Documentation

slot init

bool init()

slot start_job

void start_job(
    QSharedPointer< Job > job
)

slot finalize_python

void finalize_python()

Public Signals Documentation

signal result_ready

void result_ready()

signal error_message

void error_message(
    QString 
)

signal warning_message

void warning_message(
    QString 
)

signal message

void message(
    QString 
)

signal finished

void finished()

Public Functions Documentation

function PythonWorker

PythonWorker()

function ~PythonWorker

~PythonWorker()

function set_vtk_output_window

void set_vtk_output_window(
    vtkSmartPointer< StudioVtkOutputWindow > output_window
)

function run_job

void run_job(
    QSharedPointer< Job > job
)

function incoming_python_message

void incoming_python_message(
    std::string message_string
)

function incoming_python_progress

void incoming_python_progress(
    double value
)

function end_python

void end_python()

function abort_job

void abort_job()

Public Attributes Documentation

variable python_api_version

static constexpr static const char * python_api_version = "6.3";

Updated on 2022-07-23 at 17:50:04 -0600