Skip to content

shapeworks::CorrespondenceQualityPanel

Panel for the correspondence quality analysis. More...

#include <CorrespondenceQualityPanel.h>

Inherits from QWidget

Public Slots

Name
void run_clicked()
void show_distance_clicked()
void options_changed()
any option that changes how the results are presented: normalization, sort metric or order
void handle_job_progress(double progress)
void handle_job_complete()
void handle_table_clicked(int row, int column)
clicking a row jumps the viewer to that sample
void template_changed()

Public Signals

Name
void request_samples_view(bool all_samples)
void request_show_sample(int shape_index)
ask the analysis tool to show one sample, by index into Session::get_shapes()
void request_template(int index)
ask the analysis tool to change the warp template, by index into the non-excluded shapes
void request_template_median()
void request_apply_template()
ask the analysis tool to rebuild the warper for the current template

Public Functions

Name
CorrespondenceQualityPanel(QWidget * parent =0)
~CorrespondenceQualityPanel()
void set_session(QSharedPointer< Session > session)
set the pointer to the session
void reset()
bool get_display_distance() const
should the per-vertex distance be shown on the surface?
std::string get_display_feature_name() const
name of the surface scalar to display
void set_template_info(int index, int maximum, QString name)
mirror the analysis tool's warp template into this panel's controls

Detailed Description

class shapeworks::CorrespondenceQualityPanel;

Panel for the correspondence quality analysis.

Runs CorrespondenceQualityJob and presents the result: a per-sample table that can be sorted by mean, median or max distance, a box plot of the distribution, and options to color the surface by the per-vertex distance and to reorder the All Samples view worst-first so the challenging shapes come up front.

Public Slots Documentation

slot run_clicked

void run_clicked()

slot show_distance_clicked

void show_distance_clicked()

slot options_changed

void options_changed()

any option that changes how the results are presented: normalization, sort metric or order

slot handle_job_progress

void handle_job_progress(
    double progress
)

slot handle_job_complete

void handle_job_complete()

slot handle_table_clicked

void handle_table_clicked(
    int row,
    int column
)

clicking a row jumps the viewer to that sample

slot template_changed

void template_changed()

Public Signals Documentation

signal request_samples_view

void request_samples_view(
    bool all_samples
)

ask the analysis tool to switch to a samples view, which is where this panel's results show. all_samples forces the All Samples grid (sorting only applies there); otherwise the single sample view is left alone if that is where the user already is.

signal request_show_sample

void request_show_sample(
    int shape_index
)

ask the analysis tool to show one sample, by index into Session::get_shapes()

signal request_template

void request_template(
    int index
)

ask the analysis tool to change the warp template, by index into the non-excluded shapes

signal request_template_median

void request_template_median()

signal request_apply_template

void request_apply_template()

ask the analysis tool to rebuild the warper for the current template

Public Functions Documentation

function CorrespondenceQualityPanel

CorrespondenceQualityPanel(
    QWidget * parent =0
)

function ~CorrespondenceQualityPanel

~CorrespondenceQualityPanel()

function set_session

void set_session(
    QSharedPointer< Session > session
)

set the pointer to the session

function reset

void reset()

function get_display_distance

bool get_display_distance() const

should the per-vertex distance be shown on the surface?

function get_display_feature_name

std::string get_display_feature_name() const

name of the surface scalar to display

function set_template_info

void set_template_info(
    int index,
    int maximum,
    QString name
)

mirror the analysis tool's warp template into this panel's controls


Updated on 2026-08-30 at 04:03:16 +0000