|
Lagrange
|
Attribute evaluator class. More...
#include <lagrange/poisson/AttributeEvaluator.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| template<typename Scalar, typename Index> | |
| AttributeEvaluator (const SurfaceMesh< Scalar, Index > &points, const EvaluatorOptions &options={}) | |
| Constructs a new attribute evaluator for a point cloud. | |
| ~AttributeEvaluator () | |
| Destroys the object. | |
| template<typename Scalar, typename ValueType> | |
| void | eval (span< const Scalar > pos, span< ValueType > out) const |
| Evaluate the extrapolated attribute at any point in 3D space. | |
Attribute evaluator class.
Once constructed, it allows interpolating a signal from point cloud data.
| AttributeEvaluator | ( | const SurfaceMesh< Scalar, Index > & | points, |
| const EvaluatorOptions & | options = {} ) |
Constructs a new attribute evaluator for a point cloud.
| [in] | points | Point cloud to evaluate. |
| [in] | options | Attribute evaluation option. |
| Scalar | Point cloud scalar type. |
| Index | Point cloud index type. |
| void eval | ( | span< const Scalar > | pos, |
| span< ValueType > | out ) const |
Evaluate the extrapolated attribute at any point in 3D space.
| [in] | pos | Position to evalute at. |
| [in] | out | Output buffer to write the evaluated attribute values. |
| Scalar | Point coordinate scalar type. |
| ValueType | Attribute value type. |