this class allows to store distances from the plane in particular pixels validVerts keeps only pixels with mesh-intersecting rays from them Generated from class MR.DistanceMap. Base classes: Direct: (non-virtual) MR.RectIndexer This is the non-const half of the class.
More...
|
| unsafe | DistanceMap () |
| | Constructs an empty (default-constructed) instance.
|
| |
| unsafe | DistanceMap (MR._ByValue_DistanceMap _other) |
| | Generated from constructor MR.DistanceMap.DistanceMap.
|
| |
| | DistanceMap (Const_DistanceMap _other) |
| | Generated from constructor MR.DistanceMap.DistanceMap.
|
| |
| | DistanceMap (DistanceMap _other) |
| | Generated from constructor MR.DistanceMap.DistanceMap.
|
| |
| unsafe | DistanceMap (ulong resX, ulong resY) |
| | Preferable constructor with resolution arguments Access by the index (i) is equal to (y*resX + x) Generated from constructor MR.DistanceMap.DistanceMap.
|
| |
| unsafe | DistanceMap (MR.Const_Matrix_Float m) |
| | make from 2d array Generated from constructor MR.DistanceMap.DistanceMap.
|
| |
| unsafe MR.DistanceMap | assign (MR._ByValue_DistanceMap _other) |
| | Generated from method MR.DistanceMap.operator=.
|
| |
| unsafe new ref float | getValue (ulong x, ulong y) |
| | returns value in (X,Y) element without check on valid use this only if you sure that distance map has no invalid values or for serialization Generated from method MR.DistanceMap.getValue.
|
| |
| unsafe new ref float | getValue (ulong i) |
| | Generated from method MR.DistanceMap.getValue.
|
| |
| unsafe new MR.Misc.? Ref< float > | data () |
| | Generated from method MR.DistanceMap.data.
|
| |
| unsafe void | negate () |
| | replaces every valid element in the map with its negative value Generated from method MR.DistanceMap.negate.
|
| |
| unsafe MR.Const_DistanceMap | mergeMax (MR.Const_DistanceMap rhs) |
| | replaces values with cell-wise maximum values. Invalid values remain only if both corresponding cells are invalid Generated from method MR.DistanceMap.mergeMax.
|
| |
| unsafe MR.Const_DistanceMap | mergeMin (MR.Const_DistanceMap rhs) |
| | replaces values with cell-wise minimum values. Invalid values remain only if both corresponding cells are invalid Generated from method MR.DistanceMap.mergeMin.
|
| |
| unsafe MR.Const_DistanceMap | subAssign (MR.Const_DistanceMap rhs) |
| | replaces values with cell-wise subtracted values. Invalid values remain only if both corresponding cells are invalid Generated from method MR.DistanceMap.operator-=.
|
| |
| unsafe void | set (ulong x, ulong y, float val) |
| | sets value in (X,Y) element (the coords must be valid, UB otherwise) Generated from method MR.DistanceMap.set.
|
| |
| unsafe void | set (ulong i, float val) |
| | sets value in index element (the coord must be valid, UB otherwise) Generated from method MR.DistanceMap.set.
|
| |
| unsafe void | set (MR.Std._ByValue_Vector_Float data) |
| | sets all values at one time Generated from method MR.DistanceMap.set.
|
| |
| unsafe void | unset (ulong x, ulong y) |
| | invalidates value in (X,Y) element (the coords must be valid, UB otherwise) Generated from method MR.DistanceMap.unset.
|
| |
| unsafe void | unset (ulong i) |
| | invalidates value in index element (the coord must be valid, UB otherwise) Generated from method MR.DistanceMap.unset.
|
| |
| unsafe void | invalidateAll () |
| | invalidates all elements Generated from method MR.DistanceMap.invalidateAll.
|
| |
| unsafe void | clear () |
| | clears data, sets resolutions to zero Generated from method MR.DistanceMap.clear.
|
| |
| unsafe void | resize (in MR.Vector2i dims) |
| | Generated from method MR.DistanceMap.resize.
|
| |
this class allows to store distances from the plane in particular pixels validVerts keeps only pixels with mesh-intersecting rays from them Generated from class MR.DistanceMap. Base classes: Direct: (non-virtual) MR.RectIndexer This is the non-const half of the class.