Skip to content

shapeworks::ShapeEvaluation

Public Functions

Name
ShapeEvaluation()
double compute_compactness(const ParticleSystemEvaluation & particle_system, int num_modes, const std::string & save_to ="")
Eigen::VectorXd compute_full_compactness(const ParticleSystemEvaluation & particle_system, std::function< void(float)> progress_callback =nullptr)
double compute_generalization(const ParticleSystemEvaluation & particle_system, int num_modes, const std::string & save_to ="", bool surface_distance_mode =false)
Eigen::VectorXd compute_full_generalization(const ParticleSystemEvaluation & particle_system, std::function< void(float)> progress_callback =nullptr, std::function< bool()> check_abort =nullptr, bool surface_distance_mode =false)
double compute_specificity(const ParticleSystemEvaluation & particle_system, int num_mode, const std::string & save_to ="", bool surface_distance_mode =false)
Eigen::VectorXd compute_full_specificity(const ParticleSystemEvaluation & particle_system, std::function< void(float)> progress_callback =nullptr, std::function< bool()> check_abort =nullptr, bool surface_distance_mode =false)

Public Functions Documentation

function ShapeEvaluation

ShapeEvaluation()

function compute_compactness

static double compute_compactness(
    const ParticleSystemEvaluation & particle_system,
    int num_modes,
    const std::string & save_to =""
)

function compute_full_compactness

static Eigen::VectorXd compute_full_compactness(
    const ParticleSystemEvaluation & particle_system,
    std::function< void(float)> progress_callback =nullptr
)

function compute_generalization

static double compute_generalization(
    const ParticleSystemEvaluation & particle_system,
    int num_modes,
    const std::string & save_to ="",
    bool surface_distance_mode =false
)

function compute_full_generalization

static Eigen::VectorXd compute_full_generalization(
    const ParticleSystemEvaluation & particle_system,
    std::function< void(float)> progress_callback =nullptr,
    std::function< bool()> check_abort =nullptr,
    bool surface_distance_mode =false
)

function compute_specificity

static double compute_specificity(
    const ParticleSystemEvaluation & particle_system,
    int num_mode,
    const std::string & save_to ="",
    bool surface_distance_mode =false
)

function compute_full_specificity

static Eigen::VectorXd compute_full_specificity(
    const ParticleSystemEvaluation & particle_system,
    std::function< void(float)> progress_callback =nullptr,
    std::function< bool()> check_abort =nullptr,
    bool surface_distance_mode =false
)

Updated on 2024-11-11 at 19:51:46 +0000