Skip to content

shapeworks::ShapeworksWorker

Inherits from QObject

Public Types

Name
enum ThreadType

Public Slots

Name
void process()

Public Signals

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

Public Functions

Name
ShapeworksWorker(ThreadType type, QSharedPointer< QGroom > groom, QSharedPointer< Optimize > optimize, QSharedPointer< OptimizeParameters > optimize_parameters, QSharedPointer< Session > session, std::vector< std::vector< itk::Point< double >>> local_pts =std::vector< std::vector< itk::Point< double >>>(), std::vector< std::vector< itk::Point< double >>> global_pts =std::vector< std::vector< itk::Point< double >>>(), std::vector< std::string > distance_transform =std::vector< std::string >(), double maxAngle =45., float decimationPercent =0.3f, int numClusters =5)
~ShapeworksWorker()

Public Types Documentation

enum ThreadType

Enumerator Value Description
GroomType
OptimizeType
ReconstructType

Public Slots Documentation

slot process

void process()

Public Signals Documentation

signal result_ready

void result_ready()

signal failure

void failure()

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 ShapeworksWorker

ShapeworksWorker(
    ThreadType type,
    QSharedPointer< QGroom > groom,
    QSharedPointer< Optimize > optimize,
    QSharedPointer< OptimizeParameters > optimize_parameters,
    QSharedPointer< Session > session,
    std::vector< std::vector< itk::Point< double >>> local_pts =std::vector< std::vector< itk::Point< double >>>(),
    std::vector< std::vector< itk::Point< double >>> global_pts =std::vector< std::vector< itk::Point< double >>>(),
    std::vector< std::string > distance_transform =std::vector< std::string >(),
    double maxAngle =45.,
    float decimationPercent =0.3f,
    int numClusters =5
)

function ~ShapeworksWorker

~ShapeworksWorker()

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