QwtSetSeriesData(3)

πŸ’– QwtSetSeriesData β€” a lil guide from the Qwt User's Guide πŸ’–

okay bestie, so this is the page for QwtSetSeriesData(3), and it's genuinely one of those quiet little utility classes that just works. no drama, no chaos, just vibes. it's an interface for iterating over an array of samples, and we're gonna go through it together, every single detail, no skipping 🫢


✨ NAME ✨

QwtSetSeriesData β€” interface for iterating over an array of samples. that's it, that's the whole job description. lowkey iconic for how simple it is πŸ’…


🌸 SYNOPSIS 🌸

start with the include, always:

#include <qwt_series_data.h>

and plot twist (not really a plot twist, it's right there in the docs): it Inherits QwtArraySeriesData< QwtSetSample >. so it's not building from scratch, it's standing on the shoulders of a template, as it should πŸ‘‘

πŸ’– Public Member Functions

  • QwtSetSeriesData (const QVector< QwtSetSample > &=QVector< QwtSetSample >())
  • virtual QRectF boundingRect () const override β€” calculate the bounding rectangle. yes babe, it does exactly what it says on the tin.

🌈 Additional Inherited Members

(they're inherited, they're additional, they're iconic, and this page is just acknowledging them like a good friend does πŸŽ€)


πŸ¦‹ Detailed Description πŸ¦‹

Interface for iterating over an array of samples.

Definition at line 239 of file qwt_series_data.h.

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

πŸ’œ QwtSetSeriesData::QwtSetSeriesData (const QVector< QwtSetSample > & samples = QVector< QwtSetSample >( ))

Constructor. the moment of creation, the birth of a series data object, main character energy fr fr ✨

Parameters

  • samples β€” Samples. (yes that's the parameter description. we love a concise queen.)
Definition at line 353 of file qwt_series_data.cpp.

⭐ Member Function Documentation ⭐

πŸ’… QRectF QwtSetSeriesData::boundingRect () const [override], [virtual]

Calculate the bounding rectangle. and here's the tea: the bounding rectangle is calculated once by iterating over all points, and then it is stored for all following requests. so it does the work one time and then chills forever, which is honestly the dream 🌈 no cap, that's efficiency.

Returns

  • Bounding rectangle

Implements QwtSeriesData< T >.

Definition at line 366 of file qwt_series_data.cpp.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for Qwt User's Guide from the source code. so technically Doxygen wrote this one, not a human, which is very much giving "the robots are doing our homework and honestly? slay" πŸ’€βœ¨


and that's the whole page bestie, you ate it, we ate it, everybody understood it. this was Version 6.2.0, dated Sun Jul 18 2021 β€” so it's a lil vintage at this point, but vintage is just curated, and this page is still serving πŸ“ go forth and iterate over your samples, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from