Inviwo  0.9.10.1
Inviwo documentation
inviwo::NormalizedHistogram Class Reference

#include <histogram.h>

Classes

struct  Stats
 

Public Member Functions

 NormalizedHistogram (size_t)
 
 NormalizedHistogram (const NormalizedHistogram &rhs)
 
NormalizedHistogramoperator= (const NormalizedHistogram &that)
 
virtual NormalizedHistogramclone () const
 
std::vector< double > * getData ()
 
const std::vector< double > * getData () const
 
double & operator[] (size_t i)
 
const double & operator[] (size_t i) const
 
bool exists () const
 
void setValid (bool)
 
bool isValid () const
 
void resize (size_t)
 
void performNormalization ()
 
void calculatePercentiles ()
 
void calculateHistStats ()
 
double getMaximumBinValue () const
 

Public Attributes

Stats stats_
 
Stats histStats_
 
dvec2 dataRange_
 

Protected Attributes

std::vector< double > data_
 
double maximumBinCount_
 
bool valid_
 

Detailed Description

The NormalizedHistogram has a array of bins and all bins are normalized. It can be de-normalized using the maxiumBinValue_.


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