7#include <opencv2/core.hpp>
77 ITKMesh::Pointer output_;
79 bool generateTriangles_{
true};
88 void add_cell_(std::size_t a, std::size_t b, std::size_t c);
Generate an ordered mesh from an OrderedPointSet.
OrderedPointSetMesher()=default
Default Constructor.
void add_cell_(std::size_t a, std::size_t b, std::size_t c)
Add a face to the output mesh.
void setPointSet(const PointSet &points)
Set the input OrderedPointSet.
void setComputeTriangulation(bool b)
Set whether to compute a triangulation from point ordering.
ITKMesh::Pointer getOutputMesh() const
Get the generated mesh.
OrderedPointSetMesher(PointSet points)
Construct with OrderedPointSet to be converted.
ITKMesh::Pointer compute()
Compute the mesh triangulation.
Mesh generation and modification library.