shapeworks::GroomParameters
#include <GroomParameters.h>
Public Classes
| Name | |
|---|---|
| struct | SharedBoundary |
Public Types
| Name | |
|---|---|
| enum class | MeshSmoothingOption |
| enum class | AlignmentOption |
Public Functions
Public Attributes
| Name | |
|---|---|
| const std::string | GROOM_SMOOTH_VTK_LAPLACIAN_C |
| const std::string | GROOM_SMOOTH_VTK_WINDOWED_SINC_C |
| const std::string | GROOM_ALIGNMENT_CENTER_C |
| const std::string | GROOM_ALIGNMENT_ICP_C |
| const std::string | GROOM_ALIGNMENT_LANDMARK_C |
Detailed Description
cpp
class shapeworks::GroomParameters;
This class encapsulated processing of Groom parameters
Public Types Documentation
enum MeshSmoothingOption
| Enumerator | Value | Description |
|---|---|---|
| laplacian | ||
| sinc |
enum AlignmentOption
| Enumerator | Value | Description |
|---|---|---|
| none | ||
| center | ||
| icp |
Public Functions Documentation
function GroomParameters
cpp
explicit GroomParameters(
ProjectHandle project,
std::string domain_name =""
)
function set_domain_name
cpp
void set_domain_name(
std::string domain_name
)
function save_to_project
cpp
void save_to_project()
function get_groom_output_prefix
cpp
std::string get_groom_output_prefix()
function set_groom_output_prefix
cpp
void set_groom_output_prefix(
std::string prefix
)
function get_groom_all_domains_the_same
cpp
bool get_groom_all_domains_the_same()
function set_groom_all_domains_the_same
cpp
void set_groom_all_domains_the_same(
bool value
)
function get_alignment_enabled
cpp
bool get_alignment_enabled()
function set_alignment_enabled
cpp
void set_alignment_enabled(
bool value
)
function get_alignment_method
cpp
std::string get_alignment_method()
function set_alignment_method
cpp
void set_alignment_method(
std::string method
)
function get_alignment_reference
cpp
int get_alignment_reference()
function set_alignment_reference
cpp
void set_alignment_reference(
int reference
)
function get_alignment_reference_chosen
cpp
int get_alignment_reference_chosen()
function set_alignment_reference_chosen
cpp
void set_alignment_reference_chosen(
int reference
)
function get_alignment_subset_size
cpp
int get_alignment_subset_size()
function set_alignment_subset_size
cpp
void set_alignment_subset_size(
int size
)
function get_isolate_tool
cpp
bool get_isolate_tool()
function set_isolate_tool
cpp
void set_isolate_tool(
bool value
)
function get_fill_holes_tool
cpp
bool get_fill_holes_tool()
function set_fill_holes_tool
cpp
void set_fill_holes_tool(
bool value
)
function get_fill_mesh_holes_tool
cpp
bool get_fill_mesh_holes_tool()
function set_fill_mesh_holes_tool
cpp
void set_fill_mesh_holes_tool(
bool value
)
function get_auto_pad_tool
cpp
bool get_auto_pad_tool()
function set_auto_pad_tool
cpp
void set_auto_pad_tool(
bool value
)
function get_padding_amount
cpp
int get_padding_amount()
function set_padding_amount
cpp
void set_padding_amount(
int padding_amount
)
function get_antialias_tool
cpp
bool get_antialias_tool()
function set_antialias_tool
cpp
void set_antialias_tool(
bool value
)
function get_antialias_iterations
cpp
int get_antialias_iterations()
function set_antialias_iterations
cpp
void set_antialias_iterations(
int iterations
)
function get_blur_tool
cpp
bool get_blur_tool()
function set_blur_tool
cpp
void set_blur_tool(
bool value
)
function get_blur_amount
cpp
double get_blur_amount()
function set_blur_amount
cpp
void set_blur_amount(
double blur_amount
)
function get_fast_marching
cpp
bool get_fast_marching()
function set_fast_marching
cpp
void set_fast_marching(
bool value
)
function get_mesh_smooth
cpp
bool get_mesh_smooth()
function set_mesh_smooth
cpp
void set_mesh_smooth(
bool value
)
function get_mesh_smoothing_method
cpp
std::string get_mesh_smoothing_method()
function set_mesh_smoothing_method
cpp
void set_mesh_smoothing_method(
std::string method
)
function get_mesh_vtk_laplacian_iterations
cpp
int get_mesh_vtk_laplacian_iterations()
function set_mesh_vtk_laplacian_iterations
cpp
void set_mesh_vtk_laplacian_iterations(
int iterations
)
function get_mesh_vtk_laplacian_relaxation
cpp
double get_mesh_vtk_laplacian_relaxation()
function set_mesh_vtk_laplacian_relaxation
cpp
void set_mesh_vtk_laplacian_relaxation(
double relaxation
)
function get_mesh_vtk_windowed_sinc_iterations
cpp
int get_mesh_vtk_windowed_sinc_iterations()
function set_mesh_vtk_windowed_sinc_iterations
cpp
void set_mesh_vtk_windowed_sinc_iterations(
int iterations
)
function get_mesh_vtk_windowed_sinc_passband
cpp
double get_mesh_vtk_windowed_sinc_passband()
function set_mesh_vtk_windowed_sinc_passband
cpp
void set_mesh_vtk_windowed_sinc_passband(
double passband
)
function get_use_icp
cpp
bool get_use_icp()
function get_use_center
cpp
bool get_use_center()
function get_use_landmarks
cpp
bool get_use_landmarks()
function get_crop
cpp
bool get_crop()
function set_crop
cpp
void set_crop(
bool crop
)
function get_convert_to_mesh
cpp
bool get_convert_to_mesh()
function set_convert_to_mesh
cpp
void set_convert_to_mesh(
bool value
)
function get_reflect
cpp
bool get_reflect()
function set_reflect
cpp
void set_reflect(
bool reflect
)
function get_reflect_column
cpp
std::string get_reflect_column()
function set_reflect_column
cpp
void set_reflect_column(
std::string column
)
function get_reflect_choice
cpp
std::string get_reflect_choice()
function set_reflect_choice
cpp
void set_reflect_choice(
std::string choice
)
function get_reflect_axis
cpp
std::string get_reflect_axis()
function set_reflect_axis
cpp
void set_reflect_axis(
std::string axies
)
function get_resample
cpp
bool get_resample()
function set_resample
cpp
void set_resample(
bool resample
)
function get_isotropic
cpp
bool get_isotropic()
function set_isotropic
cpp
void set_isotropic(
bool isotropic
)
function get_iso_spacing
cpp
double get_iso_spacing()
function set_iso_spacing
cpp
void set_iso_spacing(
double spacing
)
function get_spacing
cpp
std::vector< double > get_spacing()
function set_spacing
cpp
void set_spacing(
std::vector< double > spacing
)
function get_remesh
cpp
bool get_remesh()
function set_remesh
cpp
void set_remesh(
bool remesh
)
function get_remesh_percent_mode
cpp
bool get_remesh_percent_mode()
function set_remesh_percent_mode
cpp
void set_remesh_percent_mode(
bool mode
)
function get_remesh_percent
cpp
double get_remesh_percent()
function set_remesh_percent
cpp
void set_remesh_percent(
double percent
)
function get_remesh_num_vertices
cpp
int get_remesh_num_vertices()
function set_remesh_num_vertices
cpp
void set_remesh_num_vertices(
int num_vertices
)
function get_remesh_gradation
cpp
double get_remesh_gradation()
function set_remesh_gradation
cpp
void set_remesh_gradation(
double gradation
)
function get_skip_grooming
cpp
bool get_skip_grooming()
function set_skip_grooming
cpp
void set_skip_grooming(
bool skip
)
function get_shared_boundaries_enabled
cpp
bool get_shared_boundaries_enabled()
function set_shared_boundaries_enabled
cpp
void set_shared_boundaries_enabled(
bool enabled
)
function get_shared_boundaries
cpp
std::vector< SharedBoundary > get_shared_boundaries()
function set_shared_boundaries
cpp
void set_shared_boundaries(
const std::vector< SharedBoundary > & boundaries
)
function add_shared_boundary
cpp
void add_shared_boundary(
const std::string & first_domain,
const std::string & second_domain,
double tolerance
)
function remove_shared_boundary
cpp
void remove_shared_boundary(
size_t index
)
function clear_shared_boundaries
cpp
void clear_shared_boundaries()
function restore_defaults
cpp
void restore_defaults()
function get_parameters
cpp
inline Parameters get_parameters() const
Public Attributes Documentation
variable GROOM_SMOOTH_VTK_LAPLACIAN_C
cpp
static const std::string GROOM_SMOOTH_VTK_LAPLACIAN_C;
variable GROOM_SMOOTH_VTK_WINDOWED_SINC_C
cpp
static const std::string GROOM_SMOOTH_VTK_WINDOWED_SINC_C;
variable GROOM_ALIGNMENT_CENTER_C
cpp
static const std::string GROOM_ALIGNMENT_CENTER_C;
variable GROOM_ALIGNMENT_ICP_C
cpp
static const std::string GROOM_ALIGNMENT_ICP_C;
variable GROOM_ALIGNMENT_LANDMARK_C
cpp
static const std::string GROOM_ALIGNMENT_LANDMARK_C;
Updated on 2026-03-31 at 16:02:10 +0000