Skip to content

Libs/Particles/ParticleNormalEvaluation.h

Namespaces

Name
shapeworks
User usage reporting (telemetry)

Classes

Name
class shapeworks::ParticleNormalEvaluation

Source code

#pragma once

#include <Particles/ParticleSystemEvaluation.h>

#include <memory>

namespace shapeworks {


class MeshWrapper;
class ParticleNormalEvaluation {
 public:
  static std::vector<double> evaluate_particle_normals(const Eigen::MatrixXd& particles,
                                                       const Eigen::MatrixXd& normals);

  static std::vector<bool> threshold_particle_normals(std::vector<double> angles, double max_angle_degrees);

  static Eigen::MatrixXd compute_particle_normals(const Eigen::MatrixXd& particles,
                                                  std::vector<std::shared_ptr<MeshWrapper>> meshes);

 private:
};

}  // namespace shapeworks

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