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 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, std::string message)
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 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,
    std::string message
)

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.5";

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