Using QwtPlotSpectroCurve::setSamples with large data
Hi Uwe,
I'm trying to use a QwtPlotSpectroCurve in a specific context. I have so many data then I cannot use QVector.
When the wanted allocated data exceed 2.xx GBytes QVector::resize method throw an exception. Looking to Qt interface, QVector::resize use int instead of size_t like std::vector.
So I cannot call the following method void QwtPlotSpectroCurve::setSamples(const QVector< QwtPoint3D > &).
Any chance to call a method like proposed by QwtPlotCurve:
void setSamples(const double *xData, const double *yData, const double *zData, int size)?
Thank by advance.
Re: Using QwtPlotSpectroCurve::setSamples with large data
You don't need to use QVector - this is what the abstract QwtSeriesData interface is about.
Uwe
Re: Using QwtPlotSpectroCurve::setSamples with large data
Ok thanks, I'll try with this guy.