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

Public Member Functions

 ContourToDistanceMapParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ContourToDistanceMapParams ()
 ContourToDistanceMapParams (meshlib.ContourToDistanceMapParams _other)
 ContourToDistanceMapParams (meshlib.Vector2i resolution, meshlib.Vector2f oriPoint, meshlib.Vector2f areaSize, java.lang.Boolean withSign)
 ContourToDistanceMapParams (meshlib.Vector2i resolution, meshlib.Box2f box, java.lang.Boolean withSign)
 ContourToDistanceMapParams (meshlib.Vector2i resolution, meshlib.std_vector_std_vector_MR_Vector2f contours, float offset, java.lang.Boolean withSign)
 ContourToDistanceMapParams (float pixelSize, meshlib.std_vector_std_vector_MR_Vector2f contours, float offset, java.lang.Boolean withSign)
 ContourToDistanceMapParams (meshlib.DistanceMapToWorld toWorld)
meshlib.AffineXf3f convertTo_MR_AffineXf3f ()
meshlib.ContourToDistanceMapParams assignFromAnother (meshlib.ContourToDistanceMapParams _other)
meshlib.Vector2f toWorld (meshlib.Vector2f point)
meshlib.AffineXf3f xf ()
meshlib.Vector2f pixelSize ()
void setPixelSize (meshlib.Vector2f value)
meshlib.Vector2i resolution ()
void setResolution (meshlib.Vector2i value)
meshlib.Vector2f orgPoint ()
void setOrgPoint (meshlib.Vector2f value)
boolean withSign ()
void setWithSign (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

Structure with parameters to generate DistanceMap by Contours Generated from class MR::ContourToDistanceMapParams.

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

Constructor & Destructor Documentation

◆ ContourToDistanceMapParams() [1/8]

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

◆ ContourToDistanceMapParams() [2/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( )

Default ctor, make sure to fill all fields manually

Calls MR_ContourToDistanceMapParams_DefaultConstruct().

◆ ContourToDistanceMapParams() [3/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( meshlib.ContourToDistanceMapParams _other)

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

Calls MR_ContourToDistanceMapParams_ConstructFromAnother().

◆ ContourToDistanceMapParams() [4/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( meshlib.Vector2i resolution,
meshlib.Vector2f oriPoint,
meshlib.Vector2f areaSize,
java.lang.Boolean withSign )

Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter oriPoint might be preserved in the constructed object. The reference to the parameter areaSize might be preserved in the constructed object.

Calls MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_MR_Vector2f().

◆ ContourToDistanceMapParams() [5/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( meshlib.Vector2i resolution,
meshlib.Box2f box,
java.lang.Boolean withSign )

Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter box might be preserved in the constructed object.

Calls MR_ContourToDistanceMapParams_Construct_3().

◆ ContourToDistanceMapParams() [6/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( meshlib.Vector2i resolution,
meshlib.std_vector_std_vector_MR_Vector2f contours,
float offset,
java.lang.Boolean withSign )

Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter resolution might be preserved in the constructed object. The reference to the parameter contours might be preserved in the constructed object.

Calls MR_ContourToDistanceMapParams_Construct_4_const_MR_Vector2i_ref_std_vector_std_vector_MR_Vector2f().

◆ ContourToDistanceMapParams() [7/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( float pixelSize,
meshlib.std_vector_std_vector_MR_Vector2f contours,
float offset,
java.lang.Boolean withSign )

Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter contours might be preserved in the constructed object.

Calls MR_ContourToDistanceMapParams_Construct_4_float().

◆ ContourToDistanceMapParams() [8/8]

meshlib.ContourToDistanceMapParams.ContourToDistanceMapParams ( meshlib.DistanceMapToWorld toWorld)

Generated from constructor MR::ContourToDistanceMapParams::ContourToDistanceMapParams. The reference to the parameter toWorld might be preserved in the constructed object.

Calls MR_ContourToDistanceMapParams_Construct_1().

Member Function Documentation

◆ assignFromAnother()

meshlib.ContourToDistanceMapParams meshlib.ContourToDistanceMapParams.assignFromAnother ( meshlib.ContourToDistanceMapParams _other)

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

Calls MR_ContourToDistanceMapParams_AssignFromAnother().

◆ convertTo_MR_AffineXf3f()

meshlib.AffineXf3f meshlib.ContourToDistanceMapParams.convertTo_MR_AffineXf3f ( )

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

Calls MR_ContourToDistanceMapParams_ConvertTo_MR_AffineXf3f().

◆ orgPoint()

meshlib.Vector2f meshlib.ContourToDistanceMapParams.orgPoint ( )

< coordinates of origin area corner Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named orgPoint. The reference to this object might be preserved as the return value.

Calls MR_ContourToDistanceMapParams_Get_orgPoint().

◆ pixelSize()

meshlib.Vector2f meshlib.ContourToDistanceMapParams.pixelSize ( )

< pixel size Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named pixelSize. The reference to this object might be preserved as the return value.

Calls MR_ContourToDistanceMapParams_Get_pixelSize().

◆ resolution()

meshlib.Vector2i meshlib.ContourToDistanceMapParams.resolution ( )

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

Calls MR_ContourToDistanceMapParams_Get_resolution().

◆ setOrgPoint()

void meshlib.ContourToDistanceMapParams.setOrgPoint ( meshlib.Vector2f value)

< coordinates of origin area corner Modifies a member variable of class MR::ContourToDistanceMapParams named orgPoint. The reference to the parameter value might be preserved in this object in element orgPoint.

Calls MR_ContourToDistanceMapParams_Set_orgPoint().

◆ setPixelSize()

void meshlib.ContourToDistanceMapParams.setPixelSize ( meshlib.Vector2f value)

< pixel size Modifies a member variable of class MR::ContourToDistanceMapParams named pixelSize. The reference to the parameter value might be preserved in this object in element pixelSize.

Calls MR_ContourToDistanceMapParams_Set_pixelSize().

◆ setResolution()

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

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

Calls MR_ContourToDistanceMapParams_Set_resolution().

◆ setWithSign()

void meshlib.ContourToDistanceMapParams.setWithSign ( boolean value)

< allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Modifies a member variable of class MR::ContourToDistanceMapParams named withSign.

Calls MR_ContourToDistanceMapParams_Set_withSign().

◆ toWorld()

meshlib.Vector2f meshlib.ContourToDistanceMapParams.toWorld ( meshlib.Vector2f point)

get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map Generated from method MR::ContourToDistanceMapParams::toWorld.

Calls MR_ContourToDistanceMapParams_toWorld().

◆ withSign()

boolean meshlib.ContourToDistanceMapParams.withSign ( )

< allows calculate negative values of distance (inside closed and correctly oriented (CW) contours) Returns a pointer to a member variable of class MR::ContourToDistanceMapParams named withSign. The reference to this object might be preserved as the return value.

Calls MR_ContourToDistanceMapParams_Get_withSign().

◆ xf()

meshlib.AffineXf3f meshlib.ContourToDistanceMapParams.xf ( )

Generated from method MR::ContourToDistanceMapParams::xf.

Calls MR_ContourToDistanceMapParams_xf().


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