42 std::vector<size_t> bins_;
#define MRMESH_API
Definition MRMeshFwd.h:80
size_t heapBytes(const BitSet &bs)
returns the amount of memory given BitSet occupies on heap
Definition MRBitSet.h:364
size_t getBinId(float sample) const
Gets id of bin that inherits sample.
ImVec2 size(const ViewportRectangle &rect)
Definition MRViewport.h:32
float getMin() const
Gets minimum value of histogram.
size_t heapBytes() const
returns the amount of memory this object occupies on heap
Definition MRHistogram.h:39
void addHistogram(const Histogram &hist)
Adds bins of input hist to this.
const std::vector< size_t > & getBins() const
Gets bins.
void addSample(float sample, size_t count=1)
Adds sample to corresponding bin.
Histogram(float min, float max, size_t size)
Initialize histogram with minimum and maximum values, and number of bins.
std::pair< float, float > getBinMinMax(size_t binId) const
Gets minimum and maximum of diapason inherited by bin.
float getMax() const
Gets maximum value of histogram.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8