40inline const std::map<std::string, ProjectMode>& project_modes()
42 static std::map<std::string, ProjectMode> _modes = {
50inline const std::map<std::string, CastMode>& cast_modes()
52 static std::map<std::string, CastMode> _modes = {
59inline const std::map<std::string, WrapMode>& wrap_modes()
61 static std::map<std::string, WrapMode> _modes = {
Raycasting operations.
Definition ClosestPointResult.h:21
ProjectMode
Main projection mode.
Definition project_options.h:21
@ CLOSEST_POINT
Interpolate attribute from the closest point on the source mesh.
Definition project_options.h:23
@ RAY_CASTING
Copy attribute by projecting along a prescribed direction on the source mesh.
Definition project_options.h:24
@ CLOSEST_VERTEX
Copy attribute from the closest vertex on the source mesh.
Definition project_options.h:22
CastMode
Ray-casting mode.
Definition project_options.h:28
@ BOTH_WAYS
Cast a ray both forward and backward in the prescribed direction.
Definition project_options.h:30
@ ONE_WAY
Cast a ray forward in the prescribed direction.
Definition project_options.h:29
WrapMode
Wraping mode for vertices without a hit.
Definition project_options.h:34
@ CLOSEST_POINT
Interpolate attribute from the closest point on the source mesh.
Definition project_options.h:37
@ CONSTANT
Fill with a constant value (defaults to 0).
Definition project_options.h:35
@ CLOSEST_VERTEX
Copy attribute from the closest vertex on the source mesh.
Definition project_options.h:36
Main namespace for Lagrange.