shapeworks::Subject
Representation of a single subject. More...
#include <Subject.h>
Public Types
Name | |
---|---|
using project::types::StringMap | StringMap |
using project::types::StringList | StringList |
Public Functions
Name | |
---|---|
Subject() | |
~Subject() | |
void | set_original_filenames(StringList filenames) Set original filenames (one per domain) |
StringList | get_original_filenames() Get original filenames. |
void | set_groomed_filenames(StringList filenames) Set groomed filenames. |
StringList | get_groomed_filenames() Get groomed filenames. |
void | set_local_particle_filenames(StringList filenames) Set local particle filenames (one per domain) |
StringList | get_local_particle_filenames() Get local particle filenames. |
void | set_world_particle_filenames(StringList filenames) Set the world particle filenames. |
StringList | get_world_particle_filenames() Get the world particle filenames. |
void | set_landmarks_filenames(StringList filenames) Get the landmarks filenames (one per domain) |
StringList | get_landmarks_filenames() Set the landmarks filenames. |
void | set_constraints_filenames(StringList filenames) Get the constraints filenames (one per domain) |
StringList | 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. |
StringMap | get_feature_filenames() const Get the feature map filenames. |
void | set_feature_filenames(const StringMap & 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) |
StringMap | 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 StringMap & group_values) Set the group values. |
StringMap | get_extra_values() const Get extra values (extra columns we don't interpret) |
void | set_extra_values(StringMap extra_values) |
StringMap | get_table_values() const Get all table values. |
void | set_table_values(StringMap table_values) |
std::string | get_display_name() Get the display name. |
void | set_display_name(std::string display_name) Set the display name. |
bool | is_fixed() Get if this subject is fixed or not. |
void | set_fixed(bool fixed) Set if this subject is fixed or not. |
bool | is_excluded() Get if this subject is excluded or not. |
void | set_excluded(bool excluded) Set if this subject is excluded or not. |
std::string | get_notes() Get the notes. |
void | set_notes(std::string notes) Set the notes. |
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 Types Documentation
using StringMap
using shapeworks::Subject::StringMap = project::types::StringMap;
using StringList
using shapeworks::Subject::StringList = project::types::StringList;
Public Functions Documentation
function Subject
Subject()
function ~Subject
~Subject()
function set_original_filenames
void set_original_filenames(
StringList filenames
)
Set original filenames (one per domain)
function get_original_filenames
StringList get_original_filenames()
Get original filenames.
function set_groomed_filenames
void set_groomed_filenames(
StringList filenames
)
Set groomed filenames.
function get_groomed_filenames
StringList get_groomed_filenames()
Get groomed filenames.
function set_local_particle_filenames
void set_local_particle_filenames(
StringList filenames
)
Set local particle filenames (one per domain)
function get_local_particle_filenames
StringList get_local_particle_filenames()
Get local particle filenames.
function set_world_particle_filenames
void set_world_particle_filenames(
StringList filenames
)
Set the world particle filenames.
function get_world_particle_filenames
StringList get_world_particle_filenames()
Get the world particle filenames.
function set_landmarks_filenames
void set_landmarks_filenames(
StringList filenames
)
Get the landmarks filenames (one per domain)
function get_landmarks_filenames
StringList get_landmarks_filenames()
Set the landmarks filenames.
function set_constraints_filenames
void set_constraints_filenames(
StringList filenames
)
Get the constraints filenames (one per domain)
function get_constraints_filenames
StringList 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 get_feature_filenames
StringMap get_feature_filenames() const
Get the feature map filenames.
function set_feature_filenames
void set_feature_filenames(
const StringMap & 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
StringMap 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 StringMap & group_values
)
Set the group values.
function get_extra_values
StringMap get_extra_values() const
Get extra values (extra columns we don't interpret)
function set_extra_values
void set_extra_values(
StringMap extra_values
)
function get_table_values
StringMap get_table_values() const
Get all table values.
function set_table_values
void set_table_values(
StringMap 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.
function is_fixed
bool is_fixed()
Get if this subject is fixed or not.
function set_fixed
void set_fixed(
bool fixed
)
Set if this subject is fixed or not.
function is_excluded
bool is_excluded()
Get if this subject is excluded or not.
function set_excluded
void set_excluded(
bool excluded
)
Set if this subject is excluded or not.
function get_notes
std::string get_notes()
Get the notes.
function set_notes
void set_notes(
std::string notes
)
Set the notes.
Updated on 2024-03-17 at 12:58:44 -0600