52 #ifndef VISOPERATION_H
53 #define VISOPERATION_H
57 #include "../visline.h"
58 #include "../vpatterndb/vcontainer.h"
71 virtual int type() const Q_DECL_OVERRIDE {
return Type;}
85 int addFlippedCurve(
const QPointF &firstPoint,
const QPointF &secondPoint, quint32
id,
int i);
107 const Item flipped = curve->Flip(QLineF(firstPoint, secondPoint));
The VContainer class container of all variables.
void setObjects(QVector< quint32 > objects)
virtual void VisualMode(const quint32 &pointId=NULL_ID) Q_DECL_OVERRIDE
QVector< VScaledEllipse * > points
void refreshMirroredObjects(const QPointF &firstPoint, const QPointF &secondPoint)
VCurvePathItem * GetCurve(quint32 i, const QColor &color)
virtual int type() const Q_DECL_OVERRIDE
VisOperation(const VContainer *data, QGraphicsItem *parent=nullptr)
VScaledEllipse * GetPoint(quint32 i, const QColor &color)
QVector< quint32 > objects
QVector< VCurvePathItem * > curves
int addFlippedCurve(const QPointF &firstPoint, const QPointF &secondPoint, quint32 id, int i)
void DrawPath(VCurvePathItem *pathItem, const QPainterPath &path, const QColor &color, Qt::PenStyle style=Qt::SolidLine, const qreal &weight=0.35, Qt::PenCapStyle cap=Qt::SquareCap)