MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_DistanceMapToWorld Class Reference

This structure store data to transform distance map to world coordinates Generated from class MR.DistanceMapToWorld. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_DistanceMapToWorld:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_DistanceMapToWorld ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_DistanceMapToWorld (MR.Const_DistanceMapToWorld _other)
 Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
unsafe Const_DistanceMapToWorld (MR.Const_MeshToDistanceMapParams params_)
 Init fields by MeshToDistanceMapParams struct Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
unsafe Const_DistanceMapToWorld (MR.Const_ContourToDistanceMapParams params_)
 Init fields by ContourToDistanceMapParams struct Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
unsafe Const_DistanceMapToWorld (in MR.AffineXf3f xf)
 Converts from AffineXf3f Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
unsafe MR.Vector3f toWorld (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) Generated from method MR.DistanceMapToWorld.toWorld.
 
unsafe MR.AffineXf3f xf ()
 Generated from method MR.DistanceMapToWorld.xf.
 

Static Public Member Functions

static unsafe implicit operator Const_DistanceMapToWorld (MR.Const_MeshToDistanceMapParams params_)
 Init fields by MeshToDistanceMapParams struct Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
static unsafe implicit operator Const_DistanceMapToWorld (MR.Const_ContourToDistanceMapParams params_)
 Init fields by ContourToDistanceMapParams struct Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
static unsafe implicit operator Const_DistanceMapToWorld (in MR.AffineXf3f xf)
 Converts from AffineXf3f Generated from constructor MR.DistanceMapToWorld.DistanceMapToWorld.
 
static unsafe implicit operator MR.AffineXf3f (MR.Const_DistanceMapToWorld _this)
 converts in transformation X: X(p) == toWorld( p.x, p.y, p.z ) Generated from conversion operator MR.DistanceMapToWorld.operator MR.AffineXf3f.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector3f orgPoint [get]
 world coordinates of distance map origin corner
 
unsafe ref readonly MR.Vector3f pixelXVec [get]
 
unsafe ref readonly MR.Vector3f pixelYVec [get]
 
unsafe ref readonly MR.Vector3f direction [get]
 
- Properties inherited from MR.Misc.Object< Const_DistanceMapToWorld >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_DistanceMapToWorld >
bool _IsOwningVal
 

Detailed Description

This structure store data to transform distance map to world coordinates Generated from class MR.DistanceMapToWorld. This is the const half of the class.

Property Documentation

◆ direction

unsafe ref readonly MR.Vector3f MR.Const_DistanceMapToWorld.direction
get

vector of depth direction

Note
typically it should be normalized and orthogonal to pixelXVec pixelYVec plane

◆ pixelXVec

unsafe ref readonly MR.Vector3f MR.Const_DistanceMapToWorld.pixelXVec
get

vector in world space of pixel x positive direction length is equal to pixel size

Note
typically it should be orthogonal to pixelYVec

◆ pixelYVec

unsafe ref readonly MR.Vector3f MR.Const_DistanceMapToWorld.pixelYVec
get

vector in world space of pixel y positive direction length is equal to pixel size

Note
typically it should be orthogonal to pixelXVec

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