Back to index

salome-gui  6.5.0
Public Member Functions | Private Attributes
Plot2d_QwtPlotCurve::Plot2d_DeviationData Class Reference

List of all members.

Public Member Functions

 Plot2d_DeviationData (const double *min, const double *max, const QList< int > &idx)
 ~Plot2d_DeviationData ()
size_t size () const
bool values (size_t i, double &min, double &max)

Private Attributes

QMap< int, double > myMin
QMap< int, double > myMax

Detailed Description

Definition at line 184 of file Plot2d_PlotItems.cxx.


Constructor & Destructor Documentation

Plot2d_QwtPlotCurve::Plot2d_DeviationData::Plot2d_DeviationData ( const double *  min,
const double *  max,
const QList< int > &  idx 
) [inline]

Definition at line 186 of file Plot2d_PlotItems.cxx.

  { 
    foreach(int index,idx) {
      myMin[index] = min[index];
      myMax[index] = max[index];
    }
  }

Definition at line 193 of file Plot2d_PlotItems.cxx.

{}

Member Function Documentation

Definition at line 195 of file Plot2d_PlotItems.cxx.

  { 
    return qwtMin(myMin.size(), myMax.size()); 
  }
bool Plot2d_QwtPlotCurve::Plot2d_DeviationData::values ( size_t  i,
double &  min,
double &  max 
) [inline]

Definition at line 199 of file Plot2d_PlotItems.cxx.

                                                  {
    if(myMin.contains(i) && myMax.contains(i)) {
      min = myMin[i];
      max = myMax[i];
      return true;
    }
    return false;
  }

Member Data Documentation

Definition at line 209 of file Plot2d_PlotItems.cxx.

Definition at line 208 of file Plot2d_PlotItems.cxx.


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