Skip to content

shapeworks::Analyze

High level analyze API. More...

#include <Analyze.h>

Public Types

Name
enum AlignmentType

Public Functions

Name
Analyze(ProjectHandle project)
void run_offline_analysis(std::string outfile, float range, float steps)
Run offline analysis, saving results to outfile.
ShapeList get_shapes()
Return the list of shapes.
int get_num_subjects()
Return the number of subjects.
int get_num_modes()
Return the number of modes.
int get_num_particles()
Return the number of particles.
Particles get_mean_shape_points()
Return the mean shape.
ShapeHandle get_mean_shape()
Return the mean shape.
Particles get_group_shape_particles(double ratio)
ShapeHandle get_group_shape(double ratio)
Particles get_shape_points(int mode, double value)
Return the particles for a given mode and value.
ShapeHandle get_mode_shape(int mode, double value)
Return the shape for a given mode and value.
bool groups_active()
ShapeHandle create_shape_from_points(Particles points)
Eigen::VectorXd get_subject_features(int subject, std::string feature_name)
void set_group_selection(std::string group_name, std::string group1, std::string group2)
ParticleSystemEvaluation get_local_particle_system(int domain)

Detailed Description

class shapeworks::Analyze;

High level analyze API.

The Analyze class operates on a Project.

Public Types Documentation

enum AlignmentType

Enumerator Value Description
Global -2
Local -1

Public Functions Documentation

function Analyze

Analyze(
    ProjectHandle project
)

function run_offline_analysis

void run_offline_analysis(
    std::string outfile,
    float range,
    float steps
)

Run offline analysis, saving results to outfile.

function get_shapes

ShapeList get_shapes()

Return the list of shapes.

function get_num_subjects

int get_num_subjects()

Return the number of subjects.

function get_num_modes

int get_num_modes()

Return the number of modes.

function get_num_particles

int get_num_particles()

Return the number of particles.

function get_mean_shape_points

Particles get_mean_shape_points()

Return the mean shape.

function get_mean_shape

ShapeHandle get_mean_shape()

Return the mean shape.

function get_group_shape_particles

Particles get_group_shape_particles(
    double ratio
)

function get_group_shape

ShapeHandle get_group_shape(
    double ratio
)

function get_shape_points

Particles get_shape_points(
    int mode,
    double value
)

Return the particles for a given mode and value.

function get_mode_shape

ShapeHandle get_mode_shape(
    int mode,
    double value
)

Return the shape for a given mode and value.

function groups_active

inline bool groups_active()

function create_shape_from_points

ShapeHandle create_shape_from_points(
    Particles points
)

function get_subject_features

Eigen::VectorXd get_subject_features(
    int subject,
    std::string feature_name
)

function set_group_selection

void set_group_selection(
    std::string group_name,
    std::string group1,
    std::string group2
)

function get_local_particle_system

ParticleSystemEvaluation get_local_particle_system(
    int domain
)

Updated on 2024-03-17 at 12:58:44 -0600