Libs/Groom/Groom.h
Namespaces
| Name |
|---|
| shapeworks User usage reporting (telemetry) |
Classes
| Name | |
|---|---|
| class | shapeworks::Groom High level groom API. |
Source code
```cpp
pragma once
include
include
include "GroomParameters.h"
namespace shapeworks {
class Groom { public: Groom(ProjectHandle project);
bool run();
void abort();
bool get_aborted();
static double compute_landmark_distance(vtkSmartPointer
static vtkSmartPointer
protected:
std::atomic
private: enum class MeshSource { Original, Groomed };
int get_total_ops();
void increment_progress(int amount = 1);
bool image_pipeline(std::shared_ptr
bool run_image_pipeline(Image& image, GroomParameters params);
bool mesh_pipeline(std::shared_ptr
bool run_mesh_pipeline(Mesh& mesh, GroomParameters params, const std::string& filename);
bool contour_pipeline(std::shared_ptr
std::string get_output_filename(std::string input, DomainType domain_type);
bool run_alignment();
bool run_shared_boundaries();
void clear_unused_shared_boundaries();
void assign_transforms(std::vector
Mesh check_and_fix_mesh(Mesh& mesh, const std::string& step, const std::string& filename);
static std::vector
static std::vector
std::vector
Mesh get_mesh(int subject, int domain, bool transformed = false, MeshSource source = MeshSource::Groomed);
vtkSmartPointer
int find_reference_landmarks(std::vector
void fix_origin(Image& image);
bool verbose_ = false;
ProjectHandle project_;
bool abort_ = false;
std::mutex mutex_;
std::set
Updated on 2026-03-31 at 16:02:11 +0000