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

Public Member Functions

 CameraPointsTriangulationSettings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 CameraPointsTriangulationSettings ()
 CameraPointsTriangulationSettings (meshlib.Matrix3f intrinsics, float weldPixels, meshlib.VertMap outSmallestMap, meshlib.VertCoords outProjectedPoints)
 CameraPointsTriangulationSettings (meshlib.CameraPointsTriangulationSettings _other)
meshlib.CameraPointsTriangulationSettings assignFromAnother (meshlib.CameraPointsTriangulationSettings _other)
meshlib.Matrix3f intrinsics ()
void setIntrinsics (meshlib.Matrix3f value)
float weldPixels ()
void setWeldPixels (float value)
java.lang.foreign.MemorySegment outSmallestMap ()
void setOutSmallestMap (meshlib.VertMap value)
java.lang.foreign.MemorySegment outProjectedPoints ()
void setOutProjectedPoints (meshlib.VertCoords 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::CameraPointsTriangulationSettings.

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

Constructor & Destructor Documentation

◆ CameraPointsTriangulationSettings() [1/4]

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

◆ CameraPointsTriangulationSettings() [2/4]

meshlib.CameraPointsTriangulationSettings.CameraPointsTriangulationSettings ( )

Constructs an empty (default-constructed) instance.

Calls MR_CameraPointsTriangulationSettings_DefaultConstruct().

◆ CameraPointsTriangulationSettings() [3/4]

meshlib.CameraPointsTriangulationSettings.CameraPointsTriangulationSettings ( meshlib.Matrix3f intrinsics,
float weldPixels,
meshlib.VertMap outSmallestMap,
meshlib.VertCoords outProjectedPoints )

Constructs MR::CameraPointsTriangulationSettings elementwise. The reference to the parameter intrinsics might be preserved in the constructed object. The reference to the parameter outSmallestMap might be preserved in the constructed object. The reference to the parameter outProjectedPoints might be preserved in the constructed object.

Calls MR_CameraPointsTriangulationSettings_ConstructFrom().

◆ CameraPointsTriangulationSettings() [4/4]

meshlib.CameraPointsTriangulationSettings.CameraPointsTriangulationSettings ( meshlib.CameraPointsTriangulationSettings _other)

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

Calls MR_CameraPointsTriangulationSettings_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.CameraPointsTriangulationSettings meshlib.CameraPointsTriangulationSettings.assignFromAnother ( meshlib.CameraPointsTriangulationSettings _other)

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

Calls MR_CameraPointsTriangulationSettings_AssignFromAnother().

◆ intrinsics()

meshlib.Matrix3f meshlib.CameraPointsTriangulationSettings.intrinsics ( )

camera intrinsic matrix: the image-plane (pixel) position of a point p in camera space is ( K * p ).xy / ( K * p ).z Returns a pointer to a member variable of class MR::CameraPointsTriangulationSettings named intrinsics. The reference to this object might be preserved as the return value.

Calls MR_CameraPointsTriangulationSettings_Get_intrinsics().

◆ outProjectedPoints()

java.lang.foreign.MemorySegment meshlib.CameraPointsTriangulationSettings.outProjectedPoints ( )

if not null, receives the image-plane coordinates of all points as ( x, -y, 1 ) with y mirrored, for welded points these are the coordinates of the averaged position, for invalid cloud points zeros Returns a pointer to a member variable of class MR::CameraPointsTriangulationSettings named outProjectedPoints. The reference to this object might be preserved as the return value.

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

◆ outSmallestMap()

java.lang.foreign.MemorySegment meshlib.CameraPointsTriangulationSettings.outSmallestMap ( )

if not null, receives the result of findSmallestCloseVertices on the image-plane positions: each point is mapped to the point it was merged into (or to itself); left unchanged if weldPixels <= 0 Returns a pointer to a member variable of class MR::CameraPointsTriangulationSettings named outSmallestMap. The reference to this object might be preserved as the return value.

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

◆ setIntrinsics()

void meshlib.CameraPointsTriangulationSettings.setIntrinsics ( meshlib.Matrix3f value)

camera intrinsic matrix: the image-plane (pixel) position of a point p in camera space is ( K * p ).xy / ( K * p ).z Modifies a member variable of class MR::CameraPointsTriangulationSettings named intrinsics. The reference to the parameter value might be preserved in this object in element intrinsics.

Calls MR_CameraPointsTriangulationSettings_Set_intrinsics().

◆ setOutProjectedPoints()

void meshlib.CameraPointsTriangulationSettings.setOutProjectedPoints ( meshlib.VertCoords value)

if not null, receives the image-plane coordinates of all points as ( x, -y, 1 ) with y mirrored, for welded points these are the coordinates of the averaged position, for invalid cloud points zeros Modifies a member variable of class MR::CameraPointsTriangulationSettings named outProjectedPoints. The reference to the parameter value might be preserved in this object in element outProjectedPoints.

Calls MR_CameraPointsTriangulationSettings_Set_outProjectedPoints().

◆ setOutSmallestMap()

void meshlib.CameraPointsTriangulationSettings.setOutSmallestMap ( meshlib.VertMap value)

if not null, receives the result of findSmallestCloseVertices on the image-plane positions: each point is mapped to the point it was merged into (or to itself); left unchanged if weldPixels <= 0 Modifies a member variable of class MR::CameraPointsTriangulationSettings named outSmallestMap. The reference to the parameter value might be preserved in this object in element outSmallestMap.

Calls MR_CameraPointsTriangulationSettings_Set_outSmallestMap().

◆ setWeldPixels()

void meshlib.CameraPointsTriangulationSettings.setWeldPixels ( float value)

points closer than this distance in the image plane are merged into one vertex located at their average position; non-positive value disables merging Modifies a member variable of class MR::CameraPointsTriangulationSettings named weldPixels.

Calls MR_CameraPointsTriangulationSettings_Set_weldPixels().

◆ weldPixels()

float meshlib.CameraPointsTriangulationSettings.weldPixels ( )

points closer than this distance in the image plane are merged into one vertex located at their average position; non-positive value disables merging Returns a pointer to a member variable of class MR::CameraPointsTriangulationSettings named weldPixels. The reference to this object might be preserved as the return value.

Calls MR_CameraPointsTriangulationSettings_Get_weldPixels().


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