MeshLib Python Docs
Loading...
Searching...
No Matches
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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::DistanceMapToWorld

This structure store data to transform distance map to world coordinates

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

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

◆ __init__() [5/5]

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

Member Function Documentation

◆ _convert_to_AffineXf3f()

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

◆ _pybind11_conduit_v1_()

mrmeshpy.DistanceMapToWorld._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ direction() [1/2]

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

◆ direction() [2/2]

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

◆ orgPoint() [1/2]

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

◆ orgPoint() [2/2]

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

◆ pixelXVec() [1/2]

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

◆ pixelYVec() [1/2]

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

◆ toWorld()

Vector3f 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 mrmeshpy.DistanceMapToWorld.xf ( self)

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