Skip to content

shapeworks::AnalysisTool

Inherits from QWidget

Public Types

Name
enum AlignmentType
using itk::Point< double, 3 > PointType

Public Slots

Name
void on_tabWidget_currentChanged()
void handle_analysis_options()
void handle_median()
void on_mean_button_clicked()
void on_group1_button_clicked()
void on_group2_button_clicked()
void on_difference_button_clicked()
void on_pcaSlider_valueChanged()
void on_group_slider_valueChanged()
void on_pcaModeSpinBox_valueChanged(int i)
void handle_pca_animate_state_changed()
void handle_pca_timer()
void handle_group_animate_state_changed()
void handle_group_timer()
void handle_reconstruction_complete()
void on_reconstructionButton_clicked()
void set_feature_map(const std::string & feature_map)
Set the currently selected feature map.
std::string get_display_feature_map()
void group_changed()
bool groups_active()
void on_view_open_button_toggled()
void on_surface_open_button_toggled()
void on_metrics_open_button_toggled()
bool is_group_active(int shape_index)
void reconstruction_method_changed()
void initialize_mesh_warper()
void group_p_values_clicked()
void handle_eval_thread_complete(ShapeEvaluationJob::JobType job_type, Eigen::VectorXd data)
void handle_eval_thread_progress(ShapeEvaluationJob::JobType job_type, float progress)
void handle_eval_particle_normals_progress(float progress)
void handle_eval_particle_normals_complete(std::vector< bool > good_bad)
void handle_group_pvalues_complete()
void handle_alignment_changed(int new_alignment)
void run_good_bad_particles()
void handle_lda_progress(double progress)
void handle_lda_complete()
void show_difference_to_mean_clicked()

Public Signals

Name
void update_view()
void pca_update()
void progress(int )
void message(QString )
void error(QString )
void warning(QString )
void reconstruction_complete()

Public Functions

Name
AnalysisTool(Preferences & prefs)
~AnalysisTool()
void set_session(QSharedPointer< Session > session)
set the pointer to the session
QSharedPointer< Session > get_session()
Return the session.
void set_app(ShapeWorksStudioApp * app)
set the pointer to the application
void set_active(bool active)
Set if this tool is active.
bool get_active()
Return if this tool is active.
bool get_group_difference_mode()
std::vector< Shape::Point > get_group_difference_vectors()
std::string get_analysis_mode()
void set_analysis_mode(std::string mode)
void set_labels(QString which, QString value)
int get_pca_mode()
double get_group_ratio()
double get_pca_value()
bool pca_animate()
int get_sample_number()
bool compute_stats()
void update_slider()
void reset_stats()
void enable_actions(bool newly_enabled =false)
StudioParticles get_mean_shape_points()
ShapeHandle get_mean_shape()
StudioParticles get_shape_points(int mode, double value)
ShapeHandle get_mode_shape(int mode, double value)
ParticleShapeStatistics get_stats()
void load_settings()
void store_settings()
void shutdown()
bool export_variance_graph(QString filename)
void compute_shape_evaluations()

Public Attributes

Name
const std::string MODE_ALL_SAMPLES_C
const std::string MODE_MEAN_C
const std::string MODE_PCA_C
const std::string MODE_SINGLE_SAMPLE_C
const std::string MODE_REGRESSION_C

Public Types Documentation

enum AlignmentType

Enumerator Value Description
Global -2
Local -1

using PointType

using shapeworks::AnalysisTool::PointType =  itk::Point<double, 3>;

Public Slots Documentation

slot on_tabWidget_currentChanged

void on_tabWidget_currentChanged()

slot handle_analysis_options

void handle_analysis_options()

slot handle_median

void handle_median()

slot on_mean_button_clicked

void on_mean_button_clicked()

slot on_group1_button_clicked

void on_group1_button_clicked()

slot on_group2_button_clicked

void on_group2_button_clicked()

slot on_difference_button_clicked

void on_difference_button_clicked()

slot on_pcaSlider_valueChanged

void on_pcaSlider_valueChanged()

slot on_group_slider_valueChanged

void on_group_slider_valueChanged()

slot on_pcaModeSpinBox_valueChanged

void on_pcaModeSpinBox_valueChanged(
    int i
)

slot handle_pca_animate_state_changed

void handle_pca_animate_state_changed()

slot handle_pca_timer

void handle_pca_timer()

slot handle_group_animate_state_changed

void handle_group_animate_state_changed()

slot handle_group_timer

void handle_group_timer()

slot handle_reconstruction_complete

void handle_reconstruction_complete()

slot on_reconstructionButton_clicked

void on_reconstructionButton_clicked()

slot set_feature_map

void set_feature_map(
    const std::string & feature_map
)

Set the currently selected feature map.

slot get_display_feature_map

std::string get_display_feature_map()

slot group_changed

void group_changed()

slot groups_active

bool groups_active()

slot on_view_open_button_toggled

void on_view_open_button_toggled()

slot on_surface_open_button_toggled

void on_surface_open_button_toggled()

slot on_metrics_open_button_toggled

void on_metrics_open_button_toggled()

slot is_group_active

bool is_group_active(
    int shape_index
)

slot reconstruction_method_changed

void reconstruction_method_changed()

slot initialize_mesh_warper

void initialize_mesh_warper()

slot group_p_values_clicked

void group_p_values_clicked()

slot handle_eval_thread_complete

void handle_eval_thread_complete(
    ShapeEvaluationJob::JobType job_type,
    Eigen::VectorXd data
)

slot handle_eval_thread_progress

void handle_eval_thread_progress(
    ShapeEvaluationJob::JobType job_type,
    float progress
)

slot handle_eval_particle_normals_progress

void handle_eval_particle_normals_progress(
    float progress
)

slot handle_eval_particle_normals_complete

void handle_eval_particle_normals_complete(
    std::vector< bool > good_bad
)

slot handle_group_pvalues_complete

void handle_group_pvalues_complete()

slot handle_alignment_changed

void handle_alignment_changed(
    int new_alignment
)

slot run_good_bad_particles

void run_good_bad_particles()

slot handle_lda_progress

void handle_lda_progress(
    double progress
)

slot handle_lda_complete

void handle_lda_complete()

slot show_difference_to_mean_clicked

void show_difference_to_mean_clicked()

Public Signals Documentation

signal update_view

void update_view()

signal pca_update

void pca_update()

signal progress

void progress(
    int 
)

signal message

void message(
    QString 
)

signal error

void error(
    QString 
)

signal warning

void warning(
    QString 
)

signal reconstruction_complete

void reconstruction_complete()

Public Functions Documentation

function AnalysisTool

AnalysisTool(
    Preferences & prefs
)

function ~AnalysisTool

~AnalysisTool()

function set_session

void set_session(
    QSharedPointer< Session > session
)

set the pointer to the session

function get_session

QSharedPointer< Session > get_session()

Return the session.

function set_app

void set_app(
    ShapeWorksStudioApp * app
)

set the pointer to the application

function set_active

void set_active(
    bool active
)

Set if this tool is active.

function get_active

bool get_active()

Return if this tool is active.

function get_group_difference_mode

bool get_group_difference_mode()

function get_group_difference_vectors

std::vector< Shape::Point > get_group_difference_vectors()

function get_analysis_mode

std::string get_analysis_mode()

function set_analysis_mode

void set_analysis_mode(
    std::string mode
)

function set_labels

void set_labels(
    QString which,
    QString value
)

function get_pca_mode

int get_pca_mode()

function get_group_ratio

double get_group_ratio()

function get_pca_value

double get_pca_value()

function pca_animate

bool pca_animate()

function get_sample_number

int get_sample_number()

function compute_stats

bool compute_stats()

function update_slider

void update_slider()

function reset_stats

void reset_stats()

function enable_actions

void enable_actions(
    bool newly_enabled =false
)

function get_mean_shape_points

StudioParticles get_mean_shape_points()

function get_mean_shape

ShapeHandle get_mean_shape()

function get_shape_points

StudioParticles get_shape_points(
    int mode,
    double value
)

function get_mode_shape

ShapeHandle get_mode_shape(
    int mode,
    double value
)

function get_stats

ParticleShapeStatistics get_stats()

function load_settings

void load_settings()

function store_settings

void store_settings()

function shutdown

void shutdown()

function export_variance_graph

bool export_variance_graph(
    QString filename
)

function compute_shape_evaluations

void compute_shape_evaluations()

Public Attributes Documentation

variable MODE_ALL_SAMPLES_C

static const std::string MODE_ALL_SAMPLES_C;

variable MODE_MEAN_C

static const std::string MODE_MEAN_C;

variable MODE_PCA_C

static const std::string MODE_PCA_C;

variable MODE_SINGLE_SAMPLE_C

static const std::string MODE_SINGLE_SAMPLE_C;

variable MODE_REGRESSION_C

static const std::string MODE_REGRESSION_C;

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