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< ShapeWorksVtkOutputWindow > output_window)
void set_cli_mode(bool cli_mode)
void run_job(QSharedPointer< Job > job)
void set_current_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

cpp bool init()

slot start_job

cpp void start_job( QSharedPointer< Job > job )

slot finalize_python

cpp void finalize_python()

Public Signals Documentation

signal result_ready

cpp void result_ready()

signal finished

cpp void finished()

Public Functions Documentation

function PythonWorker

cpp PythonWorker()

function ~PythonWorker

cpp ~PythonWorker()

function set_vtk_output_window

cpp void set_vtk_output_window( vtkSmartPointer< ShapeWorksVtkOutputWindow > output_window )

function set_cli_mode

cpp void set_cli_mode( bool cli_mode )

function run_job

cpp void run_job( QSharedPointer< Job > job )

function set_current_job

cpp void set_current_job( QSharedPointer< Job > job )

function incoming_python_message

cpp void incoming_python_message( std::string message_string )

function incoming_python_progress

cpp void incoming_python_progress( double value, std::string message )

function end_python

cpp void end_python()

function abort_job

cpp void abort_job()

Public Attributes Documentation

variable python_api_version

cpp static constexpr static const char * python_api_version = "6.7";


Updated on 2026-03-31 at 16:02:10 +0000