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.
 

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: