Logo Search packages:      
Sourcecode: pfstools version File versions  Download package

Histogram::Histogram ( int  xPos,
int  yPos,
int  width,
int  height 
)

Parameters:
xPos starting x position of histogram
yPos starting y position of histogram
width width of histogram (in points/pixels), the number of bins is equal to this value
height height of histogram (in points/pixels)

Definition at line 49 of file histogram.cpp.

                                                               : RMGLWin() {

      this->xPos = xPos;
      this->yPos = yPos;
      this->width = width - SIDE_BAR*2;
      this->height = height - BOTTOM_BAR;
      
      // background color
      backgroundColor = new float[3];
      for(int i=0; i<3; i++)
            backgroundColor[i] = 1.0f;    
      
      frequencyMax = -1;
      sliderPosMin = 0;
      sliderPosMax = 0;
      
      this->lumMin = MIN_LUM;
      this->lumMax = MAX_LUM;
      logLumMin = log10(lumMin);
      logLumMax = log10(lumMax);    
      
      selectionState = NONE;
}


Generated by  Doxygen 1.6.0   Back to index