MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.DistanceMapToWorld Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, MeshToDistanceMapParams params)
 
None __init__ (self, ContourToDistanceMapParams params)
 
None __init__ (self, AffineXf3f xf)
 
None __init__ (self, DistanceMapToWorld arg0)
 
Vector3f toWorld (self, float x, float y, float depth)
 
AffineXf3f xf (self)
 
Vector3f direction (self)
 
None direction (self, Vector3f arg1)
 
Vector3f orgPoint (self)
 
None orgPoint (self, Vector3f arg1)
 
Vector3f pixelXVec (self)
 
None pixelXVec (self, Vector3f arg1)
 
Vector3f pixelYVec (self)
 
None pixelYVec (self, Vector3f arg1)
 

Protected Member Functions

AffineXf3f _convert_to_AffineXf3f (self)
 

Detailed Description

Generated from:  MR::DistanceMapToWorld

This structure store data to transform distance map to world coordinates

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.DistanceMapToWorld.__init__ ( self)
Default ctor init all fields with zeros, make sure to fill them manually

◆ __init__() [2/5]

None meshlib.mrmeshpy.DistanceMapToWorld.__init__ ( self,
MeshToDistanceMapParams params )
Init fields by `MeshToDistanceMapParams` struct

◆ __init__() [3/5]

None meshlib.mrmeshpy.DistanceMapToWorld.__init__ ( self,
ContourToDistanceMapParams params )
Init fields by `ContourToDistanceMapParams` struct

◆ __init__() [4/5]

None meshlib.mrmeshpy.DistanceMapToWorld.__init__ ( self,
AffineXf3f xf )
Converts from AffineXf3f

◆ __init__() [5/5]

None meshlib.mrmeshpy.DistanceMapToWorld.__init__ ( self,
DistanceMapToWorld arg0 )
Implicit copy constructor.

Member Function Documentation

◆ _convert_to_AffineXf3f()

AffineXf3f meshlib.mrmeshpy.DistanceMapToWorld._convert_to_AffineXf3f ( self)
protected
converts in transformation X: X(p) == toWorld( p.x, p.y, p.z )

◆ direction() [1/2]

Vector3f meshlib.mrmeshpy.DistanceMapToWorld.direction ( self)
vector of depth direction
\\note typically it should be normalized and orthogonal to `pixelXVec` `pixelYVec` plane

◆ direction() [2/2]

None meshlib.mrmeshpy.DistanceMapToWorld.direction ( self,
Vector3f arg1 )

◆ orgPoint() [1/2]

Vector3f meshlib.mrmeshpy.DistanceMapToWorld.orgPoint ( self)
world coordinates of distance map origin corner

◆ orgPoint() [2/2]

None meshlib.mrmeshpy.DistanceMapToWorld.orgPoint ( self,
Vector3f arg1 )

◆ pixelXVec() [1/2]

Vector3f meshlib.mrmeshpy.DistanceMapToWorld.pixelXVec ( self)
vector in world space of pixel x positive direction
length is equal to pixel size
\\note typically it should be orthogonal to `pixelYVec`

◆ pixelXVec() [2/2]

None meshlib.mrmeshpy.DistanceMapToWorld.pixelXVec ( self,
Vector3f arg1 )

◆ pixelYVec() [1/2]

Vector3f meshlib.mrmeshpy.DistanceMapToWorld.pixelYVec ( self)
vector in world space of pixel y positive direction
length is equal to pixel size
\\note typically it should be orthogonal to `pixelXVec`

◆ pixelYVec() [2/2]

None meshlib.mrmeshpy.DistanceMapToWorld.pixelYVec ( self,
Vector3f arg1 )

◆ toWorld()

Vector3f meshlib.mrmeshpy.DistanceMapToWorld.toWorld ( self,
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)

◆ xf()

AffineXf3f meshlib.mrmeshpy.DistanceMapToWorld.xf ( self)

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