MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MovementBuildBodyParams Class Reference
Inheritance diagram for mrmeshpy.MovementBuildBodyParams:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMovementBuildBodyParams arg0)
None __init__ (self, bool allowRotation, Const_std_optional_Vector3_float center, Const_std_optional_Vector3_float bodyNormal, Const_std_optional_Vector3_float bodyUpDir, Const_std_vector_std_vector_Vector3_float trajectoryNormals, ConstAffineXf3f b2tXf, bool startMeshFromBody)
MovementBuildBodyParams assign (self, ConstMovementBuildBodyParams other)
bool allowRotation (self)
None allowRotation (self, bool arg1)
AffineXf3f b2tXf (self)
None b2tXf (self, ConstAffineXf3f arg1)
std_optional_Vector3_float bodyNormal (self)
None bodyNormal (self, Const_std_optional_Vector3_float arg1)
std_optional_Vector3_float bodyUpDir (self)
None bodyUpDir (self, Const_std_optional_Vector3_float arg1)
std_optional_Vector3_float center (self)
None center (self, Const_std_optional_Vector3_float arg1)
bool startMeshFromBody (self)
None startMeshFromBody (self, bool arg1)
std_vector_std_vector_Vector3_float trajectoryNormals (self)
None trajectoryNormals (self, Const_std_vector_std_vector_Vector3_float arg1)
Public Member Functions inherited from mrmeshpy.ConstMovementBuildBodyParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMovementBuildBodyParams
typing _offsetof_allowRotation = 0
typing _offsetof_b2tXf = 64
typing _offsetof_bodyNormal = 20
typing _offsetof_bodyUpDir = 36
typing _offsetof_center = 4
typing _offsetof_startMeshFromBody = 72
typing _offsetof_trajectoryNormals = 56

Detailed Description

Generated from:  MR::MovementBuildBodyParams

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.MovementBuildBodyParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.MovementBuildBodyParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.MovementBuildBodyParams.__init__ ( self,
ConstMovementBuildBodyParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.MovementBuildBodyParams.__init__ ( self,
bool allowRotation,
Const_std_optional_Vector3_float center,
Const_std_optional_Vector3_float bodyNormal,
Const_std_optional_Vector3_float bodyUpDir,
Const_std_vector_std_vector_Vector3_float trajectoryNormals,
ConstAffineXf3f b2tXf,
bool startMeshFromBody )
Implicit aggregate constructor.

Member Function Documentation

◆ allowRotation() [1/2]

bool mrmeshpy.MovementBuildBodyParams.allowRotation ( self)
if this flag is set, rotate body in trajectory vertices
according to its rotation
otherwise body movement will be done without any rotation

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ allowRotation() [2/2]

None mrmeshpy.MovementBuildBodyParams.allowRotation ( self,
bool arg1 )
if this flag is set, rotate body in trajectory vertices
according to its rotation
otherwise body movement will be done without any rotation

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ assign()

MovementBuildBodyParams mrmeshpy.MovementBuildBodyParams.assign ( self,
ConstMovementBuildBodyParams other )

◆ b2tXf() [1/2]

AffineXf3f mrmeshpy.MovementBuildBodyParams.b2tXf ( self)
optional transform body space to trajectory space

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ b2tXf() [2/2]

None mrmeshpy.MovementBuildBodyParams.b2tXf ( self,
ConstAffineXf3f arg1 )
optional transform body space to trajectory space

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ bodyNormal() [1/2]

std_optional_Vector3_float mrmeshpy.MovementBuildBodyParams.bodyNormal ( self)
facing direction of body, used for initial rotation (if allowRotation)
if not set body accumulative normal is used

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ bodyNormal() [2/2]

None mrmeshpy.MovementBuildBodyParams.bodyNormal ( self,
Const_std_optional_Vector3_float arg1 )
facing direction of body, used for initial rotation (if allowRotation)
if not set body accumulative normal is used

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ bodyUpDir() [1/2]

std_optional_Vector3_float mrmeshpy.MovementBuildBodyParams.bodyUpDir ( self)
up direction of body contours
corresponds with `trajectoryNormals` if both are present and `allowRotation` is set

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ bodyUpDir() [2/2]

None mrmeshpy.MovementBuildBodyParams.bodyUpDir ( self,
Const_std_optional_Vector3_float arg1 )
up direction of body contours
corresponds with `trajectoryNormals` if both are present and `allowRotation` is set

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ center() [1/2]

std_optional_Vector3_float mrmeshpy.MovementBuildBodyParams.center ( self)
point in body space that follows trajectory
if not set body bounding box center is used

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ center() [2/2]

None mrmeshpy.MovementBuildBodyParams.center ( self,
Const_std_optional_Vector3_float arg1 )
point in body space that follows trajectory
if not set body bounding box center is used

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ startMeshFromBody() [1/2]

bool mrmeshpy.MovementBuildBodyParams.startMeshFromBody ( self)
if true, then body-contours will be located exactly on resulting mesh

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ startMeshFromBody() [2/2]

None mrmeshpy.MovementBuildBodyParams.startMeshFromBody ( self,
bool arg1 )
if true, then body-contours will be located exactly on resulting mesh

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ trajectoryNormals() [1/2]

std_vector_std_vector_Vector3_float mrmeshpy.MovementBuildBodyParams.trajectoryNormals ( self)
optional normal directions in each trajectory point
bodyUpDir corresponds to it if both are present and `allowRotation` is set

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.

◆ trajectoryNormals() [2/2]

None mrmeshpy.MovementBuildBodyParams.trajectoryNormals ( self,
Const_std_vector_std_vector_Vector3_float arg1 )
optional normal directions in each trajectory point
bodyUpDir corresponds to it if both are present and `allowRotation` is set

Reimplemented from mrmeshpy.ConstMovementBuildBodyParams.


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