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.SimpleVolumeMinMax. Base classes: Direct: (non-virtual) MR.SimpleVolume MR.Box1f This is the non-const half of the class. More...

Inheritance diagram for MR.SimpleVolumeMinMax:

Public Member Functions

unsafe SimpleVolumeMinMax ()
 Constructs an empty (default-constructed) instance.
unsafe SimpleVolumeMinMax (MR._ByValue_SimpleVolumeMinMax _other)
 Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.
 SimpleVolumeMinMax (Const_SimpleVolumeMinMax _other)
 Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.
 SimpleVolumeMinMax (SimpleVolumeMinMax _other)
 Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.
unsafe MR.SimpleVolumeMinMax assign (MR._ByValue_SimpleVolumeMinMax _other)
 Generated from method MR::SimpleVolumeMinMax::operator=.
unsafe ref MR.Box1f intersect (in MR.Box1f b)
 Generated from method MR.SimpleVolumeMinMax.intersect.
Public Member Functions inherited from MR.Const_SimpleVolumeMinMax
virtual void Dispose ()
unsafe Const_SimpleVolumeMinMax ()
 Constructs an empty (default-constructed) instance.
unsafe Const_SimpleVolumeMinMax (MR._ByValue_SimpleVolumeMinMax _other)
 Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.
 Const_SimpleVolumeMinMax (Const_SimpleVolumeMinMax _other)
 Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.
 Const_SimpleVolumeMinMax (SimpleVolumeMinMax _other)
 Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.
unsafe ulong heapBytes ()
 Generated from method MR.SimpleVolumeMinMax.heapBytes.
unsafe bool valid ()
 true if the box contains at least one point Generated from method MR.SimpleVolumeMinMax.valid.
unsafe float center ()
 computes center of the box Generated from method MR.SimpleVolumeMinMax.center.
unsafe float 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.SimpleVolumeMinMax.corner.
unsafe float size ()
 computes size of the box in all dimensions Generated from method MR.SimpleVolumeMinMax.size.
unsafe float diagonal ()
 computes length from min to max Generated from method MR.SimpleVolumeMinMax.diagonal.
unsafe float volume ()
 computes the volume of this box Generated from method MR.SimpleVolumeMinMax.volume.
unsafe float getBoxClosestPointTo (float pt)
 returns closest point in the box to given point Generated from method MR.SimpleVolumeMinMax.getBoxClosestPointTo.
unsafe bool intersects (in MR.Box1f b)
 checks whether this box intersects or touches given box Generated from method MR.SimpleVolumeMinMax.intersects.
unsafe MR.Box1f intersection (in MR.Box1f b)
 computes intersection between this and other box Generated from method MR.SimpleVolumeMinMax.intersection.
unsafe float getProjection (float 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.SimpleVolumeMinMax.getProjection.
unsafe MR.Box1f expanded (float expansion)
 decreases min and increased max on given value Generated from method MR.SimpleVolumeMinMax.expanded.
unsafe MR.Box1f insignificantlyExpanded ()
 decreases min and increases max to their closest representable value Generated from method MR.SimpleVolumeMinMax.insignificantlyExpanded.
bool Equals (MR.Box1f a)
override bool Equals (object? other)

Static Public Member Functions

static unsafe implicit operator MR.SimpleVolume (SimpleVolumeMinMax self)
static unsafe implicit operator MR.Box_Box1f (SimpleVolumeMinMax self)
Static Public Member Functions inherited from MR.Const_SimpleVolumeMinMax
static unsafe implicit operator MR.Const_SimpleVolume (Const_SimpleVolumeMinMax self)
static unsafe implicit operator MR.ConstBox_Box1f (Const_SimpleVolumeMinMax self)
static unsafe MR.Box1f fromMinAndSize (float min, float size)
 Generated from method MR.SimpleVolumeMinMax.fromMinAndSize.
static unsafe bool getMinBoxCorner (float 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.SimpleVolumeMinMax.getMinBoxCorner.
static unsafe bool getMaxBoxCorner (float 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.SimpleVolumeMinMax.getMaxBoxCorner.
static unsafe bool operator== (MR.Const_SimpleVolumeMinMax _this, in MR.Box1f a)
 Generated from method MR::SimpleVolumeMinMax::operator==.
static unsafe bool operator!= (MR.Const_SimpleVolumeMinMax _this, in MR.Box1f a)

Properties

new unsafe MR.Vector_Float_MRVoxelId data [get, protected set]
new unsafe ref MR.Vector3i dims [get]
new unsafe ref MR.Vector3f voxelSize [get]
new unsafe ref float min [get]
new unsafe ref float max [get]
Properties inherited from MR.Const_SimpleVolumeMinMax
unsafe MR.Const_Vector_Float_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 float min [get]
unsafe float max [get]

Additional Inherited Members

Protected Member Functions inherited from MR.Const_SimpleVolumeMinMax
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_SimpleVolumeMinMax
unsafe MR.Vector3i__ref_storage_dims
unsafe MR.Vector3f__ref_storage_voxelSize
unsafe float * __ref_storage_min
unsafe float * __ref_storage_max
Static Protected Attributes inherited from MR.Const_SimpleVolumeMinMax
static unsafe int * __ref_storage_Elements

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.SimpleVolumeMinMax. Base classes: Direct: (non-virtual) MR.SimpleVolume MR.Box1f This is the non-const half of the class.

Constructor & Destructor Documentation

◆ SimpleVolumeMinMax() [1/4]

unsafe MR.SimpleVolumeMinMax.SimpleVolumeMinMax ( )
inline

Constructs an empty (default-constructed) instance.

◆ SimpleVolumeMinMax() [2/4]

unsafe MR.SimpleVolumeMinMax.SimpleVolumeMinMax ( MR._ByValue_SimpleVolumeMinMax _other)
inline

Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.

◆ SimpleVolumeMinMax() [3/4]

MR.SimpleVolumeMinMax.SimpleVolumeMinMax ( Const_SimpleVolumeMinMax _other)
inline

Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.

◆ SimpleVolumeMinMax() [4/4]

MR.SimpleVolumeMinMax.SimpleVolumeMinMax ( SimpleVolumeMinMax _other)
inline

Generated from constructor MR.SimpleVolumeMinMax.SimpleVolumeMinMax.

Member Function Documentation

◆ assign()

unsafe MR.SimpleVolumeMinMax MR.SimpleVolumeMinMax.assign ( MR._ByValue_SimpleVolumeMinMax _other)
inline

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

◆ intersect()

unsafe ref MR.Box1f MR.SimpleVolumeMinMax.intersect ( in MR.Box1f b)
inline

Generated from method MR.SimpleVolumeMinMax.intersect.

◆ operator MR.Box_Box1f()

unsafe implicit MR.SimpleVolumeMinMax.operator MR.Box_Box1f ( SimpleVolumeMinMax self)
inlinestatic

◆ operator MR.SimpleVolume()

unsafe implicit MR.SimpleVolumeMinMax.operator MR.SimpleVolume ( SimpleVolumeMinMax self)
inlinestatic

Property Documentation

◆ data

new unsafe MR.Vector_Float_MRVoxelId MR.SimpleVolumeMinMax.data
getprotected set

◆ dims

new unsafe ref MR.Vector3i MR.SimpleVolumeMinMax.dims
get

◆ max

new unsafe ref float MR.SimpleVolumeMinMax.max
get

◆ min

new unsafe ref float MR.SimpleVolumeMinMax.min
get

◆ voxelSize

new unsafe ref MR.Vector3f MR.SimpleVolumeMinMax.voxelSize
get

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