shapeworks::Subject
Representation of a single subject. More...
#include <Subject.h>
Public Functions
Name | |
---|---|
Subject() | |
~Subject() | |
void | set_original_filenames(std::vector< std::string > filenames) Set original filenames (one per domain) |
std::vector< std::string > | get_original_filenames() Get original filenames. |
void | set_groomed_filenames(std::vector< std::string > filenames) Set groomed filenames. |
std::vector< std::string > | get_groomed_filenames() Get groomed filenames. |
void | set_local_particle_filenames(std::vector< std::string > filenames) Set local particle filenames (one per domain) |
std::vector< std::string > | get_local_particle_filenames() Get local particle filenames. |
void | set_world_particle_filenames(std::vector< std::string > filenames) Set the world particle filenames. |
std::vector< std::string > | get_world_particle_filenames() Get the world particle filenames. |
void | set_landmarks_filenames(std::vector< std::string > filenames) Get the landmarks filenames (one per domain) |
std::vector< std::string > | get_landmarks_filenames() Set the landmarks filenames. |
void | set_constraints_filenames(std::vector< std::string > filenames) Get the constraints filenames (one per domain) |
std::vector< std::string > | get_constraints_filenames() Set the constratins filenames. |
void | set_number_of_domains(int number_of_domains) Set the number of domains. |
int | get_number_of_domains() Get the number of domains. |
void | set_image_filenames(std::vector< std::string > filenames) Set image filenames. |
std::vector< std::string > | get_image_filenames() Get image filenames. |
std::map< std::string, std::string > | get_feature_filenames() const Get the feature map filenames. |
void | set_feature_filenames(const std::map< std::string, std::string > & feature_filenames) Set the feature map filenames. |
std::vector< std::vector< double > > | get_groomed_transforms() const Get the groomed transforms (one vector per domain) |
void | set_groomed_transforms(std::vector< std::vector< double >> transforms) Set the groomed transforms (one vector per domain) |
void | set_groomed_transform(int i, std::vector< double > transform) Set the i-th groomed transform. |
std::vector< std::vector< double > > | get_procrustes_transforms() const Get the procrustes transforms (one vector per domain) |
void | set_procrustes_transforms(std::vector< std::vector< double >> transforms) Set the procrustes transforms (one vector per domain) |
std::map< std::string, std::string > | get_group_values() const Get the group values. |
std::string | get_group_value(std::string group_name) Get a specific group value. |
void | set_group_values(const std::map< std::string, std::string > & group_values) Set the group values. |
std::map< std::string, std::string > | get_extra_values() const Get extra values (extra columns we don't interpret) |
void | set_extra_values(std::map< std::string, std::string > extra_values) |
std::map< std::string, std::string > | get_table_values() const Get all table values. |
void | set_table_values(std::map< std::string, std::string > table_values) |
std::string | get_display_name() Get the display name. |
void | set_display_name(std::string display_name) Set the display name. |
Detailed Description
class shapeworks::Subject;
Representation of a single subject.
The Subject class encapsulates one "sample" in the shapeworks system (e.g. one row in a spreadsheet project) A Subject may have multiple segmentations/domains associated with it.
Public Functions Documentation
function Subject
Subject()
function ~Subject
~Subject()
function set_original_filenames
void set_original_filenames(
std::vector< std::string > filenames
)
Set original filenames (one per domain)
function get_original_filenames
std::vector< std::string > get_original_filenames()
Get original filenames.
function set_groomed_filenames
void set_groomed_filenames(
std::vector< std::string > filenames
)
Set groomed filenames.
function get_groomed_filenames
std::vector< std::string > get_groomed_filenames()
Get groomed filenames.
function set_local_particle_filenames
void set_local_particle_filenames(
std::vector< std::string > filenames
)
Set local particle filenames (one per domain)
function get_local_particle_filenames
std::vector< std::string > get_local_particle_filenames()
Get local particle filenames.
function set_world_particle_filenames
void set_world_particle_filenames(
std::vector< std::string > filenames
)
Set the world particle filenames.
function get_world_particle_filenames
std::vector< std::string > get_world_particle_filenames()
Get the world particle filenames.
function set_landmarks_filenames
void set_landmarks_filenames(
std::vector< std::string > filenames
)
Get the landmarks filenames (one per domain)
function get_landmarks_filenames
std::vector< std::string > get_landmarks_filenames()
Set the landmarks filenames.
function set_constraints_filenames
void set_constraints_filenames(
std::vector< std::string > filenames
)
Get the constraints filenames (one per domain)
function get_constraints_filenames
std::vector< std::string > get_constraints_filenames()
Set the constratins filenames.
function set_number_of_domains
void set_number_of_domains(
int number_of_domains
)
Set the number of domains.
function get_number_of_domains
int get_number_of_domains()
Get the number of domains.
function set_image_filenames
void set_image_filenames(
std::vector< std::string > filenames
)
Set image filenames.
function get_image_filenames
std::vector< std::string > get_image_filenames()
Get image filenames.
function get_feature_filenames
std::map< std::string, std::string > get_feature_filenames() const
Get the feature map filenames.
function set_feature_filenames
void set_feature_filenames(
const std::map< std::string, std::string > & feature_filenames
)
Set the feature map filenames.
function get_groomed_transforms
std::vector< std::vector< double > > get_groomed_transforms() const
Get the groomed transforms (one vector per domain)
function set_groomed_transforms
void set_groomed_transforms(
std::vector< std::vector< double >> transforms
)
Set the groomed transforms (one vector per domain)
function set_groomed_transform
void set_groomed_transform(
int i,
std::vector< double > transform
)
Set the i-th groomed transform.
function get_procrustes_transforms
std::vector< std::vector< double > > get_procrustes_transforms() const
Get the procrustes transforms (one vector per domain)
function set_procrustes_transforms
void set_procrustes_transforms(
std::vector< std::vector< double >> transforms
)
Set the procrustes transforms (one vector per domain)
function get_group_values
std::map< std::string, std::string > get_group_values() const
Get the group values.
function get_group_value
std::string get_group_value(
std::string group_name
)
Get a specific group value.
function set_group_values
void set_group_values(
const std::map< std::string, std::string > & group_values
)
Set the group values.
function get_extra_values
std::map< std::string, std::string > get_extra_values() const
Get extra values (extra columns we don't interpret)
function set_extra_values
void set_extra_values(
std::map< std::string, std::string > extra_values
)
function get_table_values
std::map< std::string, std::string > get_table_values() const
Get all table values.
function set_table_values
void set_table_values(
std::map< std::string, std::string > table_values
)
function get_display_name
std::string get_display_name()
Get the display name.
function set_display_name
void set_display_name(
std::string display_name
)
Set the display name.
Updated on 2022-07-23 at 16:40:07 -0600