Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MovementBuildBodyParams > |
| static auto | construct_from (allowRotation:bool, center:Option<&meshlib::Vector3f >, bodyNormal:Option<&meshlib::Vector3f >, bodyUpDir:Option<&meshlib::Vector3f >, trajectoryNormals:Option<&meshlib::std_vector_std_vector_MR_Vector3f >, b2tXf:Option<&meshlib::AffineXf3f >, startMeshFromBody:bool) -> meshlib::Owned< meshlib::MovementBuildBodyParams > |
| static auto | construct_from_another (_other:&meshlib::MovementBuildBodyParams) -> meshlib::Owned< meshlib::MovementBuildBodyParams > |
| 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 |
Generated from class MR::MovementBuildBodyParams.
Generated from class MR::MovementBuildBodyParams. Heap-allocated instances are held in Owned<MovementBuildBodyParams>.
| auto meshlib::MovementBuildBodyParams::allow_rotation | ( | ) | const -> &bool |
if this flag is set, rotate body in trajectory vertices according to its rotation otherwise body movement will be done without any rotation Returns a pointer to a member variable of class MR::MovementBuildBodyParams named allowRotation.
Calls MR_MovementBuildBodyParams_Get_allowRotation(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::allow_rotation_mut | ( | ) | -> &mut bool |
if this flag is set, rotate body in trajectory vertices according to its rotation otherwise body movement will be done without any rotation Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named allowRotation.
Calls MR_MovementBuildBodyParams_GetMutable_allowRotation(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::assign_from_another | ( | _other:&meshlib::MovementBuildBodyParams | ) | -> &mut meshlib::MovementBuildBodyParams |
Generated from method MR::MovementBuildBodyParams::operator=.
Calls MR_MovementBuildBodyParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::MovementBuildBodyParams::b2t_xf | ( | ) | const -> *const *const meshlib::AffineXf3f |
optional transform body space to trajectory space Returns a pointer to a member variable of class MR::MovementBuildBodyParams named b2tXf.
Calls MR_MovementBuildBodyParams_Get_b2tXf(). 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::MovementBuildBodyParams::b2t_xf_mut | ( | ) | -> *mut *const meshlib::AffineXf3f |
optional transform body space to trajectory space Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named b2tXf.
Calls MR_MovementBuildBodyParams_GetMutable_b2tXf(). 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::MovementBuildBodyParams::body_normal | ( | ) | const -> &meshlib::std_optional_MR_Vector3f |
facing direction of body, used for initial rotation (if allowRotation) if not set body accumulative normal is used Returns a pointer to a member variable of class MR::MovementBuildBodyParams named bodyNormal.
Calls MR_MovementBuildBodyParams_Get_bodyNormal(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::body_normal_mut | ( | ) | -> &mut meshlib::std_optional_MR_Vector3f |
facing direction of body, used for initial rotation (if allowRotation) if not set body accumulative normal is used Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named bodyNormal.
Calls MR_MovementBuildBodyParams_GetMutable_bodyNormal(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::body_up_dir | ( | ) | const -> &meshlib::std_optional_MR_Vector3f |
up direction of body contours corresponds with trajectoryNormals if both are present and allowRotation is set Returns a pointer to a member variable of class MR::MovementBuildBodyParams named bodyUpDir.
Calls MR_MovementBuildBodyParams_Get_bodyUpDir(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::body_up_dir_mut | ( | ) | -> &mut meshlib::std_optional_MR_Vector3f |
up direction of body contours corresponds with trajectoryNormals if both are present and allowRotation is set Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named bodyUpDir.
Calls MR_MovementBuildBodyParams_GetMutable_bodyUpDir(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::center | ( | ) | const -> &meshlib::std_optional_MR_Vector3f |
point in body space that follows trajectory if not set body bounding box center is used Returns a pointer to a member variable of class MR::MovementBuildBodyParams named center.
Calls MR_MovementBuildBodyParams_Get_center(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::center_mut | ( | ) | -> &mut meshlib::std_optional_MR_Vector3f |
point in body space that follows trajectory if not set body bounding box center is used Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named center.
Calls MR_MovementBuildBodyParams_GetMutable_center(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::MovementBuildBodyParams elementwise.
Calls MR_MovementBuildBodyParams_ConstructFrom(). The reference to the parameter center might be preserved in the constructed object. The reference to the parameter bodyNormal might be preserved in the constructed object. The reference to the parameter bodyUpDir might be preserved in the constructed object. The reference to the parameter trajectoryNormals might be preserved in the constructed object. The reference to the parameter b2tXf might be preserved in the constructed object.
|
static |
Generated from constructor MR::MovementBuildBodyParams::MovementBuildBodyParams.
Calls MR_MovementBuildBodyParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MovementBuildBodyParams_DefaultConstruct().
| void meshlib::MovementBuildBodyParams::set_allow_rotation | ( | value:bool | ) |
if this flag is set, rotate body in trajectory vertices according to its rotation otherwise body movement will be done without any rotation Modifies a member variable of class MR::MovementBuildBodyParams named allowRotation.
Calls MR_MovementBuildBodyParams_Set_allowRotation().
| void meshlib::MovementBuildBodyParams::set_b2t_xf | ( | value:Option<&meshlib::AffineXf3f > | ) |
optional transform body space to trajectory space Modifies a member variable of class MR::MovementBuildBodyParams named b2tXf.
Calls MR_MovementBuildBodyParams_Set_b2tXf(). The reference to the parameter value might be preserved in this object in element b2tXf.
| void meshlib::MovementBuildBodyParams::set_body_normal | ( | value:Option<&meshlib::Vector3f > | ) |
facing direction of body, used for initial rotation (if allowRotation) if not set body accumulative normal is used Modifies a member variable of class MR::MovementBuildBodyParams named bodyNormal.
Calls MR_MovementBuildBodyParams_Set_bodyNormal(). The reference to the parameter value might be preserved in this object in element bodyNormal.
| void meshlib::MovementBuildBodyParams::set_body_up_dir | ( | value:Option<&meshlib::Vector3f > | ) |
up direction of body contours corresponds with trajectoryNormals if both are present and allowRotation is set Modifies a member variable of class MR::MovementBuildBodyParams named bodyUpDir.
Calls MR_MovementBuildBodyParams_Set_bodyUpDir(). The reference to the parameter value might be preserved in this object in element bodyUpDir.
| void meshlib::MovementBuildBodyParams::set_center | ( | value:Option<&meshlib::Vector3f > | ) |
point in body space that follows trajectory if not set body bounding box center is used Modifies a member variable of class MR::MovementBuildBodyParams named center.
Calls MR_MovementBuildBodyParams_Set_center(). The reference to the parameter value might be preserved in this object in element center.
| void meshlib::MovementBuildBodyParams::set_start_mesh_from_body | ( | value:bool | ) |
if true, then body-contours will be located exactly on resulting mesh Modifies a member variable of class MR::MovementBuildBodyParams named startMeshFromBody.
Calls MR_MovementBuildBodyParams_Set_startMeshFromBody().
| void meshlib::MovementBuildBodyParams::set_trajectory_normals | ( | value:Option<&meshlib::std_vector_std_vector_MR_Vector3f > | ) |
optional normal directions in each trajectory point bodyUpDir corresponds to it if both are present and allowRotation is set Modifies a member variable of class MR::MovementBuildBodyParams named trajectoryNormals.
Calls MR_MovementBuildBodyParams_Set_trajectoryNormals(). The reference to the parameter value might be preserved in this object in element trajectoryNormals.
| auto meshlib::MovementBuildBodyParams::start_mesh_from_body | ( | ) | const -> &bool |
if true, then body-contours will be located exactly on resulting mesh Returns a pointer to a member variable of class MR::MovementBuildBodyParams named startMeshFromBody.
Calls MR_MovementBuildBodyParams_Get_startMeshFromBody(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::start_mesh_from_body_mut | ( | ) | -> &mut bool |
if true, then body-contours will be located exactly on resulting mesh Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named startMeshFromBody.
Calls MR_MovementBuildBodyParams_GetMutable_startMeshFromBody(). The reference to this object might be preserved as the return value.
| auto meshlib::MovementBuildBodyParams::trajectory_normals | ( | ) | const -> *const *const meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f |
optional normal directions in each trajectory point bodyUpDir corresponds to it if both are present and allowRotation is set Returns a pointer to a member variable of class MR::MovementBuildBodyParams named trajectoryNormals.
Calls MR_MovementBuildBodyParams_Get_trajectoryNormals(). 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::MovementBuildBodyParams::trajectory_normals_mut | ( | ) | -> *mut *const meshlib::ffi::MR_std_vector_std_vector_MR_Vector3f |
optional normal directions in each trajectory point bodyUpDir corresponds to it if both are present and allowRotation is set Returns a mutable pointer to a member variable of class MR::MovementBuildBodyParams named trajectoryNormals.
Calls MR_MovementBuildBodyParams_GetMutable_trajectoryNormals(). 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.