te::map::AbstractChartRenderer Class Referenceabstract

This is the base class for chart renderers. More...

#include <AbstractChartRenderer.h>

Inheritance diagram for te::map::AbstractChartRenderer:
te::qt::widgets::ChartRenderer

Public Member Functions

 AbstractChartRenderer ()
 Constructor. More...
 
virtual te::color::RGBAColor ** render (const Chart *chart, const te::da::DataSet *dataset, std::size_t &width)=0
 It generates the image pattern from the given chart and the current element of dataset. More...
 
virtual te::color::RGBAColor ** render (const Chart *chart, const std::map< std::string, double > &chartValue, std::size_t &width)=0
 
virtual ~AbstractChartRenderer ()
 Virtual destructor. More...
 

Detailed Description

This is the base class for chart renderers.

Definition at line 51 of file AbstractChartRenderer.h.

Constructor & Destructor Documentation

te::map::AbstractChartRenderer::AbstractChartRenderer ( )
inline

Constructor.

Definition at line 56 of file AbstractChartRenderer.h.

virtual te::map::AbstractChartRenderer::~AbstractChartRenderer ( )
inlinevirtual

Virtual destructor.

Definition at line 59 of file AbstractChartRenderer.h.

Member Function Documentation

virtual te::color::RGBAColor** te::map::AbstractChartRenderer::render ( const Chart chart,
const te::da::DataSet dataset,
std::size_t &  width 
)
pure virtual

It generates the image pattern from the given chart and the current element of dataset.

Parameters
chartThe chart informations that will be used.
datasetThe dataset that will be used.
widthAn output parameter that will be filled with the width of generated image pattern.
Returns
The RGBA image that represents the chart.
Note
The caller will take the ownership of the returned pointer.

Implemented in te::qt::widgets::ChartRenderer.

virtual te::color::RGBAColor** te::map::AbstractChartRenderer::render ( const Chart chart,
const std::map< std::string, double > &  chartValue,
std::size_t &  width 
)
pure virtual

The documentation for this class was generated from the following file: