#define MRSYMBOLMESH_API
see explanation in MRMesh/MRMeshFwd.h
Definition MRSymbolMeshFwd.h:12
Expected< Mesh > bendTextAlongCurve(const CurveFunc &curve, const BendTextAlongCurveParams ¶ms)
Vector2f pivotBoxPoint
Definition MRAlignTextToMesh.h:59
bool fontBasedSizeCalc
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of ...
Definition MRAlignTextToMesh.h:68
const Vector3f * textNormal
Text normal to surface, if nullptr - use mesh normal at startPoint
Definition MRAlignTextToMesh.h:31
MeshTriPoint startPoint
Position on mesh, where text's pivot point is mapped.
Definition MRAlignTextToMesh.h:21
bool fontBasedSizeCalc
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of ...
Definition MRAlignTextToMesh.h:43
Vector3f direction
Direction of text, must be not zero.
Definition MRAlignTextToMesh.h:28
float fontHeight
Font height, meters.
Definition MRAlignTextToMesh.h:62
SymbolMeshParams symbolMesh
parameters of contours to mesh conversion
Definition MRAlignTextToMesh.h:52
tl::expected< T, E > Expected
Definition MRExpected.h:31
std::vector< MeshEdgePoint > SurfacePath
Definition MRMeshFwd.h:481
float pivotCurveTime
Position on the curve, where bounding box's pivot point is mapped.
Definition MRAlignTextToMesh.h:55
std::vector< CurvePoint > CurvePoints
curve given as a number of points on it samples at arbitrary steps
Definition MRCurve.h:32
Expected< Mesh > bendTextAlongSurfacePath(const Mesh &mesh, const GeodesicPath &path, const BendTextAlongCurveParams ¶ms)
Creates symbol mesh and deforms it along given surface path: start->path->end.
float surfaceOffset
Text mesh inside and outside offset of curve's surface.
Definition MRAlignTextToMesh.h:65
float textMaximumMovement
Maximum possible movement of text mesh alignment, meters.
Definition MRAlignTextToMesh.h:40
bool stretch
stretch whole text along curve to fit in unit curve range
Definition MRAlignTextToMesh.h:74
float fontHeight
Font height, meters.
Definition MRAlignTextToMesh.h:34
float surfaceOffset
Text mesh inside and outside offset of input mesh.
Definition MRAlignTextToMesh.h:37
Expected< Mesh > alignTextToMesh(const Mesh &mesh, const TextMeshAlignParams ¶ms)
Creates symbol mesh and aligns it to given surface.
Vector2f pivotPoint
Definition MRAlignTextToMesh.h:25
bool periodicCurve
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x)
Definition MRAlignTextToMesh.h:71
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRAlignTextToMesh.h:50
Definition MRSurfacePath.h:20
Definition MRMeshTriPoint.h:26
Definition MRSymbolMesh.h:25
Definition MRAlignTextToMesh.h:19