53 using namespace DISPLIB;
54 using namespace Eigen;
102 if(p_dVec.size() > 0)
107 QVector<QPointF> t_qVecPointFPaths;
116 for(qint32 i = 0; i < p_dVec.size(); ++i)
118 t_qVecPointFPaths.append(QPointF(t_dX, p_dVec[i]));
134 QPainter painter(
this);
145 QPainter painter(
this);
146 painter.fillRect(t_qPointTopLeft.x(), t_qPointTopLeft.y(), t_qSizePlot.width(), t_qSizePlot.height(), Qt::white);
149 painter.drawRect(t_qPointTopLeft.x()-1, t_qPointTopLeft.y()-1, t_qSizePlot.width()+1, t_qSizePlot.height()+1);
155 pen.setBrush(Qt::blue);
161 double scale_y = (t_qSizePlot.height()-(t_qSizePlot.height()*0.1))/(
m_dMaxY -
m_dMinY);
164 QVector<QPointF> t_qVecPointFPath;
165 QVector<QPointF>::ConstIterator it;
167 t_qVecPointFPath.append(QPointF(it->x()*scale_x, it->y()*scale_y));
170 for(it = t_qVecPointFPath.begin()+1; it != t_qVecPointFPath.end(); ++it)
171 painter.drawLine(*(it-1), *it);