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) |
Generated from: MR::DistanceMapToWorld This structure store data to transform distance map to world coordinates
None meshlib.mrmeshpy.DistanceMapToWorld.__init__ | ( | self | ) |
Default ctor init all fields with zeros, make sure to fill them manually
None meshlib.mrmeshpy.DistanceMapToWorld.__init__ | ( | self, | |
MeshToDistanceMapParams | params ) |
Init fields by `MeshToDistanceMapParams` struct
None meshlib.mrmeshpy.DistanceMapToWorld.__init__ | ( | self, | |
ContourToDistanceMapParams | params ) |
Init fields by `ContourToDistanceMapParams` struct
None meshlib.mrmeshpy.DistanceMapToWorld.__init__ | ( | self, | |
AffineXf3f | xf ) |
Converts from AffineXf3f
None meshlib.mrmeshpy.DistanceMapToWorld.__init__ | ( | self, | |
DistanceMapToWorld | arg0 ) |
Implicit copy constructor.
|
protected |
converts in transformation X: X(p) == toWorld( p.x, p.y, p.z )
Vector3f meshlib.mrmeshpy.DistanceMapToWorld.direction | ( | self | ) |
vector of depth direction \\note typically it should be normalized and orthogonal to `pixelXVec` `pixelYVec` plane
None meshlib.mrmeshpy.DistanceMapToWorld.direction | ( | self, | |
Vector3f | arg1 ) |
Vector3f meshlib.mrmeshpy.DistanceMapToWorld.orgPoint | ( | self | ) |
world coordinates of distance map origin corner
None meshlib.mrmeshpy.DistanceMapToWorld.orgPoint | ( | self, | |
Vector3f | arg1 ) |
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`
None meshlib.mrmeshpy.DistanceMapToWorld.pixelXVec | ( | self, | |
Vector3f | arg1 ) |
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`
None meshlib.mrmeshpy.DistanceMapToWorld.pixelYVec | ( | self, | |
Vector3f | arg1 ) |
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)
AffineXf3f meshlib.mrmeshpy.DistanceMapToWorld.xf | ( | self | ) |