Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Vector3f | toWorld (self, float x, float y, float depth) |
| AffineXf3f | xf (self) |
| ConstVector3f | direction (self) |
| ConstVector3f | orgPoint (self) |
| ConstVector3f | pixelXVec (self) |
| ConstVector3f | pixelYVec (self) |
Static Protected Attributes | |
| typing | _offsetof_direction = 36 |
| typing | _offsetof_orgPoint = 0 |
| typing | _offsetof_pixelXVec = 12 |
| typing | _offsetof_pixelYVec = 24 |
Generated from: MR::DistanceMapToWorld This structure store data to transform distance map to world coordinates
| mrmeshpy.ConstDistanceMapToWorld.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstDistanceMapToWorld) -> None Default ctor init all fields with zeros, make sure to fill them manually 2. __init__(self: meshlib.mrmeshpy.ConstDistanceMapToWorld, params: meshlib.mrmeshpy.ConstMeshToDistanceMapParams) -> None Init fields by `MeshToDistanceMapParams` struct 3. __init__(self: meshlib.mrmeshpy.ConstDistanceMapToWorld, params: meshlib.mrmeshpy.ConstContourToDistanceMapParams) -> None Init fields by `ContourToDistanceMapParams` struct 4. __init__(self: meshlib.mrmeshpy.ConstDistanceMapToWorld, xf: meshlib.mrmeshpy.ConstAffineXf3f) -> None Converts from AffineXf3f 5. __init__(self: meshlib.mrmeshpy.ConstDistanceMapToWorld, arg0: meshlib.mrmeshpy.ConstDistanceMapToWorld) -> None Implicit copy constructor. 6. __init__(self: meshlib.mrmeshpy.ConstDistanceMapToWorld, : meshlib.mrmeshpy.ConstDistanceMapToWorld) -> None
| ConstVector3f mrmeshpy.ConstDistanceMapToWorld.direction | ( | self | ) |
vector of depth direction \\note typically it should be normalized and orthogonal to `pixelXVec` `pixelYVec` plane
Reimplemented in mrmeshpy.DistanceMapToWorld, and mrmeshpy.DistanceMapToWorld.
| ConstVector3f mrmeshpy.ConstDistanceMapToWorld.orgPoint | ( | self | ) |
world coordinates of distance map origin corner
Reimplemented in mrmeshpy.DistanceMapToWorld, and mrmeshpy.DistanceMapToWorld.
| ConstVector3f mrmeshpy.ConstDistanceMapToWorld.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`
Reimplemented in mrmeshpy.DistanceMapToWorld, and mrmeshpy.DistanceMapToWorld.
| ConstVector3f mrmeshpy.ConstDistanceMapToWorld.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`
Reimplemented in mrmeshpy.DistanceMapToWorld, and mrmeshpy.DistanceMapToWorld.
| Vector3f mrmeshpy.ConstDistanceMapToWorld.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 mrmeshpy.ConstDistanceMapToWorld.xf | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |