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

represents a box in 3D space subdivided on voxels stored in T; and stores minimum and maximum values among all valid voxels Generated from class MR.SimpleVolumeMinMaxU16. Base classes: Direct: (non-virtual) MR.SimpleVolumeU16 MR::Box<unsigned short> This is the const half of the class. More...

Inheritance diagram for MR.Const_SimpleVolumeMinMaxU16:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_SimpleVolumeMinMaxU16 ()
 Constructs an empty (default-constructed) instance.
unsafe Const_SimpleVolumeMinMaxU16 (MR._ByValue_SimpleVolumeMinMaxU16 _other)
 Generated from constructor MR.SimpleVolumeMinMaxU16.SimpleVolumeMinMaxU16.
 Const_SimpleVolumeMinMaxU16 (Const_SimpleVolumeMinMaxU16 _other)
 Generated from constructor MR.SimpleVolumeMinMaxU16.SimpleVolumeMinMaxU16.
 Const_SimpleVolumeMinMaxU16 (SimpleVolumeMinMaxU16 _other)
 Generated from constructor MR.SimpleVolumeMinMaxU16.SimpleVolumeMinMaxU16.
unsafe ulong heapBytes ()
 Generated from method MR.SimpleVolumeMinMaxU16.heapBytes.
unsafe bool valid ()
 true if the box contains at least one point Generated from method MR.SimpleVolumeMinMaxU16.valid.
unsafe ushort center ()
 computes center of the box Generated from method MR.SimpleVolumeMinMaxU16.center.
unsafe ushort corner (bool c)
 returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR.SimpleVolumeMinMaxU16.corner.
unsafe ushort size ()
 computes size of the box in all dimensions Generated from method MR.SimpleVolumeMinMaxU16.size.
unsafe ushort diagonal ()
 computes length from min to max Generated from method MR.SimpleVolumeMinMaxU16.diagonal.
unsafe ushort volume ()
 computes the volume of this box Generated from method MR.SimpleVolumeMinMaxU16.volume.
unsafe ushort getBoxClosestPointTo (ushort pt)
 returns closest point in the box to given point Generated from method MR.SimpleVolumeMinMaxU16.getBoxClosestPointTo.
unsafe bool intersects (MR.Const_Box_UnsignedShort b)
 checks whether this box intersects or touches given box Generated from method MR.SimpleVolumeMinMaxU16.intersects.
unsafe MR.Box_UnsignedShort intersection (MR.Const_Box_UnsignedShort b)
 computes intersection between this and other box Generated from method MR.SimpleVolumeMinMaxU16.intersection.
unsafe ushort getProjection (ushort pt)
 returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR.SimpleVolumeMinMaxU16.getProjection.
unsafe MR.Box_UnsignedShort expanded (ushort expansion)
 decreases min and increased max on given value Generated from method MR.SimpleVolumeMinMaxU16.expanded.
unsafe MR.Box_UnsignedShort insignificantlyExpanded ()
 decreases min and increases max to their closest representable value Generated from method MR.SimpleVolumeMinMaxU16.insignificantlyExpanded.
bool Equals (MR.Const_Box_UnsignedShort? a)
override bool Equals (object? other)

Static Public Member Functions

static unsafe implicit operator MR.Const_SimpleVolumeU16 (Const_SimpleVolumeMinMaxU16 self)
static unsafe implicit operator MR.Const_Box_UnsignedShort (Const_SimpleVolumeMinMaxU16 self)
static unsafe MR.Box_UnsignedShort fromMinAndSize (ushort min, ushort size)
 Generated from method MR.SimpleVolumeMinMaxU16.fromMinAndSize.
static unsafe bool getMinBoxCorner (ushort n)
 considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR.SimpleVolumeMinMaxU16.getMinBoxCorner.
static unsafe bool getMaxBoxCorner (ushort n)
 considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR.SimpleVolumeMinMaxU16.getMaxBoxCorner.
static unsafe bool operator== (MR.Const_SimpleVolumeMinMaxU16 _this, MR.Const_Box_UnsignedShort a)
 Generated from method MR::SimpleVolumeMinMaxU16::operator==.
static unsafe bool operator!= (MR.Const_SimpleVolumeMinMaxU16 _this, MR.Const_Box_UnsignedShort a)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector3i__ref_storage_dims
unsafe MR.Vector3f__ref_storage_voxelSize
unsafe ushort * __ref_storage_min
unsafe ushort * __ref_storage_max

Static Protected Attributes

static unsafe int * __ref_storage_Elements

Properties

unsafe MR.Const_Vector_UnsignedShort_MRVoxelId data [get, protected set]
unsafe ref readonly MR.Vector3i dims [get]
unsafe ref readonly MR.Vector3f voxelSize [get]
static unsafe int Elements [get]
unsafe ushort min [get]
unsafe ushort max [get]

Detailed Description

represents a box in 3D space subdivided on voxels stored in T; and stores minimum and maximum values among all valid voxels Generated from class MR.SimpleVolumeMinMaxU16. Base classes: Direct: (non-virtual) MR.SimpleVolumeU16 MR::Box<unsigned short> This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_SimpleVolumeMinMaxU16() [1/4]

unsafe MR.Const_SimpleVolumeMinMaxU16.Const_SimpleVolumeMinMaxU16 ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_SimpleVolumeMinMaxU16() [2/4]

unsafe MR.Const_SimpleVolumeMinMaxU16.Const_SimpleVolumeMinMaxU16 ( MR._ByValue_SimpleVolumeMinMaxU16 _other)
inline

◆ Const_SimpleVolumeMinMaxU16() [3/4]

MR.Const_SimpleVolumeMinMaxU16.Const_SimpleVolumeMinMaxU16 ( Const_SimpleVolumeMinMaxU16 _other)
inline

◆ Const_SimpleVolumeMinMaxU16() [4/4]

MR.Const_SimpleVolumeMinMaxU16.Const_SimpleVolumeMinMaxU16 ( SimpleVolumeMinMaxU16 _other)
inline

Member Function Documentation

◆ center()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.center ( )
inline

computes center of the box Generated from method MR.SimpleVolumeMinMaxU16.center.

◆ corner()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.corner ( bool c)
inline

returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR.SimpleVolumeMinMaxU16.corner.

◆ diagonal()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.diagonal ( )
inline

computes length from min to max Generated from method MR.SimpleVolumeMinMaxU16.diagonal.

◆ Dispose() [1/2]

virtual void MR.Const_SimpleVolumeMinMaxU16.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ Equals() [1/2]

bool MR.Const_SimpleVolumeMinMaxU16.Equals ( MR.Const_Box_UnsignedShort? a)
inline

◆ Equals() [2/2]

override bool MR.Const_SimpleVolumeMinMaxU16.Equals ( object? other)
inline

◆ expanded()

unsafe MR.Box_UnsignedShort MR.Const_SimpleVolumeMinMaxU16.expanded ( ushort expansion)
inline

decreases min and increased max on given value Generated from method MR.SimpleVolumeMinMaxU16.expanded.

◆ fromMinAndSize()

unsafe MR.Box_UnsignedShort MR.Const_SimpleVolumeMinMaxU16.fromMinAndSize ( ushort min,
ushort size )
inlinestatic

◆ getBoxClosestPointTo()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.getBoxClosestPointTo ( ushort pt)
inline

returns closest point in the box to given point Generated from method MR.SimpleVolumeMinMaxU16.getBoxClosestPointTo.

◆ getMaxBoxCorner()

unsafe bool MR.Const_SimpleVolumeMinMaxU16.getMaxBoxCorner ( ushort n)
inlinestatic

considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR.SimpleVolumeMinMaxU16.getMaxBoxCorner.

◆ getMinBoxCorner()

unsafe bool MR.Const_SimpleVolumeMinMaxU16.getMinBoxCorner ( ushort n)
inlinestatic

considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR.SimpleVolumeMinMaxU16.getMinBoxCorner.

◆ getProjection()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.getProjection ( ushort pt)
inline

returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR.SimpleVolumeMinMaxU16.getProjection.

◆ heapBytes()

unsafe ulong MR.Const_SimpleVolumeMinMaxU16.heapBytes ( )
inline

Generated from method MR.SimpleVolumeMinMaxU16.heapBytes.

◆ insignificantlyExpanded()

unsafe MR.Box_UnsignedShort MR.Const_SimpleVolumeMinMaxU16.insignificantlyExpanded ( )
inline

decreases min and increases max to their closest representable value Generated from method MR.SimpleVolumeMinMaxU16.insignificantlyExpanded.

◆ intersection()

unsafe MR.Box_UnsignedShort MR.Const_SimpleVolumeMinMaxU16.intersection ( MR.Const_Box_UnsignedShort b)
inline

computes intersection between this and other box Generated from method MR.SimpleVolumeMinMaxU16.intersection.

◆ intersects()

unsafe bool MR.Const_SimpleVolumeMinMaxU16.intersects ( MR.Const_Box_UnsignedShort b)
inline

checks whether this box intersects or touches given box Generated from method MR.SimpleVolumeMinMaxU16.intersects.

◆ operator MR.Const_Box_UnsignedShort()

unsafe implicit MR.Const_SimpleVolumeMinMaxU16.operator MR.Const_Box_UnsignedShort ( Const_SimpleVolumeMinMaxU16 self)
inlinestatic

◆ operator MR.Const_SimpleVolumeU16()

unsafe implicit MR.Const_SimpleVolumeMinMaxU16.operator MR.Const_SimpleVolumeU16 ( Const_SimpleVolumeMinMaxU16 self)
inlinestatic

◆ operator!=()

unsafe bool MR.Const_SimpleVolumeMinMaxU16.operator!= ( MR.Const_SimpleVolumeMinMaxU16 _this,
MR.Const_Box_UnsignedShort a )
inlinestatic

◆ operator==()

unsafe bool MR.Const_SimpleVolumeMinMaxU16.operator== ( MR.Const_SimpleVolumeMinMaxU16 _this,
MR.Const_Box_UnsignedShort a )
inlinestatic

Generated from method MR::SimpleVolumeMinMaxU16::operator==.

◆ size()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.size ( )
inline

computes size of the box in all dimensions Generated from method MR.SimpleVolumeMinMaxU16.size.

◆ valid()

unsafe bool MR.Const_SimpleVolumeMinMaxU16.valid ( )
inline

true if the box contains at least one point Generated from method MR.SimpleVolumeMinMaxU16.valid.

◆ volume()

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.volume ( )
inline

computes the volume of this box Generated from method MR.SimpleVolumeMinMaxU16.volume.

Member Data Documentation

◆ __ref_storage_dims

unsafe MR.Vector3i* MR.Const_SimpleVolumeMinMaxU16.__ref_storage_dims
protected

◆ __ref_storage_Elements

unsafe int* MR.Const_SimpleVolumeMinMaxU16.__ref_storage_Elements
staticprotected

◆ __ref_storage_max

unsafe ushort* MR.Const_SimpleVolumeMinMaxU16.__ref_storage_max
protected

◆ __ref_storage_min

unsafe ushort* MR.Const_SimpleVolumeMinMaxU16.__ref_storage_min
protected

◆ __ref_storage_voxelSize

unsafe MR.Vector3f* MR.Const_SimpleVolumeMinMaxU16.__ref_storage_voxelSize
protected

Property Documentation

◆ data

unsafe MR.Const_Vector_UnsignedShort_MRVoxelId MR.Const_SimpleVolumeMinMaxU16.data
getprotected set

◆ dims

unsafe ref readonly MR.Vector3i MR.Const_SimpleVolumeMinMaxU16.dims
get

◆ Elements

unsafe int MR.Const_SimpleVolumeMinMaxU16.Elements
staticget

◆ max

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.max
get

◆ min

unsafe ushort MR.Const_SimpleVolumeMinMaxU16.min
get

◆ voxelSize

unsafe ref readonly MR.Vector3f MR.Const_SimpleVolumeMinMaxU16.voxelSize
get

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