Parameters for aligning 2d contour onto mesh surface. More...
#include <MRAlignContoursToMesh.h>
Public Attributes | |
MeshTriPoint | meshPoint |
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh. | |
Vector2f | pivotPoint { 0.0f, 0.0f } |
Vector3f | xDirection |
Represents 2d contours xDirection in mesh space. | |
const Vector3f * | zDirection { nullptr } |
float | extrusion { 1.0f } |
Contours extrusion in +z and -z direction. | |
float | maximumShift { 2.5f } |
Maximum allowed shift along 'zDirection' for alignment. | |
Parameters for aligning 2d contour onto mesh surface.
float MR::ContoursMeshAlignParams::extrusion { 1.0f } |
Contours extrusion in +z and -z direction.
float MR::ContoursMeshAlignParams::maximumShift { 2.5f } |
Maximum allowed shift along 'zDirection' for alignment.
MeshTriPoint MR::ContoursMeshAlignParams::meshPoint |
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh.
Vector2f MR::ContoursMeshAlignParams::pivotPoint { 0.0f, 0.0f } |
Relative position of 'meshPoint' in contours bounding box (0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right
Vector3f MR::ContoursMeshAlignParams::xDirection |
Represents 2d contours xDirection in mesh space.
const Vector3f* MR::ContoursMeshAlignParams::zDirection { nullptr } |
Represents contours normal in mesh space if nullptr - use mesh normal at 'meshPoint'