Attribute evaluator class.
More...
#include <lagrange/poisson/AttributeEvaluator.h>
|
template<typename Scalar , typename Index > |
| AttributeEvaluator (const SurfaceMesh< Scalar, Index > &points, const EvaluatorOptions &options={}) |
| Constructs a new attribute evaluator for a point cloud. More...
|
|
| ~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. More...
|
|
Attribute evaluator class.
Once constructed, it allows interpolating a signal from point cloud data.
◆ AttributeEvaluator()
Constructs a new attribute evaluator for a point cloud.
- Parameters
-
[in] | points | Point cloud to evaluate. |
[in] | options | Attribute evaluation option. |
- Template Parameters
-
Scalar | Point cloud scalar type. |
Index | Point cloud index type. |
◆ eval()
void eval |
( |
span< const Scalar > |
pos, |
|
|
span< ValueType > |
out |
|
) |
| const |
Evaluate the extrapolated attribute at any point in 3D space.
- Parameters
-
[in] | pos | Position to evalute at. |
[in] | out | Output buffer to write the evaluated attribute values. |
- Template Parameters
-
Scalar | Point coordinate scalar type. |
ValueType | Attribute value type. |
The documentation for this class was generated from the following files: