41 std::vector<QVector2D> points;
52 bool showInfo =
false;
71 PCLine(QVector3D color,
float thickness = 1.0,
float alpha = 1.0);
81 PCLine(std::vector<QVector2D> points, QVector3D color,
float thickness = 1.0,
float alpha = 1.0);
111 void draw(
Painter2D* painter2D, QPainter* qPainter,
int indexStep, std::vector<PCAxis*> notDrawn);
A PC Line representing a Line on the PCSystem. It is a Line over all attributes, so geometrically spe...
Definition: PCLine.h:21
void clearPoints()
Clears the points.
Definition: PCLine.cpp:70
void addPoint(QVector2D p)
Adds a point.
Definition: PCLine.cpp:86
void draw(Painter2D *painter2D, QPainter *qPainter, int indexStep, std::vector< PCAxis * > notDrawn)
Draws.
Definition: PCLine.cpp:162
PCLine(QVector3D color, float thickness=1.0, float alpha=1.0)
Constructor.
Definition: PCLine.cpp:17
std::string name
Definition: PCLine.h:62
bool highlight(QVector2D pos)
Highlights the given position.
Definition: PCLine.cpp:104
~PCLine()
Destructor.
Definition: PCLine.cpp:59
A 2D painter.
Definition: Painter2D.h:15