GLC_PanMover : Panoramic interactive manipulation. More...
#include <glc_panmover.h>
Public Member Functions | |
| GLC_PanMover (GLC_Viewport *, const QList< GLC_RepMover * > &repsList=QList< GLC_RepMover * >()) | |
| Default constructor. | |
| GLC_PanMover (const GLC_PanMover &) | |
| Copy constructor. | |
| virtual | ~GLC_PanMover () |
| Destructor. | |
Get Functions | |
| virtual GLC_Mover * | clone () const |
| Return a clone of the mover. | |
Set Functions | |
| virtual void | init (const GLC_UserInput &userInput) |
| Initialized the mover. | |
| virtual bool | move (const GLC_UserInput &userInput) |
| Move the camera. | |
GLC_PanMover : Panoramic interactive manipulation.
Definition at line 36 of file glc_panmover.h.
| GLC_PanMover::GLC_PanMover | ( | GLC_Viewport * | pViewport, | |
| const QList< GLC_RepMover * > & | repsList = QList<GLC_RepMover*>() | |||
| ) |
| GLC_PanMover::GLC_PanMover | ( | const GLC_PanMover & | panMover | ) |
Copy constructor.
Definition at line 37 of file glc_panmover.cpp.
| GLC_PanMover::~GLC_PanMover | ( | ) | [virtual] |
Destructor.
Definition at line 44 of file glc_panmover.cpp.
| GLC_Mover * GLC_PanMover::clone | ( | ) | const [virtual] |
Return a clone of the mover.
Implements GLC_Mover.
Definition at line 54 of file glc_panmover.cpp.
References GLC_PanMover().
| void GLC_PanMover::init | ( | const GLC_UserInput & | userInput | ) | [virtual] |
Initialized the mover.
Implements GLC_Mover.
Definition at line 65 of file glc_panmover.cpp.
References GLC_Mover::m_PreviousVector, GLC_Mover::m_pViewport, GLC_Viewport::mapPosMouse(), GLC_UserInput::x(), and GLC_UserInput::y().
| bool GLC_PanMover::move | ( | const GLC_UserInput & | userInput | ) | [virtual] |
Move the camera.
Implements GLC_Mover.
Definition at line 71 of file glc_panmover.cpp.
References GLC_Viewport::cameraHandle(), GLC_Mover::m_PreviousVector, GLC_Mover::m_pViewport, GLC_Viewport::mapPosMouse(), GLC_Camera::pan(), GLC_UserInput::x(), and GLC_UserInput::y().