You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

colorvector3d.h 518B

12345678910111213141516171819202122
  1. #ifndef COLORVECTOR3D_H
  2. #define COLORVECTOR3D_H
  3. #include <QColor>
  4. #include "vector3d.h"
  5. class ColorVector3D : public Vector3D
  6. {
  7. public:
  8. ColorVector3D(QColor color = Qt::black, double x = 0.0, double y = 0.0, double z = 0.0);
  9. ColorVector3D(QColor color = Qt::black, const Vector3D& other = Vector3D());
  10. ColorVector3D(const ColorVector3D& other);
  11. virtual ~ColorVector3D();
  12. QColor getColor() const;
  13. void setColor(const QColor &color);
  14. private:
  15. QColor _color;
  16. };
  17. #endif // COLORVECTOR3D_H