Parameterize a mesh using ABF++.
void setUseABF(bool a)
Whether to perform Angle-based flattening computation.
auto useABF() const -> bool
Whether Angle-based flattening is performed.
auto compute() -> ITKMesh::Pointer override
Compute the parameterization.
static constexpr std::size_t DEFAULT_ITERATIONS
~AngleBasedFlattening() override=default
std::size_t maxABFIterations_
std::shared_ptr< AngleBasedFlattening > Pointer
void setABFMaxIterations(std::size_t i)
The max number of ABF minimization iterations.
auto solver() const -> Solver
The numerical solver method.
void setSolver(Solver solver)
The numerical solver method.
static auto New(Args... args) -> Pointer
AngleBasedFlattening(const ITKMesh::Pointer &m)
Construct and set the input mesh.
AngleBasedFlattening()=default
Default constructor.
auto abfMaxIterations() const -> std::size_t
The max number of ABF minimization iterations.
Texturing and parameterization algorithms and utilities library.