14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/poisson/CommonOptions.h>
21namespace lagrange::poisson {
48 template <
typename Scalar,
typename Index>
67 template <
typename Scalar,
typename ValueType>
74 std::unique_ptr<Impl> m_impl;
Attribute evaluator class.
Definition: AttributeEvaluator.h:37
void eval(span< const Scalar > pos, span< ValueType > out) const
Evaluate the extrapolated attribute at any point in 3D space.
Definition: AttributeEvaluator.cpp:188
AttributeEvaluator(const SurfaceMesh< Scalar, Index > &points, const EvaluatorOptions &options={})
Constructs a new attribute evaluator for a point cloud.
Definition: AttributeEvaluator.cpp:145
~AttributeEvaluator()
Destroys the object.
::nonstd::span< T, Extent > span
A bounds-safe view for sequences of objects.
Definition: span.h:27
Definition: AttributeEvaluator.cpp:115
Shared options for Poisson surface reconstruction.
Definition: CommonOptions.h:24
Option struct for Poisson surface reconstruction.
Definition: AttributeEvaluator.h:27
std::string_view interpolated_attribute_name
Attribute name of data to be interpolated at the vertices.
Definition: AttributeEvaluator.h:29