[Solved] Is QwtRasterData the right Qt device for displaying the data received from get_googlemap?


QwtRasterData is an abstract class that defines an interface to gridded data for display in the Qwt framework.

There exists a subclass, QwtMatrixRasterData that lets you create raster objects with actual values in them from a QVector of doubles using the setValueMatrix method.

You could write another subclass QwtRdaRasterData that defines the methods of the parent class to read data from a .rda object containing a saved object. It would have to know about the way that the object is saved, and read in the .rda file and store it in C++ objects.

You didn’t think that just because the docs said “any type of raster data” that it meant “every type of raster data” did you?

7

solved Is QwtRasterData the right Qt device for displaying the data received from get_googlemap?