1 #ifndef HISTOGRAMTODENSITY_H_
2 #define HISTOGRAMTODENSITY_H_
6 /*----------------------------------------------------------------------*\
8 \*---------------------------------------------------------------------*/
10 /*--------------------------------------*\
12 \*-------------------------------------*/
14 class CBI_GRAPH HistogramToDensity
: public Histogram
17 HistogramToDensity(Title title
, Apparance apparance
, shared_array
<float> tabvalues
, int nbValue
,Interval intervalX
, int nbrSep
, float maxDensityAnalytiqueY
);
18 virtual ~HistogramToDensity();
20 void setMaxDensityAnalytiqueY(float maxDensityAnalytiqueY
);
21 float getMaxDensityAnalytiqueY() const;
23 /*--------------------------------------*\
25 \*-------------------------------------*/
27 void setValue(shared_array
<float> tabvalues
, int nbValue
);
28 virtual Domaine
computeDomaine(const Domaine
& graphDomaine
) const;
31 float computeFactor();
32 void correctionDensity();
35 float maxDensityAnalytiqueY
;
41 /*----------------------------------------------------------------------*\
43 \*---------------------------------------------------------------------*/