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

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

+ Inheritance diagram for MR.MeshToDistanceMapParams:

Public Member Functions

unsafe MeshToDistanceMapParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe MeshToDistanceMapParams (MR.Const_MeshToDistanceMapParams _other)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
 
 MeshToDistanceMapParams (MeshToDistanceMapParams _other)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
 
unsafe 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 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 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 MeshToDistanceMapParams (in MR.Matrix3f rotation, in MR.Vector3f origin, in MR.Vector2f pixelSize, in MR.Vector2i resolution)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
 
unsafe 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 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 MeshToDistanceMapParams (in MR.AffineXf3f xf, in MR.Vector2f pixelSize, in MR.Vector2i resolution)
 Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.
 
unsafe MR.MeshToDistanceMapParams assign (MR.Const_MeshToDistanceMapParams _other)
 Generated from method MR.MeshToDistanceMapParams.operator=.
 
unsafe void setDistanceLimits (float min, float max)
 if distance is not in set range, pixel became invalid default value: false. Any distance will be applied (include negative) Generated from method MR.MeshToDistanceMapParams.setDistanceLimits.
 

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ MeshToDistanceMapParams() [1/10]

unsafe MR.MeshToDistanceMapParams.MeshToDistanceMapParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ MeshToDistanceMapParams() [2/10]

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

Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.

◆ MeshToDistanceMapParams() [3/10]

MR.MeshToDistanceMapParams.MeshToDistanceMapParams ( MeshToDistanceMapParams _other)
inline

Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.

◆ MeshToDistanceMapParams() [4/10]

unsafe MR.MeshToDistanceMapParams.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.

◆ MeshToDistanceMapParams() [5/10]

unsafe MR.MeshToDistanceMapParams.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.

◆ MeshToDistanceMapParams() [6/10]

unsafe MR.MeshToDistanceMapParams.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.

◆ MeshToDistanceMapParams() [7/10]

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

Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.

◆ MeshToDistanceMapParams() [8/10]

unsafe MR.MeshToDistanceMapParams.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.

◆ MeshToDistanceMapParams() [9/10]

unsafe MR.MeshToDistanceMapParams.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.

◆ MeshToDistanceMapParams() [10/10]

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

Generated from constructor MR.MeshToDistanceMapParams.MeshToDistanceMapParams.

Member Function Documentation

◆ assign()

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

Generated from method MR.MeshToDistanceMapParams.operator=.

◆ setDistanceLimits()

unsafe void MR.MeshToDistanceMapParams.setDistanceLimits ( float min,
float max )
inline

if distance is not in set range, pixel became invalid default value: false. Any distance will be applied (include negative) Generated from method MR.MeshToDistanceMapParams.setDistanceLimits.

Property Documentation

◆ allowNegativeValues

new unsafe ref bool MR.MeshToDistanceMapParams.allowNegativeValues
get

Using of this parameter depends on useDistanceLimits.

◆ direction

new unsafe ref MR.Vector3f MR.MeshToDistanceMapParams.direction
get

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

◆ maxValue

new unsafe ref float MR.MeshToDistanceMapParams.maxValue
get

resolution of distance map

◆ minValue

new unsafe ref float MR.MeshToDistanceMapParams.minValue
get

Using of this parameter depends on useDistanceLimits.

◆ orgPoint

new unsafe ref MR.Vector3f MR.MeshToDistanceMapParams.orgPoint
get

out of limits intersections will be set to non-valid

◆ resolution

new unsafe ref MR.Vector2i MR.MeshToDistanceMapParams.resolution
get

◆ useDistanceLimits

new unsafe ref bool MR.MeshToDistanceMapParams.useDistanceLimits
get

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

◆ xRange

new unsafe ref MR.Vector3f MR.MeshToDistanceMapParams.xRange
get

< Cartesian range vector between distance map borders in X direction

Cartesian range vector between distance map borders in Y direction

◆ yRange

new unsafe ref MR.Vector3f MR.MeshToDistanceMapParams.yRange
get

direction of intersection ray


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