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

Simple class for calculating histogram Generated from class MR.Histogram. This is the non-const half of the class. More...

Inheritance diagram for MR.Histogram:

Public Member Functions

unsafe Histogram ()
 Constructs an empty (default-constructed) instance.
unsafe Histogram (MR._ByValue_Histogram _other)
 Generated from constructor MR.Histogram.Histogram.
 Histogram (Const_Histogram _other)
 Generated from constructor MR.Histogram.Histogram.
 Histogram (Histogram _other)
 Generated from constructor MR.Histogram.Histogram.
unsafe Histogram (float min, float max, ulong size)
 Initialize histogram with minimum and maximum values, and number of bins Generated from constructor MR.Histogram.Histogram.
unsafe MR.Histogram assign (MR._ByValue_Histogram _other)
 Generated from method MR::Histogram::operator=.
unsafe void addSample (float sample, ulong? count=null)
 Adds sample to corresponding bin Generated from method MR.Histogram.addSample. Parameter count defaults to 1.
unsafe void addHistogram (MR.Const_Histogram hist)
 Adds bins of input hist to this Generated from method MR.Histogram.addHistogram.
Public Member Functions inherited from MR.Const_Histogram
virtual void Dispose ()
unsafe Const_Histogram ()
 Constructs an empty (default-constructed) instance.
unsafe Const_Histogram (MR._ByValue_Histogram _other)
 Generated from constructor MR.Histogram.Histogram.
 Const_Histogram (Const_Histogram _other)
 Generated from constructor MR.Histogram.Histogram.
 Const_Histogram (Histogram _other)
 Generated from constructor MR.Histogram.Histogram.
unsafe Const_Histogram (float min, float max, ulong size)
 Initialize histogram with minimum and maximum values, and number of bins Generated from constructor MR.Histogram.Histogram.
unsafe MR.Std.Const_Vector_MRUint64T getBins ()
 Gets bins Generated from method MR.Histogram.getBins.
unsafe float getMin ()
 Gets minimum value of histogram Generated from method MR.Histogram.getMin.
unsafe float getMax ()
 Gets maximum value of histogram Generated from method MR.Histogram.getMax.
unsafe ulong getBinId (float sample)
 Gets id of bin that inherits sample Generated from method MR.Histogram.getBinId.
unsafe MR.Std.Pair_Float_Float getBinMinMax (ulong binId)
 Gets minimum and maximum of diapason inherited by bin Generated from method MR.Histogram.getBinMinMax.
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.Histogram.heapBytes.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_Histogram
virtual unsafe void Dispose (bool disposing)

Detailed Description

Simple class for calculating histogram Generated from class MR.Histogram. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Histogram() [1/5]

unsafe MR.Histogram.Histogram ( )
inline

Constructs an empty (default-constructed) instance.

◆ Histogram() [2/5]

unsafe MR.Histogram.Histogram ( MR._ByValue_Histogram _other)
inline

Generated from constructor MR.Histogram.Histogram.

◆ Histogram() [3/5]

MR.Histogram.Histogram ( Const_Histogram _other)
inline

Generated from constructor MR.Histogram.Histogram.

◆ Histogram() [4/5]

MR.Histogram.Histogram ( Histogram _other)
inline

Generated from constructor MR.Histogram.Histogram.

◆ Histogram() [5/5]

unsafe MR.Histogram.Histogram ( float min,
float max,
ulong size )
inline

Initialize histogram with minimum and maximum values, and number of bins Generated from constructor MR.Histogram.Histogram.

Member Function Documentation

◆ addHistogram()

unsafe void MR.Histogram.addHistogram ( MR.Const_Histogram hist)
inline

Adds bins of input hist to this Generated from method MR.Histogram.addHistogram.

◆ addSample()

unsafe void MR.Histogram.addSample ( float sample,
ulong? count = null )
inline

Adds sample to corresponding bin Generated from method MR.Histogram.addSample. Parameter count defaults to 1.

◆ assign()

unsafe MR.Histogram MR.Histogram.assign ( MR._ByValue_Histogram _other)
inline

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


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