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

Public Member Functions

 DistanceMapToWorld (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DistanceMapToWorld ()
 DistanceMapToWorld (meshlib.DistanceMapToWorld _other)
 DistanceMapToWorld (meshlib.MeshToDistanceMapParams params)
 DistanceMapToWorld (meshlib.ContourToDistanceMapParams params)
 DistanceMapToWorld (meshlib.AffineXf3f xf)
meshlib.AffineXf3f convertTo_MR_AffineXf3f ()
meshlib.DistanceMapToWorld assignFromAnother (meshlib.DistanceMapToWorld _other)
meshlib.Vector3f toWorld (float x, float y, float depth)
meshlib.AffineXf3f xf ()
meshlib.Vector3f orgPoint ()
void setOrgPoint (meshlib.Vector3f value)
meshlib.Vector3f pixelXVec ()
void setPixelXVec (meshlib.Vector3f value)
meshlib.Vector3f pixelYVec ()
void setPixelYVec (meshlib.Vector3f value)
meshlib.Vector3f direction ()
void setDirection (meshlib.Vector3f 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

This structure store data to transform distance map to world coordinates Generated from class MR::DistanceMapToWorld.

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

Constructor & Destructor Documentation

◆ DistanceMapToWorld() [1/6]

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

◆ DistanceMapToWorld() [2/6]

meshlib.DistanceMapToWorld.DistanceMapToWorld ( )

Default ctor init all fields with zeros, make sure to fill them manually

Calls MR_DistanceMapToWorld_DefaultConstruct().

◆ DistanceMapToWorld() [3/6]

meshlib.DistanceMapToWorld.DistanceMapToWorld ( meshlib.DistanceMapToWorld _other)

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

Calls MR_DistanceMapToWorld_ConstructFromAnother().

◆ DistanceMapToWorld() [4/6]

meshlib.DistanceMapToWorld.DistanceMapToWorld ( meshlib.MeshToDistanceMapParams params)

Init fields by MeshToDistanceMapParams struct Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. The reference to the parameter params might be preserved in the constructed object.

Calls MR_DistanceMapToWorld_Construct_MR_MeshToDistanceMapParams().

◆ DistanceMapToWorld() [5/6]

meshlib.DistanceMapToWorld.DistanceMapToWorld ( meshlib.ContourToDistanceMapParams params)

Init fields by ContourToDistanceMapParams struct Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. The reference to the parameter params might be preserved in the constructed object.

Calls MR_DistanceMapToWorld_Construct_MR_ContourToDistanceMapParams().

◆ DistanceMapToWorld() [6/6]

meshlib.DistanceMapToWorld.DistanceMapToWorld ( meshlib.AffineXf3f xf)

Converts from AffineXf3f Generated from constructor MR::DistanceMapToWorld::DistanceMapToWorld. The reference to the parameter xf might be preserved in the constructed object.

Calls MR_DistanceMapToWorld_Construct_MR_AffineXf3f().

Member Function Documentation

◆ assignFromAnother()

meshlib.DistanceMapToWorld meshlib.DistanceMapToWorld.assignFromAnother ( meshlib.DistanceMapToWorld _other)

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

Calls MR_DistanceMapToWorld_AssignFromAnother().

◆ convertTo_MR_AffineXf3f()

meshlib.AffineXf3f meshlib.DistanceMapToWorld.convertTo_MR_AffineXf3f ( )

converts in transformation X: X(p) == toWorld( p.x, p.y, p.z ) Generated from conversion operator MR::DistanceMapToWorld::operator MR::AffineXf3f.

Calls MR_DistanceMapToWorld_ConvertTo_MR_AffineXf3f().

◆ direction()

meshlib.Vector3f meshlib.DistanceMapToWorld.direction ( )

vector of depth direction

Note
typically it should be normalized and orthogonal to pixelXVec pixelYVec plane Returns a pointer to a member variable of class MR::DistanceMapToWorld named direction. The reference to this object might be preserved as the return value.

Calls MR_DistanceMapToWorld_Get_direction().

◆ orgPoint()

meshlib.Vector3f meshlib.DistanceMapToWorld.orgPoint ( )

world coordinates of distance map origin corner Returns a pointer to a member variable of class MR::DistanceMapToWorld named orgPoint. The reference to this object might be preserved as the return value.

Calls MR_DistanceMapToWorld_Get_orgPoint().

◆ pixelXVec()

meshlib.Vector3f meshlib.DistanceMapToWorld.pixelXVec ( )

vector in world space of pixel x positive direction length is equal to pixel size

Note
typically it should be orthogonal to pixelYVec Returns a pointer to a member variable of class MR::DistanceMapToWorld named pixelXVec. The reference to this object might be preserved as the return value.

Calls MR_DistanceMapToWorld_Get_pixelXVec().

◆ pixelYVec()

meshlib.Vector3f meshlib.DistanceMapToWorld.pixelYVec ( )

vector in world space of pixel y positive direction length is equal to pixel size

Note
typically it should be orthogonal to pixelXVec Returns a pointer to a member variable of class MR::DistanceMapToWorld named pixelYVec. The reference to this object might be preserved as the return value.

Calls MR_DistanceMapToWorld_Get_pixelYVec().

◆ setDirection()

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

vector of depth direction

Note
typically it should be normalized and orthogonal to pixelXVec pixelYVec plane Modifies a member variable of class MR::DistanceMapToWorld named direction. The reference to the parameter value might be preserved in this object in element direction.

Calls MR_DistanceMapToWorld_Set_direction().

◆ setOrgPoint()

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

world coordinates of distance map origin corner Modifies a member variable of class MR::DistanceMapToWorld named orgPoint. The reference to the parameter value might be preserved in this object in element orgPoint.

Calls MR_DistanceMapToWorld_Set_orgPoint().

◆ setPixelXVec()

void meshlib.DistanceMapToWorld.setPixelXVec ( meshlib.Vector3f value)

vector in world space of pixel x positive direction length is equal to pixel size

Note
typically it should be orthogonal to pixelYVec Modifies a member variable of class MR::DistanceMapToWorld named pixelXVec. The reference to the parameter value might be preserved in this object in element pixelXVec.

Calls MR_DistanceMapToWorld_Set_pixelXVec().

◆ setPixelYVec()

void meshlib.DistanceMapToWorld.setPixelYVec ( meshlib.Vector3f value)

vector in world space of pixel y positive direction length is equal to pixel size

Note
typically it should be orthogonal to pixelXVec Modifies a member variable of class MR::DistanceMapToWorld named pixelYVec. The reference to the parameter value might be preserved in this object in element pixelYVec.

Calls MR_DistanceMapToWorld_Set_pixelYVec().

◆ toWorld()

meshlib.Vector3f meshlib.DistanceMapToWorld.toWorld ( float x,
float y,
float depth )

get world coordinate by depth map info x - float X coordinate of depth map: (0.0f - left corner of pixel 0, 1.0 - right corner of pixel 0 and left corner of pixel 1) y - float Y coordinate of depth map: (0.0f - left corner of pixel 0, 1.0 - right corner of pixel 0 and left corner of pixel 1) float depth value (value in distance map, represent depth in world) Generated from method MR::DistanceMapToWorld::toWorld.

Calls MR_DistanceMapToWorld_toWorld().

◆ xf()

meshlib.AffineXf3f meshlib.DistanceMapToWorld.xf ( )

Generated from method MR::DistanceMapToWorld::xf.

Calls MR_DistanceMapToWorld_xf().


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