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

123456789101112131415161718192021222324
  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();
  9. ColorVector3D(const QColor& color);
  10. ColorVector3D(const QColor& color, double x, double y, double z);
  11. ColorVector3D(const QColor& color, const Vector3D& other);
  12. ColorVector3D(const ColorVector3D& other);
  13. virtual ~ColorVector3D();
  14. QColor getColor() const;
  15. void setColor(const QColor &color);
  16. private:
  17. QColor _color;
  18. };
  19. #endif // COLORVECTOR3D_H