TBTK
TBTK::Plot::Path Class Reference
Inheritance diagram for TBTK::Plot::Path:
TBTK::Plot::Drawable

Public Member Functions

 Path ()
 
 Path (const std::vector< Coordinate > &coordinates, Decoration &decoration)
 
virtual ~Path ()
 
void add (const Coordinate &coordinate)
 
void setDecoration (const Decoration &decoration)
 
virtual void draw (PlotCanvas &canvas)
 
virtual double getMinX () const
 
virtual double getMaxX () const
 
virtual double getMinY () const
 
virtual double getMaxY () const
 
- Public Member Functions inherited from TBTK::Plot::Drawable
 Drawable ()
 
virtual ~Drawable ()
 

Constructor & Destructor Documentation

◆ Path() [1/2]

TBTK::Plot::Path::Path ( )
inline

Constructor.

◆ Path() [2/2]

TBTK::Plot::Path::Path ( const std::vector< Coordinate > &  coordinates,
Decoration decoration 
)
inline

Constructor.

◆ ~Path()

TBTK::Plot::Path::~Path ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ add()

void TBTK::Plot::Path::add ( const Coordinate coordinate)
inline

Add coordinate.

◆ draw()

virtual void TBTK::Plot::Path::draw ( PlotCanvas canvas)
virtual

Draw.

Implements TBTK::Plot::Drawable.

◆ getMaxX()

double TBTK::Plot::Path::getMaxX ( ) const
inlinevirtual

Implements Drawable::getMaxX().

Implements TBTK::Plot::Drawable.

◆ getMaxY()

double TBTK::Plot::Path::getMaxY ( ) const
inlinevirtual

Implements Drawable::getMaxY().

Implements TBTK::Plot::Drawable.

◆ getMinX()

double TBTK::Plot::Path::getMinX ( ) const
inlinevirtual

Implements Drawable::getMinX().

Implements TBTK::Plot::Drawable.

◆ getMinY()

double TBTK::Plot::Path::getMinY ( ) const
inlinevirtual

Implements Drawable::getMinY().

Implements TBTK::Plot::Drawable.

◆ setDecoration()

void TBTK::Plot::Path::setDecoration ( const Decoration decoration)
inline

Set decoration.


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