shapeworks::Shape
Representation of a single shape/patient/subject.
#include <Shape.h>
Public Classes
Name | |
---|---|
class | Point TODO: replace this wherever it is used. |
Public Functions
Name | |
---|---|
Shape() | |
~Shape() | |
QString | get_display_name() |
MeshGroup | get_meshes(DisplayMode display_mode, bool wait =false) |
void | set_annotations(QStringList annotations, bool only_overwrite_blank =true) |
QStringList | get_annotations() |
void | set_mesh_manager(QSharedPointer< MeshManager > mesh_manager) |
void | set_subject(std::shared_ptr< shapeworks::Subject > subject) |
bool | is_subject() |
std::shared_ptr< shapeworks::Subject > | get_subject() |
void | import_original_image(const std::string & filename) Import the original raw image file. |
MeshGroup | get_original_meshes(bool wait =false) Retrieve the original meshes. |
MeshGroup | get_groomed_meshes(bool wait =false) Retrieve the groomed meshes. |
MeshGroup | get_reconstructed_meshes(bool wait =false) Retrieve the reconstructed meshes. |
void | reset_groomed_mesh() Reset the groomed mesh so that it will be re-created. |
bool | import_global_point_files(QStringList filenames) Import global correspondence point files. |
bool | import_local_point_files(QStringList filenames) Import local correspondence point files. |
bool | import_landmarks_files(QStringList filenames) Import landmarks files. |
bool | store_landmarks() Store landmarks. |
bool | import_constraints(QStringList filenames) import constraints |
bool | store_constraints() Store constraints. |
void | set_particles(StudioParticles particles) |
StudioParticles | get_particles() |
void | set_particle_transform(vtkSmartPointer< vtkTransform > transform) |
Eigen::VectorXd | get_global_correspondence_points() Get the global correspondence points. |
Eigen::VectorXd | get_correspondence_points_for_display() Get the global correspondence points for display. |
Eigen::VectorXd | get_local_correspondence_points() Get the local correspondence points. |
void | clear_reconstructed_mesh() |
int | get_id() Get the id of this shape. |
void | set_id(int id) Set the id of this shape. |
std::vector< QString > | get_original_filenames() |
std::vector< QString > | get_original_filenames_with_path() |
QString | get_original_filename() |
QString | get_original_filename_with_path() |
QString | get_groomed_filename() |
QString | get_groomed_filename_with_path(int domain) |
QString | get_global_point_filename() |
QString | get_global_point_filename_with_path() |
QString | get_local_point_filename() |
QString | get_local_point_filename_with_path() |
QList< Point > | get_exclusion_sphere_centers() |
void | set_exclusion_sphere_centers(QList< Point > centers) |
QList< double > | get_exclusion_sphere_radii() |
void | set_exclusion_sphere_radii(QList< double > radii) |
int | get_group_id() |
void | set_group_id(int id) |
void | set_transform(vtkSmartPointer< vtkTransform > transform) |
vtkSmartPointer< vtkTransform > | get_transform(int domain =0) |
vtkSmartPointer< vtkTransform > | get_inverse_transform(int domain =0) |
bool | has_alignment() |
vtkSmartPointer< vtkTransform > | get_original_transform(int domain =0) |
void | set_reconstruction_transforms(std::vector< vtkSmartPointer< vtkTransform >> transforms) |
vtkSmartPointer< vtkTransform > | get_reconstruction_transform(int domain) |
vtkSmartPointer< vtkTransform > | get_groomed_transform(int domain =0) |
vtkSmartPointer< vtkTransform > | get_procrustest_transform(int domain =0) |
std::vector< vtkSmartPointer< vtkTransform > > | get_procrustest_transforms() |
vtkSmartPointer< vtkTransform > | get_alignment(int domain =0) |
void | load_feature(DisplayMode display_mode, std::string feature) |
std::shared_ptr< Image > | get_image_volume(std::string image_volume_name) |
Eigen::VectorXf | get_point_features(std::string feature) |
void | set_point_features(std::string feature, Eigen::VectorXf values) |
void | load_feature_from_scalar_file(std::string filename, std::string feature_name) |
void | set_override_feature(std::string feature) |
std::string | get_override_feature() |
Eigen::MatrixXd & | landmarks() |
std::vector< Constraints > & | constraints() |
Constraints & | get_constraints(int domain_id) |
bool | has_planes() |
std::vector< std::shared_ptr< VtkMeshWrapper > > | get_groomed_mesh_wrappers() |
Public Functions Documentation
function Shape
Shape()
function ~Shape
~Shape()
function get_display_name
QString get_display_name()
function get_meshes
MeshGroup get_meshes(
DisplayMode display_mode,
bool wait =false
)
function set_annotations
void set_annotations(
QStringList annotations,
bool only_overwrite_blank =true
)
function get_annotations
QStringList get_annotations()
function set_mesh_manager
void set_mesh_manager(
QSharedPointer< MeshManager > mesh_manager
)
function set_subject
void set_subject(
std::shared_ptr< shapeworks::Subject > subject
)
function is_subject
bool is_subject()
function get_subject
std::shared_ptr< shapeworks::Subject > get_subject()
function import_original_image
void import_original_image(
const std::string & filename
)
Import the original raw image file.
function get_original_meshes
MeshGroup get_original_meshes(
bool wait =false
)
Retrieve the original meshes.
function get_groomed_meshes
MeshGroup get_groomed_meshes(
bool wait =false
)
Retrieve the groomed meshes.
function get_reconstructed_meshes
MeshGroup get_reconstructed_meshes(
bool wait =false
)
Retrieve the reconstructed meshes.
function reset_groomed_mesh
void reset_groomed_mesh()
Reset the groomed mesh so that it will be re-created.
function import_global_point_files
bool import_global_point_files(
QStringList filenames
)
Import global correspondence point files.
function import_local_point_files
bool import_local_point_files(
QStringList filenames
)
Import local correspondence point files.
function import_landmarks_files
bool import_landmarks_files(
QStringList filenames
)
Import landmarks files.
function store_landmarks
bool store_landmarks()
Store landmarks.
function import_constraints
bool import_constraints(
QStringList filenames
)
import constraints
function store_constraints
bool store_constraints()
Store constraints.
function set_particles
void set_particles(
StudioParticles particles
)
function get_particles
StudioParticles get_particles()
function set_particle_transform
void set_particle_transform(
vtkSmartPointer< vtkTransform > transform
)
function get_global_correspondence_points
Eigen::VectorXd get_global_correspondence_points()
Get the global correspondence points.
function get_correspondence_points_for_display
Eigen::VectorXd get_correspondence_points_for_display()
Get the global correspondence points for display.
function get_local_correspondence_points
Eigen::VectorXd get_local_correspondence_points()
Get the local correspondence points.
function clear_reconstructed_mesh
void clear_reconstructed_mesh()
function get_id
int get_id()
Get the id of this shape.
function set_id
void set_id(
int id
)
Set the id of this shape.
function get_original_filenames
std::vector< QString > get_original_filenames()
function get_original_filenames_with_path
std::vector< QString > get_original_filenames_with_path()
function get_original_filename
QString get_original_filename()
function get_original_filename_with_path
QString get_original_filename_with_path()
function get_groomed_filename
QString get_groomed_filename()
function get_groomed_filename_with_path
QString get_groomed_filename_with_path(
int domain
)
function get_global_point_filename
QString get_global_point_filename()
function get_global_point_filename_with_path
QString get_global_point_filename_with_path()
function get_local_point_filename
QString get_local_point_filename()
function get_local_point_filename_with_path
QString get_local_point_filename_with_path()
function get_exclusion_sphere_centers
QList< Point > get_exclusion_sphere_centers()
function set_exclusion_sphere_centers
void set_exclusion_sphere_centers(
QList< Point > centers
)
function get_exclusion_sphere_radii
QList< double > get_exclusion_sphere_radii()
function set_exclusion_sphere_radii
void set_exclusion_sphere_radii(
QList< double > radii
)
function get_group_id
int get_group_id()
function set_group_id
void set_group_id(
int id
)
function set_transform
void set_transform(
vtkSmartPointer< vtkTransform > transform
)
function get_transform
vtkSmartPointer< vtkTransform > get_transform(
int domain =0
)
function get_inverse_transform
vtkSmartPointer< vtkTransform > get_inverse_transform(
int domain =0
)
function has_alignment
bool has_alignment()
function get_original_transform
vtkSmartPointer< vtkTransform > get_original_transform(
int domain =0
)
function set_reconstruction_transforms
void set_reconstruction_transforms(
std::vector< vtkSmartPointer< vtkTransform >> transforms
)
function get_reconstruction_transform
vtkSmartPointer< vtkTransform > get_reconstruction_transform(
int domain
)
function get_groomed_transform
vtkSmartPointer< vtkTransform > get_groomed_transform(
int domain =0
)
function get_procrustest_transform
vtkSmartPointer< vtkTransform > get_procrustest_transform(
int domain =0
)
function get_procrustest_transforms
std::vector< vtkSmartPointer< vtkTransform > > get_procrustest_transforms()
function get_alignment
vtkSmartPointer< vtkTransform > get_alignment(
int domain =0
)
function load_feature
void load_feature(
DisplayMode display_mode,
std::string feature
)
function get_image_volume
std::shared_ptr< Image > get_image_volume(
std::string image_volume_name
)
function get_point_features
Eigen::VectorXf get_point_features(
std::string feature
)
function set_point_features
void set_point_features(
std::string feature,
Eigen::VectorXf values
)
function load_feature_from_scalar_file
void load_feature_from_scalar_file(
std::string filename,
std::string feature_name
)
function set_override_feature
void set_override_feature(
std::string feature
)
function get_override_feature
std::string get_override_feature()
function landmarks
Eigen::MatrixXd & landmarks()
function constraints
std::vector< Constraints > & constraints()
function get_constraints
Constraints & get_constraints(
int domain_id
)
function has_planes
bool has_planes()
function get_groomed_mesh_wrappers
std::vector< std::shared_ptr< VtkMeshWrapper > > get_groomed_mesh_wrappers()
Updated on 2022-07-23 at 17:50:04 -0600