Skip to content

shapeworks::StudioParticles

Representation of correspondence points for a shape including multiple domains. More...

#include <StudioParticles.h>

Public Functions

Name
StudioParticles()
void set_local_particles(int domain, std::vector< itk::Point< double >> particles)
void set_world_particles(int domain, std::vector< itk::Point< double >> particles)
void set_local_particles(int domain, Eigen::VectorXd particles)
void set_world_particles(int domain, Eigen::VectorXd particles)
std::vector< Eigen::VectorXd > get_local_particles()
std::vector< Eigen::VectorXd > get_world_particles()
Eigen::VectorXd get_local_particles(int domain)
Eigen::VectorXd get_world_particles(int domain)
Eigen::VectorXd get_raw_world_particles(int domain)
Get untransformed original world particles from optimizer.
Eigen::VectorXd get_combined_local_particles() const
Eigen::VectorXd get_combined_global_particles() const
void set_combined_global_particles(const Eigen::VectorXd & particles)
std::vector< itk::Point< double > > get_local_points(int domain)
std::vector< itk::Point< double > > get_world_points(int domain)
int get_domain_for_combined_id(int id)
Return which domain a particle belongs to when they are concatenated together.
void set_transform(vtkSmartPointer< vtkTransform > transform)
void set_procrustes_transforms(std::vector< vtkSmartPointer< vtkTransform >> transforms)
Eigen::VectorXd get_difference_vectors(const StudioParticles & other)

Detailed Description

class shapeworks::StudioParticles;

Representation of correspondence points for a shape including multiple domains.

The StudioParticles class encapsulates the correspondence points for a shape, including multiple domains, local and global points

Public Functions Documentation

function StudioParticles

StudioParticles()

function set_local_particles

void set_local_particles(
    int domain,
    std::vector< itk::Point< double >> particles
)

function set_world_particles

void set_world_particles(
    int domain,
    std::vector< itk::Point< double >> particles
)

function set_local_particles

void set_local_particles(
    int domain,
    Eigen::VectorXd particles
)

function set_world_particles

void set_world_particles(
    int domain,
    Eigen::VectorXd particles
)

function get_local_particles

std::vector< Eigen::VectorXd > get_local_particles()

function get_world_particles

std::vector< Eigen::VectorXd > get_world_particles()

function get_local_particles

Eigen::VectorXd get_local_particles(
    int domain
)

function get_world_particles

Eigen::VectorXd get_world_particles(
    int domain
)

function get_raw_world_particles

Eigen::VectorXd get_raw_world_particles(
    int domain
)

Get untransformed original world particles from optimizer.

function get_combined_local_particles

Eigen::VectorXd get_combined_local_particles() const

function get_combined_global_particles

Eigen::VectorXd get_combined_global_particles() const

function set_combined_global_particles

void set_combined_global_particles(
    const Eigen::VectorXd & particles
)

function get_local_points

std::vector< itk::Point< double > > get_local_points(
    int domain
)

function get_world_points

std::vector< itk::Point< double > > get_world_points(
    int domain
)

function get_domain_for_combined_id

int get_domain_for_combined_id(
    int id
)

Return which domain a particle belongs to when they are concatenated together.

function set_transform

void set_transform(
    vtkSmartPointer< vtkTransform > transform
)

function set_procrustes_transforms

void set_procrustes_transforms(
    std::vector< vtkSmartPointer< vtkTransform >> transforms
)

function get_difference_vectors

Eigen::VectorXd get_difference_vectors(
    const StudioParticles & other
)

Updated on 2022-07-23 at 16:40:07 -0600