MeshLib C++ Docs
Loading...
Searching...
No Matches
MRCurve.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRVector3.h"
5
6namespace MR
7{
8
10{
11 Vector3f pos;
12 Vector3f dir;
13 Vector3f snorm;
14};
15
17using CurveFunc = std::function<CurvePoint(float)>;
18
20using CurvePoints = std::vector<CurvePoint>;
21
22} //namespace MR
Definition MRCameraOrientationPlugin.h:8
std::function< CurvePoint(float)> CurveFunc
curve given as a function: time -> point
Definition MRCurve.h:17
std::vector< CurvePoint > CurvePoints
curve given as a number of points on it samples at arbitrary steps
Definition MRCurve.h:20
Definition MRCurve.h:10
Vector3f pos
position on the curve
Definition MRCurve.h:11
Vector3f snorm
the normal of the surface where the curve is located
Definition MRCurve.h:13
Vector3f dir
direction along the curve
Definition MRCurve.h:12