Parallel Coordinate System with Time Series Data
Painter2D Class Reference

A 2D painter. More...

#include <Painter2D.h>

Inheritance diagram for Painter2D:

Public Member Functions

 Painter2D (Shader *shaders)
 Constructor. More...
 
 ~Painter2D ()
 Destructor. More...
 
void drawLine (QVector2D point1, QVector2D point2, QVector3D color, float thickness, float alpha)
 Draw line. More...
 
void drawLineStrip (std::vector< QVector2D > points, QVector3D color, float thickness, float alpha)
 Draw line strip. More...
 
void drawBezier (QVector2D point1, QVector2D point2, QVector2D controlpoint1, QVector2D controlpoint2, QVector3D color, float thickness, float alpha)
 Draw bezier. More...
 

Detailed Description

A 2D painter.

Author
Depner, Gamsjaeger
Date
05.06.2021

Constructor & Destructor Documentation

◆ Painter2D()

Painter2D::Painter2D ( Shader shaders)

Constructor.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
[in,out]shadersIf non-null, the shaders.

◆ ~Painter2D()

Painter2D::~Painter2D ( )

Destructor.

Author
Depner, Gamsjaeger
Date
05.06.2021

Member Function Documentation

◆ drawBezier()

void Painter2D::drawBezier ( QVector2D  point1,
QVector2D  point2,
QVector2D  controlpoint1,
QVector2D  controlpoint2,
QVector3D  color,
float  thickness,
float  alpha 
)

Draw bezier.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
point1The first point.
point2The second point.
controlpoint1The first controlpoint.
controlpoint2The second controlpoint.
colorThe color.
thicknessThe thickness.
alphaThe alpha.

◆ drawLine()

void Painter2D::drawLine ( QVector2D  point1,
QVector2D  point2,
QVector3D  color,
float  thickness,
float  alpha 
)

Draw line.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
point1The first point.
point2The second point.
colorThe color.
thicknessThe thickness.
alphaThe alpha.

◆ drawLineStrip()

void Painter2D::drawLineStrip ( std::vector< QVector2D >  points,
QVector3D  color,
float  thickness,
float  alpha 
)

Draw line strip.

Author
Depner, Gamsjaeger
Date
05.06.2021
Parameters
pointsThe points.
colorThe color.
thicknessThe thickness.
alphaThe alpha.

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