Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ContoursMeshAlignParams) -> &mut meshlib::ContoursMeshAlignParams |
| auto | mesh_point () const -> &meshlib::MeshTriPoint |
| auto | mesh_point_mut () -> &mut meshlib::MeshTriPoint |
| void | set_mesh_point (value:&meshlib::MeshTriPoint) |
| auto | pivot_point () const -> &meshlib::Vector2f |
| auto | pivot_point_mut () -> &mut meshlib::Vector2f |
| void | set_pivot_point (value:meshlib::Vector2f) |
| auto | x_direction () const -> &meshlib::Vector3f |
| auto | x_direction_mut () -> &mut meshlib::Vector3f |
| void | set_x_direction (value:meshlib::Vector3f) |
| auto | z_direction () const -> *const *const meshlib::Vector3f |
| auto | z_direction_mut () -> *mut *const meshlib::Vector3f |
| void | set_z_direction (value:Option<&meshlib::Vector3f >) |
| auto | extrusion () const -> &f32 |
| auto | extrusion_mut () -> &mut f32 |
| void | set_extrusion (value:f32) |
| auto | maximum_shift () const -> &f32 |
| auto | maximum_shift_mut () -> &mut f32 |
| void | set_maximum_shift (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ContoursMeshAlignParams > |
| static auto | construct_from (meshPoint:&meshlib::MeshTriPoint, pivotPoint:meshlib::Vector2f, xDirection:meshlib::Vector3f, zDirection:Option<&meshlib::Vector3f >, extrusion:f32, maximumShift:f32) -> meshlib::Owned< meshlib::ContoursMeshAlignParams > |
| static auto | construct_from_another (_other:&meshlib::ContoursMeshAlignParams) -> meshlib::Owned< meshlib::ContoursMeshAlignParams > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Parameters for aligning 2d contours onto mesh surface Generated from class MR::ContoursMeshAlignParams.
Generated from class MR::ContoursMeshAlignParams. Heap-allocated instances are held in Owned<ContoursMeshAlignParams>.
| auto meshlib::ContoursMeshAlignParams::assign_from_another | ( | _other:&meshlib::ContoursMeshAlignParams | ) | -> &mut meshlib::ContoursMeshAlignParams |
Generated from method MR::ContoursMeshAlignParams::operator=.
Calls MR_ContoursMeshAlignParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::ContoursMeshAlignParams elementwise.
Calls MR_ContoursMeshAlignParams_ConstructFrom(). The reference to the parameter meshPoint might be preserved in the constructed object. The reference to the parameter pivotPoint might be preserved in the constructed object. The reference to the parameter xDirection might be preserved in the constructed object. The reference to the parameter zDirection might be preserved in the constructed object.
|
static |
Generated from constructor MR::ContoursMeshAlignParams::ContoursMeshAlignParams.
Calls MR_ContoursMeshAlignParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ContoursMeshAlignParams::extrusion | ( | ) | const -> &f32 |
Contours extrusion in +z and -z direction Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named extrusion.
Calls MR_ContoursMeshAlignParams_Get_extrusion(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::extrusion_mut | ( | ) | -> &mut f32 |
Contours extrusion in +z and -z direction Returns a mutable pointer to a member variable of class MR::ContoursMeshAlignParams named extrusion.
Calls MR_ContoursMeshAlignParams_GetMutable_extrusion(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::maximum_shift | ( | ) | const -> &f32 |
Maximum allowed shift along 'zDirection' for alignment Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named maximumShift.
Calls MR_ContoursMeshAlignParams_Get_maximumShift(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::maximum_shift_mut | ( | ) | -> &mut f32 |
Maximum allowed shift along 'zDirection' for alignment Returns a mutable pointer to a member variable of class MR::ContoursMeshAlignParams named maximumShift.
Calls MR_ContoursMeshAlignParams_GetMutable_maximumShift(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::mesh_point | ( | ) | const -> &meshlib::MeshTriPoint |
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named meshPoint.
Calls MR_ContoursMeshAlignParams_Get_meshPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::mesh_point_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh Returns a mutable pointer to a member variable of class MR::ContoursMeshAlignParams named meshPoint.
Calls MR_ContoursMeshAlignParams_GetMutable_meshPoint(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ContoursMeshAlignParams_DefaultConstruct().
| auto meshlib::ContoursMeshAlignParams::pivot_point | ( | ) | const -> &meshlib::Vector2f |
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 Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named pivotPoint.
Calls MR_ContoursMeshAlignParams_Get_pivotPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::pivot_point_mut | ( | ) | -> &mut meshlib::Vector2f |
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 Returns a mutable pointer to a member variable of class MR::ContoursMeshAlignParams named pivotPoint.
Calls MR_ContoursMeshAlignParams_GetMutable_pivotPoint(). The reference to this object might be preserved as the return value.
| void meshlib::ContoursMeshAlignParams::set_extrusion | ( | value:f32 | ) |
Contours extrusion in +z and -z direction Modifies a member variable of class MR::ContoursMeshAlignParams named extrusion.
Calls MR_ContoursMeshAlignParams_Set_extrusion().
| void meshlib::ContoursMeshAlignParams::set_maximum_shift | ( | value:f32 | ) |
Maximum allowed shift along 'zDirection' for alignment Modifies a member variable of class MR::ContoursMeshAlignParams named maximumShift.
Calls MR_ContoursMeshAlignParams_Set_maximumShift().
| void meshlib::ContoursMeshAlignParams::set_mesh_point | ( | value:&meshlib::MeshTriPoint | ) |
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh Modifies a member variable of class MR::ContoursMeshAlignParams named meshPoint.
Calls MR_ContoursMeshAlignParams_Set_meshPoint(). The reference to the parameter value might be preserved in this object in element meshPoint.
| void meshlib::ContoursMeshAlignParams::set_pivot_point | ( | value:meshlib::Vector2f | ) |
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 Modifies a member variable of class MR::ContoursMeshAlignParams named pivotPoint.
Calls MR_ContoursMeshAlignParams_Set_pivotPoint(). The reference to the parameter value might be preserved in this object in element pivotPoint.
| void meshlib::ContoursMeshAlignParams::set_x_direction | ( | value:meshlib::Vector3f | ) |
Represents 2d contours xDirection in mesh space Modifies a member variable of class MR::ContoursMeshAlignParams named xDirection.
Calls MR_ContoursMeshAlignParams_Set_xDirection(). The reference to the parameter value might be preserved in this object in element xDirection.
| void meshlib::ContoursMeshAlignParams::set_z_direction | ( | value:Option<&meshlib::Vector3f > | ) |
Represents contours normal in mesh space if nullptr - use mesh normal at 'meshPoint' Modifies a member variable of class MR::ContoursMeshAlignParams named zDirection.
Calls MR_ContoursMeshAlignParams_Set_zDirection(). The reference to the parameter value might be preserved in this object in element zDirection.
| auto meshlib::ContoursMeshAlignParams::x_direction | ( | ) | const -> &meshlib::Vector3f |
Represents 2d contours xDirection in mesh space Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named xDirection.
Calls MR_ContoursMeshAlignParams_Get_xDirection(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::x_direction_mut | ( | ) | -> &mut meshlib::Vector3f |
Represents 2d contours xDirection in mesh space Returns a mutable pointer to a member variable of class MR::ContoursMeshAlignParams named xDirection.
Calls MR_ContoursMeshAlignParams_GetMutable_xDirection(). The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::z_direction | ( | ) | const -> *const *const meshlib::Vector3f |
Represents contours normal in mesh space if nullptr - use mesh normal at 'meshPoint' Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named zDirection.
Calls MR_ContoursMeshAlignParams_Get_zDirection(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::ContoursMeshAlignParams::z_direction_mut | ( | ) | -> *mut *const meshlib::Vector3f |
Represents contours normal in mesh space if nullptr - use mesh normal at 'meshPoint' Returns a mutable pointer to a member variable of class MR::ContoursMeshAlignParams named zDirection.
Calls MR_ContoursMeshAlignParams_GetMutable_zDirection(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.