MeshLib C# Docs
Loading...
Searching...
No Matches

Generated from class MR.MeshToDistanceMapParams. This is the const half of the class. More...

Inheritance diagram for MR.Const_MeshToDistanceMapParams:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_MeshToDistanceMapParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_MeshToDistanceMapParams (MR.Const_MeshToDistanceMapParams _other)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
 Const_MeshToDistanceMapParams (MeshToDistanceMapParams _other)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
unsafe Const_MeshToDistanceMapParams (in MR.Vector3f direction, in MR.Vector2i resolution, MR.Const_MeshPart mp, bool? usePreciseBoundingBox=null)
 direction vector shows the projections vector to the distance map for points on model yRange and xRange directions make orthonormal basis with direction see Vector3<T>::perpendicular() for more details All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams. Parameter usePreciseBoundingBox defaults to false.
unsafe Const_MeshToDistanceMapParams (in MR.Vector3f direction, in MR.Vector2f pixelSize, MR.Const_MeshPart mp, bool? usePreciseBoundingBox=null)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams. Parameter usePreciseBoundingBox defaults to false.
unsafe Const_MeshToDistanceMapParams (in MR.Matrix3f rotation, in MR.Vector3f origin, in MR.Vector2i resolution, in MR.Vector2f size)
 input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
unsafe Const_MeshToDistanceMapParams (in MR.Matrix3f rotation, in MR.Vector3f origin, in MR.Vector2f pixelSize, in MR.Vector2i resolution)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
unsafe Const_MeshToDistanceMapParams (in MR.Matrix3f rotation, in MR.Vector2i resolution, MR.Const_MeshPart mp, bool? usePreciseBoundingBox=null)
 input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams. Parameter usePreciseBoundingBox defaults to false.
unsafe Const_MeshToDistanceMapParams (in MR.AffineXf3f xf, in MR.Vector2i resolution, in MR.Vector2f size)
 The most general constructor. Use it if you have to find special view, resolution, distance map with visual the part of the model etc. All params match is in the user responsibility xf.b - origin point: pixel(0,0) with value 0. xf.A.z - direction xf.A.x - xRange xf.A.y - yRange All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
unsafe Const_MeshToDistanceMapParams (in MR.AffineXf3f xf, in MR.Vector2f pixelSize, in MR.Vector2i resolution)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
unsafe MR.AffineXf3f xf ()
 Generated from method MR.MeshToDistanceMapParams.xf.

Static Public Member Functions

static unsafe implicit operator MR.AffineXf3f (MR.Const_MeshToDistanceMapParams _this)
 converts in transformation Generated from conversion operator MR::MeshToDistanceMapParams::operator MR.AffineXf3f.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector3f__ref_storage_xRange
unsafe MR.Vector3f__ref_storage_yRange
unsafe MR.Vector3f__ref_storage_direction
unsafe MR.Vector3f__ref_storage_orgPoint
unsafe bool * __ref_storage_useDistanceLimits
unsafe bool * __ref_storage_allowNegativeValues
unsafe float * __ref_storage_minValue
unsafe float * __ref_storage_maxValue
unsafe MR.Vector2i__ref_storage_resolution

Properties

unsafe ref readonly MR.Vector3f xRange [get]
 Cartesian range vector between distance map borders in X direction.
unsafe ref readonly MR.Vector3f yRange [get]
 Cartesian range vector between distance map borders in Y direction.
unsafe ref readonly MR.Vector3f direction [get]
 direction of intersection ray
unsafe ref readonly MR.Vector3f orgPoint [get]
 location of (0,0) pixel with value 0.f
unsafe bool useDistanceLimits [get]
 out of limits intersections will be set to non-valid
unsafe bool allowNegativeValues [get]
 allows to find intersections in backward to direction vector with negative values
unsafe float minValue [get]
 Using of this parameter depends on useDistanceLimits.
unsafe float maxValue [get]
 Using of this parameter depends on useDistanceLimits.
unsafe ref readonly MR.Vector2i resolution [get]
 resolution of distance map

Detailed Description

Generated from class MR.MeshToDistanceMapParams. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_MeshToDistanceMapParams() [1/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_MeshToDistanceMapParams() [2/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( MR.Const_MeshToDistanceMapParams _other)
inline

◆ Const_MeshToDistanceMapParams() [3/10]

MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( MeshToDistanceMapParams _other)
inline

◆ Const_MeshToDistanceMapParams() [4/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.Vector3f direction,
in MR.Vector2i resolution,
MR.Const_MeshPart mp,
bool? usePreciseBoundingBox = null )
inline

direction vector shows the projections vector to the distance map for points on model yRange and xRange directions make orthonormal basis with direction see Vector3<T>::perpendicular() for more details All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams. Parameter usePreciseBoundingBox defaults to false.

◆ Const_MeshToDistanceMapParams() [5/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.Vector3f direction,
in MR.Vector2f pixelSize,
MR.Const_MeshPart mp,
bool? usePreciseBoundingBox = null )
inline

Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams. Parameter usePreciseBoundingBox defaults to false.

◆ Const_MeshToDistanceMapParams() [6/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.Matrix3f rotation,
in MR.Vector3f origin,
in MR.Vector2i resolution,
in MR.Vector2f size )
inline

input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.

◆ Const_MeshToDistanceMapParams() [7/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.Matrix3f rotation,
in MR.Vector3f origin,
in MR.Vector2f pixelSize,
in MR.Vector2i resolution )
inline

◆ Const_MeshToDistanceMapParams() [8/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.Matrix3f rotation,
in MR.Vector2i resolution,
MR.Const_MeshPart mp,
bool? usePreciseBoundingBox = null )
inline

input matrix should be orthonormal! rotation.z - direction rotation.x * (box X length) - xRange rotation.y * (box Y length) - yRange All Output Distance map values will be positive usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams. Parameter usePreciseBoundingBox defaults to false.

◆ Const_MeshToDistanceMapParams() [9/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.AffineXf3f xf,
in MR.Vector2i resolution,
in MR.Vector2f size )
inline

The most general constructor. Use it if you have to find special view, resolution, distance map with visual the part of the model etc. All params match is in the user responsibility xf.b - origin point: pixel(0,0) with value 0. xf.A.z - direction xf.A.x - xRange xf.A.y - yRange All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.

◆ Const_MeshToDistanceMapParams() [10/10]

unsafe MR.Const_MeshToDistanceMapParams.Const_MeshToDistanceMapParams ( in MR.AffineXf3f xf,
in MR.Vector2f pixelSize,
in MR.Vector2i resolution )
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_MeshToDistanceMapParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_MeshToDistanceMapParams.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator MR.AffineXf3f()

unsafe implicit MR.Const_MeshToDistanceMapParams.operator MR.AffineXf3f ( MR.Const_MeshToDistanceMapParams _this)
inlinestatic

converts in transformation Generated from conversion operator MR::MeshToDistanceMapParams::operator MR.AffineXf3f.

◆ xf()

unsafe MR.AffineXf3f MR.Const_MeshToDistanceMapParams.xf ( )
inline

Generated from method MR.MeshToDistanceMapParams.xf.

Member Data Documentation

◆ __ref_storage_allowNegativeValues

unsafe bool* MR.Const_MeshToDistanceMapParams.__ref_storage_allowNegativeValues
protected

◆ __ref_storage_direction

unsafe MR.Vector3f* MR.Const_MeshToDistanceMapParams.__ref_storage_direction
protected

◆ __ref_storage_maxValue

unsafe float* MR.Const_MeshToDistanceMapParams.__ref_storage_maxValue
protected

◆ __ref_storage_minValue

unsafe float* MR.Const_MeshToDistanceMapParams.__ref_storage_minValue
protected

◆ __ref_storage_orgPoint

unsafe MR.Vector3f* MR.Const_MeshToDistanceMapParams.__ref_storage_orgPoint
protected

◆ __ref_storage_resolution

unsafe MR.Vector2i* MR.Const_MeshToDistanceMapParams.__ref_storage_resolution
protected

◆ __ref_storage_useDistanceLimits

unsafe bool* MR.Const_MeshToDistanceMapParams.__ref_storage_useDistanceLimits
protected

◆ __ref_storage_xRange

unsafe MR.Vector3f* MR.Const_MeshToDistanceMapParams.__ref_storage_xRange
protected

◆ __ref_storage_yRange

unsafe MR.Vector3f* MR.Const_MeshToDistanceMapParams.__ref_storage_yRange
protected

Property Documentation

◆ allowNegativeValues

unsafe bool MR.Const_MeshToDistanceMapParams.allowNegativeValues
get

allows to find intersections in backward to direction vector with negative values

◆ direction

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

direction of intersection ray

◆ maxValue

unsafe float MR.Const_MeshToDistanceMapParams.maxValue
get

Using of this parameter depends on useDistanceLimits.

◆ minValue

unsafe float MR.Const_MeshToDistanceMapParams.minValue
get

Using of this parameter depends on useDistanceLimits.

◆ orgPoint

unsafe ref readonly MR.Vector3f MR.Const_MeshToDistanceMapParams.orgPoint
get

location of (0,0) pixel with value 0.f

◆ resolution

unsafe ref readonly MR.Vector2i MR.Const_MeshToDistanceMapParams.resolution
get

resolution of distance map

◆ useDistanceLimits

unsafe bool MR.Const_MeshToDistanceMapParams.useDistanceLimits
get

out of limits intersections will be set to non-valid

◆ xRange

unsafe ref readonly MR.Vector3f MR.Const_MeshToDistanceMapParams.xRange
get

Cartesian range vector between distance map borders in X direction.

◆ yRange

unsafe ref readonly MR.Vector3f MR.Const_MeshToDistanceMapParams.yRange
get

Cartesian range vector between distance map borders in Y direction.


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