MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstCameraPointsTriangulationSettings Class Reference
Inheritance diagram for mrmeshpy.ConstCameraPointsTriangulationSettings:

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstMatrix3f intrinsics (self)
VertCoords outProjectedPoints (self)
VertMap outSmallestMap (self)
float weldPixels (self)

Static Protected Attributes

typing _offsetof_intrinsics = 0
typing _offsetof_outProjectedPoints = 48
typing _offsetof_outSmallestMap = 40
typing _offsetof_weldPixels = 36

Detailed Description

Generated from:  MR::CameraPointsTriangulationSettings

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstCameraPointsTriangulationSettings.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstCameraPointsTriangulationSettings) -> None

2. __init__(self: meshlib.mrmeshpy.ConstCameraPointsTriangulationSettings, arg0: meshlib.mrmeshpy.ConstCameraPointsTriangulationSettings) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstCameraPointsTriangulationSettings, intrinsics: meshlib.mrmeshpy.ConstMatrix3f, weldPixels: float, outSmallestMap: meshlib.mrmeshpy.VertMap, outProjectedPoints: meshlib.mrmeshpy.VertCoords) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstCameraPointsTriangulationSettings, : meshlib.mrmeshpy.ConstCameraPointsTriangulationSettings) -> None

Member Function Documentation

◆ intrinsics()

ConstMatrix3f mrmeshpy.ConstCameraPointsTriangulationSettings.intrinsics ( self)
camera intrinsic matrix: the image-plane (pixel) position of a point p in camera space is ( K * p ).xy / ( K * p ).z

Reimplemented in mrmeshpy.CameraPointsTriangulationSettings, and mrmeshpy.CameraPointsTriangulationSettings.

◆ outProjectedPoints()

VertCoords mrmeshpy.ConstCameraPointsTriangulationSettings.outProjectedPoints ( self)
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

Reimplemented in mrmeshpy.CameraPointsTriangulationSettings, and mrmeshpy.CameraPointsTriangulationSettings.

◆ outSmallestMap()

VertMap mrmeshpy.ConstCameraPointsTriangulationSettings.outSmallestMap ( self)
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

Reimplemented in mrmeshpy.CameraPointsTriangulationSettings, and mrmeshpy.CameraPointsTriangulationSettings.

◆ weldPixels()

float mrmeshpy.ConstCameraPointsTriangulationSettings.weldPixels ( self)
points closer than this distance in the image plane are merged into one vertex located at their average position;
non-positive value disables merging

Reimplemented in mrmeshpy.CameraPointsTriangulationSettings, and mrmeshpy.CameraPointsTriangulationSettings.

Member Data Documentation

◆ _offsetof_intrinsics

typing mrmeshpy.ConstCameraPointsTriangulationSettings._offsetof_intrinsics = 0
staticprotected

◆ _offsetof_outProjectedPoints

typing mrmeshpy.ConstCameraPointsTriangulationSettings._offsetof_outProjectedPoints = 48
staticprotected

◆ _offsetof_outSmallestMap

typing mrmeshpy.ConstCameraPointsTriangulationSettings._offsetof_outSmallestMap = 40
staticprotected

◆ _offsetof_weldPixels

typing mrmeshpy.ConstCameraPointsTriangulationSettings._offsetof_weldPixels = 36
staticprotected

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