shapeworks::AnalysisTool
Inherits from QWidget
Public Types
| Name | |
|---|---|
| enum | GroupAnalysisType | 
| enum | McaMode | 
| using Analyze::AlignmentType | AlignmentType | 
| using itk::Point< double, 3 > | PointType | 
Public Slots
Public Signals
| Name | |
|---|---|
| void | update_view() | 
| void | pca_update() | 
| void | progress(int ) | 
| 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  | 
| ShapeWorksStudioApp * | get_app() | 
| 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() | 
| McaMode | get_mca_level() const | 
| int | get_sample_number() | 
| bool | compute_stats() | 
| void | update_slider() | 
| void | reset_stats() | 
| void | enable_actions(bool newly_enabled =false) | 
| Particles | get_mean_shape_points() | 
| ShapeHandle | get_mean_shape() | 
| Particles | get_shape_points(int mode, double value) | 
| Particles | get_multi_level_shape_points(int mode, double value, McaMode level) | 
| ShapeHandle | get_mode_shape(int mode, double value) | 
| ShapeHandle | get_mca_mode_shape(int mode, double value, McaMode level) | 
| ShapeHandle | get_current_shape() | 
| ParticleShapeStatistics | get_stats() | 
| void | load_settings() | 
| void | store_settings() | 
| void | shutdown() | 
| bool | export_variance_graph(QString filename) | 
| void | compute_shape_evaluations() | 
| GroupAnalysisType | get_group_analysis_type() | 
| bool | pca_scalar_only_mode() | 
| bool | pca_shape_plus_scalar_mode() | 
| bool | pca_shape_only_mode() | 
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 GroupAnalysisType
| Enumerator | Value | Description | 
|---|---|---|
| None | 0 | |
| Pvalues | 1 | |
| NetworkAnalysis | 2 | |
| LDA | 3 | 
enum McaMode
| Enumerator | Value | Description | 
|---|---|---|
| Vanilla | ||
| Within | ||
| Between | 
using AlignmentType
using shapeworks::AnalysisTool::AlignmentType =  Analyze::AlignmentType;
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 network_analysis_clicked
void network_analysis_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 handle_network_analysis_progress
void handle_network_analysis_progress(
    int progress
)
slot handle_network_analysis_complete
void handle_network_analysis_complete()
slot show_difference_to_mean_clicked
void show_difference_to_mean_clicked()
slot group_analysis_combo_changed
void group_analysis_combo_changed()
slot change_pca_analysis_type
void change_pca_analysis_type()
slot construct_mean_shape
Eigen::VectorXd construct_mean_shape()
Compute the mean shape outside of the PCA in case we are using scalars only.
Public Signals Documentation
signal update_view
void update_view()
signal pca_update
void pca_update()
signal progress
void progress(
    int 
)
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 get_app
inline ShapeWorksStudioApp * get_app()
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_mca_level
McaMode get_mca_level() const
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
Particles get_mean_shape_points()
function get_mean_shape
ShapeHandle get_mean_shape()
function get_shape_points
Particles get_shape_points(
    int mode,
    double value
)
function get_multi_level_shape_points
Particles get_multi_level_shape_points(
    int mode,
    double value,
    McaMode level
)
function get_mode_shape
ShapeHandle get_mode_shape(
    int mode,
    double value
)
function get_mca_mode_shape
ShapeHandle get_mca_mode_shape(
    int mode,
    double value,
    McaMode level
)
function get_current_shape
ShapeHandle get_current_shape()
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()
function get_group_analysis_type
GroupAnalysisType get_group_analysis_type()
function pca_scalar_only_mode
bool pca_scalar_only_mode()
function pca_shape_plus_scalar_mode
bool pca_shape_plus_scalar_mode()
function pca_shape_only_mode
bool pca_shape_only_mode()
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 2024-03-17 at 12:58:44 -0600