19 #include <qwt_scale_engine.h>
24 QFrame* canvas = qobject_cast<QFrame*>(
m_Plot->canvas());
27 canvas->setLineWidth(0);
28 canvas->setContentsMargins(0,0,0,0);
31 auto scale =
new QwtLinearScaleEngine();
32 m_Plot->setAxisScaleEngine(0, scale);
34 m_Plot->setAxisScale ( 0, -0.5, 0.5 );
45 std::vector<double> xVals;
46 std::vector<double> yVals;
47 float max = itk::NumericTraits<float>::NonpositiveMin();
52 yVals.push_back(odf[i]);
60 m_Plot->setAxisScale ( 0, 0, max );
62 m_Plot->setAxisScale ( 0, min, max );
66 this->
SetCurvePen( curveId, QPen(Qt::blue, 0.5, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin) );
Represents an ODF for Q-Ball imaging.