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

Inheritance diagram for MR.Const_VdbVolume:

Classes

struct  _Underlying

Public Member Functions

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

Static Public Member Functions

static unsafe implicit operator MR.Const_VoxelsVolume_MRFloatGrid (Const_VdbVolume self)
static unsafe implicit operator MR.ConstBox_Box1f (Const_VdbVolume self)
static unsafe MR.Box1f fromMinAndSize (float min, float size)
 Generated from method MR.VdbVolume.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.VdbVolume.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.VdbVolume.getMaxBoxCorner.
static unsafe bool operator== (MR.Const_VdbVolume _this, in MR.Box1f a)
 Generated from method MR::VdbVolume::operator==.
static unsafe bool operator!= (MR.Const_VdbVolume _this, in MR.Box1f 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 float * __ref_storage_min
unsafe float * __ref_storage_max

Static Protected Attributes

static unsafe int * __ref_storage_Elements

Properties

unsafe MR.Const_FloatGrid 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]

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

Constructor & Destructor Documentation

◆ Const_VdbVolume() [1/4]

unsafe MR.Const_VdbVolume.Const_VdbVolume ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_VdbVolume() [2/4]

unsafe MR.Const_VdbVolume.Const_VdbVolume ( MR._ByValue_VdbVolume _other)
inline

Generated from constructor MR.VdbVolume.VdbVolume.

◆ Const_VdbVolume() [3/4]

MR.Const_VdbVolume.Const_VdbVolume ( Const_VdbVolume _other)
inline

Generated from constructor MR.VdbVolume.VdbVolume.

◆ Const_VdbVolume() [4/4]

MR.Const_VdbVolume.Const_VdbVolume ( VdbVolume _other)
inline

Generated from constructor MR.VdbVolume.VdbVolume.

Member Function Documentation

◆ center()

unsafe float MR.Const_VdbVolume.center ( )
inline

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

◆ corner()

unsafe float MR.Const_VdbVolume.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.VdbVolume.corner.

◆ diagonal()

unsafe float MR.Const_VdbVolume.diagonal ( )
inline

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

◆ Dispose() [1/2]

virtual void MR.Const_VdbVolume.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ Equals() [1/2]

bool MR.Const_VdbVolume.Equals ( MR.Box1f a)
inline

◆ Equals() [2/2]

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

◆ expanded()

unsafe MR.Box1f MR.Const_VdbVolume.expanded ( float expansion)
inline

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

◆ fromMinAndSize()

unsafe MR.Box1f MR.Const_VdbVolume.fromMinAndSize ( float min,
float size )
inlinestatic

Generated from method MR.VdbVolume.fromMinAndSize.

◆ getBoxClosestPointTo()

unsafe float MR.Const_VdbVolume.getBoxClosestPointTo ( float pt)
inline

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

◆ getMaxBoxCorner()

unsafe bool MR.Const_VdbVolume.getMaxBoxCorner ( float 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.VdbVolume.getMaxBoxCorner.

◆ getMinBoxCorner()

unsafe bool MR.Const_VdbVolume.getMinBoxCorner ( float 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.VdbVolume.getMinBoxCorner.

◆ getProjection()

unsafe float MR.Const_VdbVolume.getProjection ( float 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.VdbVolume.getProjection.

◆ heapBytes()

unsafe ulong MR.Const_VdbVolume.heapBytes ( )
inline

Generated from method MR.VdbVolume.heapBytes.

◆ insignificantlyExpanded()

unsafe MR.Box1f MR.Const_VdbVolume.insignificantlyExpanded ( )
inline

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

◆ intersection()

unsafe MR.Box1f MR.Const_VdbVolume.intersection ( in MR.Box1f b)
inline

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

◆ intersects()

unsafe bool MR.Const_VdbVolume.intersects ( in MR.Box1f b)
inline

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

◆ operator MR.Const_VoxelsVolume_MRFloatGrid()

unsafe implicit MR.Const_VdbVolume.operator MR.Const_VoxelsVolume_MRFloatGrid ( Const_VdbVolume self)
inlinestatic

◆ operator MR.ConstBox_Box1f()

unsafe implicit MR.Const_VdbVolume.operator MR.ConstBox_Box1f ( Const_VdbVolume self)
inlinestatic

◆ operator!=()

unsafe bool MR.Const_VdbVolume.operator!= ( MR.Const_VdbVolume _this,
in MR.Box1f a )
inlinestatic

◆ operator==()

unsafe bool MR.Const_VdbVolume.operator== ( MR.Const_VdbVolume _this,
in MR.Box1f a )
inlinestatic

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

◆ size()

unsafe float MR.Const_VdbVolume.size ( )
inline

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

◆ valid()

unsafe bool MR.Const_VdbVolume.valid ( )
inline

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

◆ volume()

unsafe float MR.Const_VdbVolume.volume ( )
inline

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

Member Data Documentation

◆ __ref_storage_dims

unsafe MR.Vector3i* MR.Const_VdbVolume.__ref_storage_dims
protected

◆ __ref_storage_Elements

unsafe int* MR.Const_VdbVolume.__ref_storage_Elements
staticprotected

◆ __ref_storage_max

unsafe float* MR.Const_VdbVolume.__ref_storage_max
protected

◆ __ref_storage_min

unsafe float* MR.Const_VdbVolume.__ref_storage_min
protected

◆ __ref_storage_voxelSize

unsafe MR.Vector3f* MR.Const_VdbVolume.__ref_storage_voxelSize
protected

Property Documentation

◆ data

unsafe MR.Const_FloatGrid MR.Const_VdbVolume.data
getprotected set

◆ dims

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

◆ Elements

unsafe int MR.Const_VdbVolume.Elements
staticget

◆ max

unsafe float MR.Const_VdbVolume.max
get

◆ min

unsafe float MR.Const_VdbVolume.min
get

◆ voxelSize

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

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