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

Public Member Functions

 MeshToDistanceMapParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshToDistanceMapParams ()
 MeshToDistanceMapParams (meshlib.MeshToDistanceMapParams _other)
 MeshToDistanceMapParams (meshlib.Vector3f direction, meshlib.Vector2i resolution, meshlib.MeshPart mp, java.lang.Boolean usePreciseBoundingBox)
 MeshToDistanceMapParams (meshlib.Vector3f direction, meshlib.Vector2f pixelSize, meshlib.MeshPart mp, java.lang.Boolean usePreciseBoundingBox)
 MeshToDistanceMapParams (meshlib.Matrix3f rotation, meshlib.Vector3f origin, meshlib.Vector2i resolution, meshlib.Vector2f size)
 MeshToDistanceMapParams (meshlib.Matrix3f rotation, meshlib.Vector3f origin, meshlib.Vector2f pixelSize, meshlib.Vector2i resolution)
 MeshToDistanceMapParams (meshlib.Matrix3f rotation, meshlib.Vector2i resolution, meshlib.MeshPart mp, java.lang.Boolean usePreciseBoundingBox)
 MeshToDistanceMapParams (meshlib.AffineXf3f xf, meshlib.Vector2i resolution, meshlib.Vector2f size)
 MeshToDistanceMapParams (meshlib.AffineXf3f xf, meshlib.Vector2f pixelSize, meshlib.Vector2i resolution)
meshlib.AffineXf3f convertTo_MR_AffineXf3f ()
meshlib.MeshToDistanceMapParams assignFromAnother (meshlib.MeshToDistanceMapParams _other)
meshlib.AffineXf3f xf ()
void setDistanceLimits (float min, float max)
meshlib.Vector3f xRange ()
void setXRange (meshlib.Vector3f value)
meshlib.Vector3f yRange ()
void setYRange (meshlib.Vector3f value)
meshlib.Vector3f direction ()
void setDirection (meshlib.Vector3f value)
meshlib.Vector3f orgPoint ()
void setOrgPoint (meshlib.Vector3f value)
boolean useDistanceLimits ()
void setUseDistanceLimits (boolean value)
boolean allowNegativeValues ()
void setAllowNegativeValues (boolean value)
float minValue ()
void setMinValue (float value)
float maxValue ()
void setMaxValue (float value)
meshlib.Vector2i resolution ()
void setResolution (meshlib.Vector2i 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::MeshToDistanceMapParams.

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

Constructor & Destructor Documentation

◆ MeshToDistanceMapParams() [1/10]

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

◆ MeshToDistanceMapParams() [2/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( )

default constructor. Manual params initialization is required:

Calls MR_MeshToDistanceMapParams_DefaultConstruct().

◆ MeshToDistanceMapParams() [3/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.MeshToDistanceMapParams _other)

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

Calls MR_MeshToDistanceMapParams_ConstructFromAnother().

◆ MeshToDistanceMapParams() [4/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.Vector3f direction,
meshlib.Vector2i resolution,
meshlib.MeshPart mp,
java.lang.Boolean usePreciseBoundingBox )

direction vector shows the projections vector to the distance map for points on model yRange and xRange directions make orthonormal basis with direction see Vector3<T>::perpendicular() for more details All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter mp might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Vector3f_ref_MR_Vector2i().

◆ MeshToDistanceMapParams() [5/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.Vector3f direction,
meshlib.Vector2f pixelSize,
meshlib.MeshPart mp,
java.lang.Boolean usePreciseBoundingBox )

Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter pixelSize might be preserved in the constructed object. The reference to the parameter mp might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Vector3f_ref_MR_Vector2f().

◆ MeshToDistanceMapParams() [6/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.Matrix3f rotation,
meshlib.Vector3f origin,
meshlib.Vector2i resolution,
meshlib.Vector2f size )

input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter rotation might be preserved in the constructed object. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector3f_ref_MR_Vector2i().

◆ MeshToDistanceMapParams() [7/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.Matrix3f rotation,
meshlib.Vector3f origin,
meshlib.Vector2f pixelSize,
meshlib.Vector2i resolution )

Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter rotation might be preserved in the constructed object. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter pixelSize might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector3f_ref_MR_Vector2f().

◆ MeshToDistanceMapParams() [8/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.Matrix3f rotation,
meshlib.Vector2i resolution,
meshlib.MeshPart mp,
java.lang.Boolean usePreciseBoundingBox )

input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter rotation might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter mp might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_4_const_MR_Matrix3f_ref_const_MR_Vector2i_ref().

◆ MeshToDistanceMapParams() [9/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.AffineXf3f xf,
meshlib.Vector2i resolution,
meshlib.Vector2f size )

The most general constructor. Use it if you have to find special view, resolution, distance map with visual the part of the model etc. All params match is in the user responsibility xf.b - origin point: pixel(0,0) with value 0. xf.A.z - direction xf.A.x - xRange xf.A.y - yRange All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_3_MR_Vector2i().

◆ MeshToDistanceMapParams() [10/10]

meshlib.MeshToDistanceMapParams.MeshToDistanceMapParams ( meshlib.AffineXf3f xf,
meshlib.Vector2f pixelSize,
meshlib.Vector2i resolution )

Generated from constructor MR::MeshToDistanceMapParams::MeshToDistanceMapParams. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter pixelSize might be preserved in the constructed object. The reference to the parameter resolution might be preserved in the constructed object.

Calls MR_MeshToDistanceMapParams_Construct_3_MR_Vector2f().

Member Function Documentation

◆ allowNegativeValues()

boolean meshlib.MeshToDistanceMapParams.allowNegativeValues ( )

< allows to find intersections in backward to direction vector with negative values Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_allowNegativeValues().

◆ assignFromAnother()

meshlib.MeshToDistanceMapParams meshlib.MeshToDistanceMapParams.assignFromAnother ( meshlib.MeshToDistanceMapParams _other)

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

Calls MR_MeshToDistanceMapParams_AssignFromAnother().

◆ convertTo_MR_AffineXf3f()

meshlib.AffineXf3f meshlib.MeshToDistanceMapParams.convertTo_MR_AffineXf3f ( )

converts in transformation Generated from conversion operator MR::MeshToDistanceMapParams::operator MR::AffineXf3f.

Calls MR_MeshToDistanceMapParams_ConvertTo_MR_AffineXf3f().

◆ direction()

meshlib.Vector3f meshlib.MeshToDistanceMapParams.direction ( )

< direction of intersection ray Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named direction. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_direction().

◆ maxValue()

float meshlib.MeshToDistanceMapParams.maxValue ( )

< Using of this parameter depends on useDistanceLimits Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named maxValue. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_maxValue().

◆ minValue()

float meshlib.MeshToDistanceMapParams.minValue ( )

< Using of this parameter depends on useDistanceLimits Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named minValue. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_minValue().

◆ orgPoint()

meshlib.Vector3f meshlib.MeshToDistanceMapParams.orgPoint ( )

< location of (0,0) pixel with value 0.f Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named orgPoint. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_orgPoint().

◆ resolution()

meshlib.Vector2i meshlib.MeshToDistanceMapParams.resolution ( )

< resolution of distance map Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named resolution. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_resolution().

◆ setAllowNegativeValues()

void meshlib.MeshToDistanceMapParams.setAllowNegativeValues ( boolean value)

< allows to find intersections in backward to direction vector with negative values Modifies a member variable of class MR::MeshToDistanceMapParams named allowNegativeValues.

Calls MR_MeshToDistanceMapParams_Set_allowNegativeValues().

◆ setDirection()

void meshlib.MeshToDistanceMapParams.setDirection ( meshlib.Vector3f value)

< direction of intersection ray Modifies a member variable of class MR::MeshToDistanceMapParams named direction. The reference to the parameter value might be preserved in this object in element direction.

Calls MR_MeshToDistanceMapParams_Set_direction().

◆ setDistanceLimits()

void meshlib.MeshToDistanceMapParams.setDistanceLimits ( float min,
float max )

if distance is not in set range, pixel became invalid default value: false. Any distance will be applied (include negative) Generated from method MR::MeshToDistanceMapParams::setDistanceLimits.

Calls MR_MeshToDistanceMapParams_setDistanceLimits().

◆ setMaxValue()

void meshlib.MeshToDistanceMapParams.setMaxValue ( float value)

< Using of this parameter depends on useDistanceLimits Modifies a member variable of class MR::MeshToDistanceMapParams named maxValue.

Calls MR_MeshToDistanceMapParams_Set_maxValue().

◆ setMinValue()

void meshlib.MeshToDistanceMapParams.setMinValue ( float value)

< Using of this parameter depends on useDistanceLimits Modifies a member variable of class MR::MeshToDistanceMapParams named minValue.

Calls MR_MeshToDistanceMapParams_Set_minValue().

◆ setOrgPoint()

void meshlib.MeshToDistanceMapParams.setOrgPoint ( meshlib.Vector3f value)

< location of (0,0) pixel with value 0.f Modifies a member variable of class MR::MeshToDistanceMapParams named orgPoint. The reference to the parameter value might be preserved in this object in element orgPoint.

Calls MR_MeshToDistanceMapParams_Set_orgPoint().

◆ setResolution()

void meshlib.MeshToDistanceMapParams.setResolution ( meshlib.Vector2i value)

< resolution of distance map Modifies a member variable of class MR::MeshToDistanceMapParams named resolution. The reference to the parameter value might be preserved in this object in element resolution.

Calls MR_MeshToDistanceMapParams_Set_resolution().

◆ setUseDistanceLimits()

void meshlib.MeshToDistanceMapParams.setUseDistanceLimits ( boolean value)

< out of limits intersections will be set to non-valid Modifies a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits.

Calls MR_MeshToDistanceMapParams_Set_useDistanceLimits().

◆ setXRange()

void meshlib.MeshToDistanceMapParams.setXRange ( meshlib.Vector3f value)

< Cartesian range vector between distance map borders in X direction Modifies a member variable of class MR::MeshToDistanceMapParams named xRange. The reference to the parameter value might be preserved in this object in element xRange.

Calls MR_MeshToDistanceMapParams_Set_xRange().

◆ setYRange()

void meshlib.MeshToDistanceMapParams.setYRange ( meshlib.Vector3f value)

< Cartesian range vector between distance map borders in Y direction Modifies a member variable of class MR::MeshToDistanceMapParams named yRange. The reference to the parameter value might be preserved in this object in element yRange.

Calls MR_MeshToDistanceMapParams_Set_yRange().

◆ useDistanceLimits()

boolean meshlib.MeshToDistanceMapParams.useDistanceLimits ( )

< out of limits intersections will be set to non-valid Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named useDistanceLimits. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_useDistanceLimits().

◆ xf()

meshlib.AffineXf3f meshlib.MeshToDistanceMapParams.xf ( )

Generated from method MR::MeshToDistanceMapParams::xf.

Calls MR_MeshToDistanceMapParams_xf().

◆ xRange()

meshlib.Vector3f meshlib.MeshToDistanceMapParams.xRange ( )

< Cartesian range vector between distance map borders in X direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named xRange. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_xRange().

◆ yRange()

meshlib.Vector3f meshlib.MeshToDistanceMapParams.yRange ( )

< Cartesian range vector between distance map borders in Y direction Returns a pointer to a member variable of class MR::MeshToDistanceMapParams named yRange. The reference to this object might be preserved as the return value.

Calls MR_MeshToDistanceMapParams_Get_yRange().


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