scatter 0.1.0
scatter::ScatterPlot Class Reference

#include <scatter/ScatterPlot.hpp>

Inheritance diagram for scatter::ScatterPlot:
scatter::PlotBase

Classes

class  Options
 [brief description] More...
 

Public Types

using Ptr = std::unique_ptr<ScatterPlot>
 typedef
 

Public Member Functions

 ScatterPlot (const std::string &label, const std::vector< Point > &points, const Options &options)
 [brief description]
 
virtual ~ScatterPlot ()
 destructor
 
Legend::Entry getLegendEntry ()
 create LegendEntry
 
void render (Renderer &renderer, const Transform &transform)
 [brief description]
 
Optionsoptions ()
 [brief description]
 
- Public Member Functions inherited from scatter::PlotBase
 PlotBase (const std::string &label)
 [brief description]
 
virtual ~PlotBase ()=default
 [brief description]
 
void setLabel (const std::string &label)
 [brief description]
 
void setColour (const Colour &colour)
 [brief description]
 
const std::string & getLabel () const
 [brief description]
 
const ColourgetColour () const
 [brief description]
 
virtual double getYmax ()
 [brief description]
 

Detailed Description

[long description]

Constructor & Destructor Documentation

◆ ScatterPlot()

scatter::ScatterPlot::ScatterPlot ( const std::string & label,
const std::vector< Point > & points,
const Options & options )

[brief description]

[long description]

Parameters
pointslist of Point
optionsOptions

Member Function Documentation

◆ getLegendEntry()

Legend::Entry scatter::ScatterPlot::getLegendEntry ( )
virtual

create LegendEntry

defines symbol, label, colour

Returns
LegendEntry

Implements scatter::PlotBase.

◆ options()

Options * scatter::ScatterPlot::options ( )

[brief description]

[long description]

Returns
[description]

◆ render()

void scatter::ScatterPlot::render ( Renderer & renderer,
const Transform & transform )
virtual

[brief description]

[long description]

Parameters
renderer[description]
transform[description]

Implements scatter::PlotBase.


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