glc_zoommover.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef GLC_ZOOMMOVER_H_
00024 #define GLC_ZOOMMOVER_H_
00025
00026 #include "glc_mover.h"
00027
00028 #include "../glc_config.h"
00029
00032
00033
00034 class GLC_LIB_EXPORT GLC_ZoomMover : public GLC_Mover
00035 {
00036 public:
00038 GLC_ZoomMover(GLC_Viewport*, const QList<GLC_RepMover*>& repsList= QList<GLC_RepMover*>());
00039
00041 GLC_ZoomMover(const GLC_ZoomMover&);
00042
00044 virtual ~GLC_ZoomMover();
00045
00046
00048
00050
00051 public:
00053 inline double maxZoomFactor() const
00054 {return m_MaxZoomFactor;}
00055
00057 virtual GLC_Mover* clone() const;
00058
00060
00062
00064
00065 public:
00067 virtual void init(const GLC_UserInput& userInput);
00068
00070 virtual bool move(const GLC_UserInput& userInput);
00071
00073 inline void setMaxZoomFactor(const double factor)
00074 {m_MaxZoomFactor= factor;}
00075
00077
00078
00080 private:
00082 double m_MaxZoomFactor;
00083
00084 };
00085
00086 #endif