MeshLib Documentation
Loading...
Searching...
No Matches
MRMovementBuildBody.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRVector3.h"
4#include <optional>
5
6namespace MR
7{
8
10{
14 bool allowRotation{ true };
17 std::optional<Vector3f> center;
20 std::optional<Vector3f> bodyNormal;
22 const AffineXf3f* b2tXf{ nullptr };
23};
24
27[[nodiscard]] MRMESH_API Mesh makeMovementBuildBody( const Contours3f& body, const Contours3f& trajectory,
28 const MovementBuildBodyParams& params = {} );
29
30}
31
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Mesh makeMovementBuildBody(const Contours3f &body, const Contours3f &trajectory, const MovementBuildBodyParams &params={})
Contours3< float > Contours3f
Definition MRMesh/MRMeshFwd.h:285
Definition MRMesh/MRMesh.h:23
Definition MRMovementBuildBody.h:10
bool allowRotation
Definition MRMovementBuildBody.h:14
std::optional< Vector3f > center
Definition MRMovementBuildBody.h:17
std::optional< Vector3f > bodyNormal
Definition MRMovementBuildBody.h:20
const AffineXf3f * b2tXf
optional transform body space to trajectory space
Definition MRMovementBuildBody.h:22