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

Public Member Functions

 ContoursMeshAlignParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ContoursMeshAlignParams ()
 ContoursMeshAlignParams (meshlib.MeshTriPoint meshPoint, meshlib.Vector2f pivotPoint, meshlib.Vector3f xDirection, meshlib.Vector3f zDirection, float extrusion, float maximumShift)
 ContoursMeshAlignParams (meshlib.ContoursMeshAlignParams _other)
meshlib.ContoursMeshAlignParams assignFromAnother (meshlib.ContoursMeshAlignParams _other)
meshlib.MeshTriPoint meshPoint ()
void setMeshPoint (meshlib.MeshTriPoint value)
meshlib.Vector2f pivotPoint ()
void setPivotPoint (meshlib.Vector2f value)
meshlib.Vector3f xDirection ()
void setXDirection (meshlib.Vector3f value)
java.lang.foreign.MemorySegment zDirection ()
void setZDirection (meshlib.Vector3f value)
float extrusion ()
void setExtrusion (float value)
float maximumShift ()
void setMaximumShift (float 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

Parameters for aligning 2d contours onto mesh surface Generated from class MR::ContoursMeshAlignParams.

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

Constructor & Destructor Documentation

◆ ContoursMeshAlignParams() [1/4]

meshlib.ContoursMeshAlignParams.ContoursMeshAlignParams ( 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.

◆ ContoursMeshAlignParams() [2/4]

meshlib.ContoursMeshAlignParams.ContoursMeshAlignParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_ContoursMeshAlignParams_DefaultConstruct().

◆ ContoursMeshAlignParams() [3/4]

meshlib.ContoursMeshAlignParams.ContoursMeshAlignParams ( meshlib.MeshTriPoint meshPoint,
meshlib.Vector2f pivotPoint,
meshlib.Vector3f xDirection,
meshlib.Vector3f zDirection,
float extrusion,
float maximumShift )

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

Calls MR_ContoursMeshAlignParams_ConstructFrom().

◆ ContoursMeshAlignParams() [4/4]

meshlib.ContoursMeshAlignParams.ContoursMeshAlignParams ( meshlib.ContoursMeshAlignParams _other)

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

Calls MR_ContoursMeshAlignParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ContoursMeshAlignParams meshlib.ContoursMeshAlignParams.assignFromAnother ( meshlib.ContoursMeshAlignParams _other)

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

Calls MR_ContoursMeshAlignParams_AssignFromAnother().

◆ extrusion()

float meshlib.ContoursMeshAlignParams.extrusion ( )

Contours extrusion in +z and -z direction Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named extrusion. The reference to this object might be preserved as the return value.

Calls MR_ContoursMeshAlignParams_Get_extrusion().

◆ maximumShift()

float meshlib.ContoursMeshAlignParams.maximumShift ( )

Maximum allowed shift along 'zDirection' for alignment Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named maximumShift. The reference to this object might be preserved as the return value.

Calls MR_ContoursMeshAlignParams_Get_maximumShift().

◆ meshPoint()

meshlib.MeshTriPoint meshlib.ContoursMeshAlignParams.meshPoint ( )

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

Calls MR_ContoursMeshAlignParams_Get_meshPoint().

◆ pivotPoint()

meshlib.Vector2f meshlib.ContoursMeshAlignParams.pivotPoint ( )

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

Calls MR_ContoursMeshAlignParams_Get_pivotPoint().

◆ setExtrusion()

void meshlib.ContoursMeshAlignParams.setExtrusion ( float value)

Contours extrusion in +z and -z direction Modifies a member variable of class MR::ContoursMeshAlignParams named extrusion.

Calls MR_ContoursMeshAlignParams_Set_extrusion().

◆ setMaximumShift()

void meshlib.ContoursMeshAlignParams.setMaximumShift ( float value)

Maximum allowed shift along 'zDirection' for alignment Modifies a member variable of class MR::ContoursMeshAlignParams named maximumShift.

Calls MR_ContoursMeshAlignParams_Set_maximumShift().

◆ setMeshPoint()

void meshlib.ContoursMeshAlignParams.setMeshPoint ( meshlib.MeshTriPoint value)

Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh Modifies a member variable of class MR::ContoursMeshAlignParams named meshPoint. The reference to the parameter value might be preserved in this object in element meshPoint.

Calls MR_ContoursMeshAlignParams_Set_meshPoint().

◆ setPivotPoint()

void meshlib.ContoursMeshAlignParams.setPivotPoint ( meshlib.Vector2f value)

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

Calls MR_ContoursMeshAlignParams_Set_pivotPoint().

◆ setXDirection()

void meshlib.ContoursMeshAlignParams.setXDirection ( meshlib.Vector3f value)

Represents 2d contours xDirection in mesh space Modifies a member variable of class MR::ContoursMeshAlignParams named xDirection. The reference to the parameter value might be preserved in this object in element xDirection.

Calls MR_ContoursMeshAlignParams_Set_xDirection().

◆ setZDirection()

void meshlib.ContoursMeshAlignParams.setZDirection ( meshlib.Vector3f value)

Represents contours normal in mesh space if nullptr - use mesh normal at 'meshPoint' Modifies a member variable of class MR::ContoursMeshAlignParams named zDirection. The reference to the parameter value might be preserved in this object in element zDirection.

Calls MR_ContoursMeshAlignParams_Set_zDirection().

◆ xDirection()

meshlib.Vector3f meshlib.ContoursMeshAlignParams.xDirection ( )

Represents 2d contours xDirection in mesh space Returns a pointer to a member variable of class MR::ContoursMeshAlignParams named xDirection. The reference to this object might be preserved as the return value.

Calls MR_ContoursMeshAlignParams_Get_xDirection().

◆ zDirection()

java.lang.foreign.MemorySegment meshlib.ContoursMeshAlignParams.zDirection ( )

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

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


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