GLC_SetTargetMover : Define the view target. More...
#include <glc_settargetmover.h>
Public Member Functions | |
| GLC_SetTargetMover (GLC_Viewport *, const QList< GLC_RepMover * > &repsList=QList< GLC_RepMover * >()) | |
| Default constructor. | |
| GLC_SetTargetMover (const GLC_SetTargetMover &) | |
| Copy constructor. | |
| virtual | ~GLC_SetTargetMover () |
| 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 &) |
| Move the camera. | |
GLC_SetTargetMover : Define the view target.
Definition at line 34 of file glc_settargetmover.h.
| GLC_SetTargetMover::GLC_SetTargetMover | ( | GLC_Viewport * | pViewport, | |
| const QList< GLC_RepMover * > & | repsList = QList<GLC_RepMover*>() | |||
| ) |
| GLC_SetTargetMover::GLC_SetTargetMover | ( | const GLC_SetTargetMover & | mover | ) |
Copy constructor.
Definition at line 36 of file glc_settargetmover.cpp.
| GLC_SetTargetMover::~GLC_SetTargetMover | ( | ) | [virtual] |
Destructor.
Definition at line 43 of file glc_settargetmover.cpp.
| GLC_Mover * GLC_SetTargetMover::clone | ( | ) | const [virtual] |
Return a clone of the mover.
Implements GLC_Mover.
Definition at line 53 of file glc_settargetmover.cpp.
References GLC_SetTargetMover().
| void GLC_SetTargetMover::init | ( | const GLC_UserInput & | userInput | ) | [virtual] |
Initialized the mover.
Implements GLC_Mover.
Definition at line 63 of file glc_settargetmover.cpp.
References GLC_Viewport::cameraHandle(), GLC_Mover::m_pViewport, GLC_Viewport::mapPosMouse(), GLC_Camera::pan(), GLC_Camera::setTargetCam(), GLC_Viewport::unProject(), GLC_Viewport::viewHSize(), GLC_Viewport::viewVSize(), GLC_UserInput::x(), and GLC_UserInput::y().
| virtual bool GLC_SetTargetMover::move | ( | const GLC_UserInput & | ) | [inline, virtual] |