#include <MRMovementBuildBody.h>
Public Attributes | |
| bool | allowRotation { true } |
| std::optional< Vector3f > | center |
| std::optional< Vector3f > | bodyNormal |
| std::optional< Vector3f > | bodyUpDir |
| const Contours3f * | trajectoryNormals { nullptr } |
| const AffineXf3f * | b2tXf { nullptr } |
| optional transform body space to trajectory space | |
| bool | startMeshFromBody { false } |
| if true, then body-contours will be located exactly on resulting mesh | |
| bool MR::MovementBuildBodyParams::allowRotation { true } |
if this flag is set, rotate body in trajectory vertices according to its rotation otherwise body movement will be done without any rotation
| const AffineXf3f* MR::MovementBuildBodyParams::b2tXf { nullptr } |
optional transform body space to trajectory space
| std::optional<Vector3f> MR::MovementBuildBodyParams::bodyNormal |
facing direction of body, used for initial rotation (if allowRotation) if not set body accumulative normal is used
| std::optional<Vector3f> MR::MovementBuildBodyParams::bodyUpDir |
up direction of body contours corresponds with trajectoryNormals if both are present and allowRotation is set
| std::optional<Vector3f> MR::MovementBuildBodyParams::center |
point in body space that follows trajectory if not set body bounding box center is used
| bool MR::MovementBuildBodyParams::startMeshFromBody { false } |
if true, then body-contours will be located exactly on resulting mesh
| const Contours3f* MR::MovementBuildBodyParams::trajectoryNormals { nullptr } |
optional normal directions in each trajectory point bodyUpDir corresponds to it if both are present and allowRotation is set