Kinetic Visualization
 All Classes Functions Variables Pages
TPoint.h
1 #pragma once
2 
3 #include <QPointF>
4 #include <QPoint>
5 #include <QColor>
6 
16 class TPoint : public QPointF
17 {
18 
19 public:
23  TPoint();
27  TPoint(const QPoint & point);
31  TPoint(const TPoint & tpoint);
35  TPoint(float x, float y, const QColor& color);
36 
42  void setPointColor(const QColor &c) {t_color = c;}
43 
49  const QColor& pointColor() const { return t_color;}
50 
51 private:
56  QColor t_color;
57 };