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 488B

123456789101112131415161718192021
  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. QColor getColor() const;
  12. void setColor(const QColor &color);
  13. private:
  14. QColor _color;
  15. };
  16. #endif // COLORVECTOR3D_H