Skip to content

Libs/Particles/ShapeEvaluation.h

Namespaces

Name
shapeworks
User usage reporting (telemetry)

Classes

Name
class shapeworks::ShapeEvaluation

Source code

```cpp

pragma once

include

include

include "ParticleSystemEvaluation.h"

namespace shapeworks {

class ShapeEvaluation { public: ShapeEvaluation();

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

static Eigen::VectorXd compute_full_compactness(const ParticleSystemEvaluation& particle_system, std::function progress_callback = nullptr);

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

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

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

static Eigen::VectorXd compute_full_specificity(const ParticleSystemEvaluation& particle_system, std::function progress_callback = nullptr, std::function check_abort = nullptr, bool surface_distance_mode = false); }; } // namespace shapeworks ```


Updated on 2026-03-31 at 16:02:11 +0000