// // Cube3DOverlay.h // interface/src/ui/overlays // // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef hifi_Cube3DOverlay_h #define hifi_Cube3DOverlay_h #include "Volume3DOverlay.h" class Cube3DOverlay : public Volume3DOverlay { Q_OBJECT public: static QString const TYPE; virtual QString getType() const { return TYPE; } Cube3DOverlay() {} Cube3DOverlay(const Cube3DOverlay* cube3DOverlay); virtual void render(RenderArgs* args); virtual Cube3DOverlay* createClone() const; float getBorderSize() const { return _borderSize; } void setBorderSize(float value) { _borderSize = value; } virtual void setProperties(const QScriptValue& properties); virtual QScriptValue getProperty(const QString& property); private: float _borderSize; }; #endif // hifi_Cube3DOverlay_h