scatter 0.1.0
scatter::PlotBase Class Referenceabstract

[brief description] More...

#include <PlotBase.hpp>

Inheritance diagram for scatter::PlotBase:
scatter::ArrowPlot scatter::BarPlot scatter::BoxPlot scatter::ColourGridPlot scatter::ContourPlot scatter::EllipsePlot scatter::FunctionPlot scatter::HistogramPlot scatter::LinePlot scatter::ScatterPlot

Public Member Functions

 PlotBase (const std::string &label)
 [brief description]
 
virtual ~PlotBase ()=default
 [brief description]
 
virtual void render (Renderer &renderer, const Transform &transform)=0
 [brief description]
 
virtual Legend::Entry getLegendEntry ()=0
 create LegendEntry
 
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

[brief description]

[long description]

Constructor & Destructor Documentation

◆ PlotBase()

scatter::PlotBase::PlotBase ( const std::string & label)

[brief description]

[long description]

◆ ~PlotBase()

virtual scatter::PlotBase::~PlotBase ( )
virtualdefault

[brief description]

[long description]

Member Function Documentation

◆ getColour()

const Colour & scatter::PlotBase::getColour ( ) const

[brief description]

[long description]

◆ getLabel()

const std::string & scatter::PlotBase::getLabel ( ) const

[brief description]

[long description]

◆ getLegendEntry()

virtual Legend::Entry scatter::PlotBase::getLegendEntry ( )
pure virtual

◆ getYmax()

virtual double scatter::PlotBase::getYmax ( )
virtual

[brief description]

[long description]

Returns
[description]

Reimplemented in scatter::BarPlot.

◆ render()

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

[brief description]

[long description]

Parameters
renderer[description]
transform[description]

Implemented in scatter::ArrowPlot, scatter::BarPlot, scatter::BoxPlot, scatter::ColourGridPlot, scatter::ContourPlot, scatter::EllipsePlot, scatter::FunctionPlot, scatter::HistogramPlot, scatter::LinePlot, and scatter::ScatterPlot.

◆ setColour()

void scatter::PlotBase::setColour ( const Colour & colour)

[brief description]

[long description]

◆ setLabel()

void scatter::PlotBase::setLabel ( const std::string & label)

[brief description]

[long description]


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