/** ** ** @RDE_HEADER@ ** Definition of rubberband class to define moving transformation ** $Id$ ** $HeadURL$ ** $Author$ ** ** ----------------------------------------------------------------------------------------------- ** ** Hardware-Environment: Intel-PC ** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5 ** ** Language ........: C++ 11 ** ** ----------------------------------------------------------------------------------------------- ** ** Author ...........: Jörg Turla, SPD G, Tel. 3132 ** ** ----------------------------------------------------------------------------------------------- ** ** Notes .........: ** ** 07.04.2016, JT : First edition for use with Qt5 ** ** ----------------------------------------------------------------------------------------------- */ #pragma once #include "rubberband_transform.h" namespace SituationMap { namespace RB { class RubberbandPointHandle; /** @class RubberbandTransformRotate rubberband_transform_rotate.h @brief Implementation of a rubberband to rotate features @see Rubberband */ class SITUATIONMAP_EXPORT RubberbandTransformRotate : public RubberbandTransform { Q_OBJECT friend class RubberbandFactory; /** @name Construction & Destruction @} */ explicit RubberbandTransformRotate( SituationMap::Map * map, QObject * parent ); public: /** @} */ /** Returns sinus of rotation angle */ qreal rotationSin() const; /** Return cosinus of roation angle */ qreal rotationCos() const; /** Return rotation angle (math.) in radians */ qreal rotationAngle() const; }; /* RubberbandTransformRotate */ } } /* namespace SituationMap::RB */