MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.MovementBuildBodyParams Class Reference
Inheritance diagram for meshlib.MovementBuildBodyParams:

Public Member Functions

 MovementBuildBodyParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MovementBuildBodyParams ()
 MovementBuildBodyParams (boolean allowRotation, meshlib.Vector3f center, meshlib.Vector3f bodyNormal, meshlib.Vector3f bodyUpDir, meshlib.std_vector_std_vector_MR_Vector3f trajectoryNormals, meshlib.AffineXf3f b2tXf, boolean startMeshFromBody)
 MovementBuildBodyParams (meshlib.MovementBuildBodyParams _other)
meshlib.MovementBuildBodyParams assignFromAnother (meshlib.MovementBuildBodyParams _other)
boolean allowRotation ()
void setAllowRotation (boolean value)
meshlib.std_optional_MR_Vector3f center ()
void setCenter (meshlib.Vector3f value)
meshlib.std_optional_MR_Vector3f bodyNormal ()
void setBodyNormal (meshlib.Vector3f value)
meshlib.std_optional_MR_Vector3f bodyUpDir ()
void setBodyUpDir (meshlib.Vector3f value)
java.lang.foreign.MemorySegment trajectoryNormals ()
void setTrajectoryNormals (meshlib.std_vector_std_vector_MR_Vector3f value)
java.lang.foreign.MemorySegment b2tXf ()
void setB2tXf (meshlib.AffineXf3f value)
boolean startMeshFromBody ()
void setStartMeshFromBody (boolean value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::MovementBuildBodyParams.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ MovementBuildBodyParams() [1/4]

meshlib.MovementBuildBodyParams.MovementBuildBodyParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ MovementBuildBodyParams() [2/4]

meshlib.MovementBuildBodyParams.MovementBuildBodyParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_MovementBuildBodyParams_DefaultConstruct().

◆ MovementBuildBodyParams() [3/4]

meshlib.MovementBuildBodyParams.MovementBuildBodyParams ( boolean allowRotation,
meshlib.Vector3f center,
meshlib.Vector3f bodyNormal,
meshlib.Vector3f bodyUpDir,
meshlib.std_vector_std_vector_MR_Vector3f trajectoryNormals,
meshlib.AffineXf3f b2tXf,
boolean startMeshFromBody )

Constructs MR::MovementBuildBodyParams elementwise. 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.

Calls MR_MovementBuildBodyParams_ConstructFrom().

◆ MovementBuildBodyParams() [4/4]

meshlib.MovementBuildBodyParams.MovementBuildBodyParams ( meshlib.MovementBuildBodyParams _other)

Generated from constructor MR::MovementBuildBodyParams::MovementBuildBodyParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_MovementBuildBodyParams_ConstructFromAnother().

Member Function Documentation

◆ allowRotation()

boolean meshlib.MovementBuildBodyParams.allowRotation ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_allowRotation().

◆ assignFromAnother()

meshlib.MovementBuildBodyParams meshlib.MovementBuildBodyParams.assignFromAnother ( meshlib.MovementBuildBodyParams _other)

Generated from method MR::MovementBuildBodyParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_MovementBuildBodyParams_AssignFromAnother().

◆ b2tXf()

java.lang.foreign.MemorySegment meshlib.MovementBuildBodyParams.b2tXf ( )

optional transform body space to trajectory space Returns a pointer to a member variable of class MR::MovementBuildBodyParams named b2tXf. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_b2tXf(). Some types are raw C types, see the C bindings for the details.

◆ bodyNormal()

meshlib.std_optional_MR_Vector3f meshlib.MovementBuildBodyParams.bodyNormal ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_bodyNormal().

◆ bodyUpDir()

meshlib.std_optional_MR_Vector3f meshlib.MovementBuildBodyParams.bodyUpDir ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_bodyUpDir().

◆ center()

meshlib.std_optional_MR_Vector3f meshlib.MovementBuildBodyParams.center ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_center().

◆ setAllowRotation()

void meshlib.MovementBuildBodyParams.setAllowRotation ( boolean value)

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().

◆ setB2tXf()

void meshlib.MovementBuildBodyParams.setB2tXf ( meshlib.AffineXf3f value)

optional transform body space to trajectory space Modifies a member variable of class MR::MovementBuildBodyParams named b2tXf. The reference to the parameter value might be preserved in this object in element b2tXf.

Calls MR_MovementBuildBodyParams_Set_b2tXf().

◆ setBodyNormal()

void meshlib.MovementBuildBodyParams.setBodyNormal ( meshlib.Vector3f value)

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. The reference to the parameter value might be preserved in this object in element bodyNormal.

Calls MR_MovementBuildBodyParams_Set_bodyNormal().

◆ setBodyUpDir()

void meshlib.MovementBuildBodyParams.setBodyUpDir ( meshlib.Vector3f value)

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. The reference to the parameter value might be preserved in this object in element bodyUpDir.

Calls MR_MovementBuildBodyParams_Set_bodyUpDir().

◆ setCenter()

void meshlib.MovementBuildBodyParams.setCenter ( meshlib.Vector3f value)

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. The reference to the parameter value might be preserved in this object in element center.

Calls MR_MovementBuildBodyParams_Set_center().

◆ setStartMeshFromBody()

void meshlib.MovementBuildBodyParams.setStartMeshFromBody ( boolean value)

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().

◆ setTrajectoryNormals()

void meshlib.MovementBuildBodyParams.setTrajectoryNormals ( meshlib.std_vector_std_vector_MR_Vector3f value)

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. The reference to the parameter value might be preserved in this object in element trajectoryNormals.

Calls MR_MovementBuildBodyParams_Set_trajectoryNormals().

◆ startMeshFromBody()

boolean meshlib.MovementBuildBodyParams.startMeshFromBody ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_startMeshFromBody().

◆ trajectoryNormals()

java.lang.foreign.MemorySegment meshlib.MovementBuildBodyParams.trajectoryNormals ( )

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. The reference to this object might be preserved as the return value.

Calls MR_MovementBuildBodyParams_Get_trajectoryNormals(). Some types are raw C types, see the C bindings for the details.


The documentation for this class was generated from the following file: