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)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
DistanceMapToWorld operator (*args, **kwargs)
 
DistanceMapToWorld operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_direction = 36
 
typing _offsetof_orgPoint = 0
 
typing _offsetof_pixelXVec = 12
 
typing _offsetof_pixelYVec = 24
 

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__ ( * args,
** kwargs )
static

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

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

◆ __init__() [5/5]

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

Member Function Documentation

◆ 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 )

◆ operator() [1/2]

DistanceMapToWorld mrmeshpy.DistanceMapToWorld.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

DistanceMapToWorld mrmeshpy.DistanceMapToWorld.operator ( * args,
** kwargs )
static

◆ 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)

Member Data Documentation

◆ _offsetof_direction

typing mrmeshpy.DistanceMapToWorld._offsetof_direction = 36
staticprotected

◆ _offsetof_orgPoint

typing mrmeshpy.DistanceMapToWorld._offsetof_orgPoint = 0
staticprotected

◆ _offsetof_pixelXVec

typing mrmeshpy.DistanceMapToWorld._offsetof_pixelXVec = 12
staticprotected

◆ _offsetof_pixelYVec

typing mrmeshpy.DistanceMapToWorld._offsetof_pixelYVec = 24
staticprotected

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