#include <Gui/Viewer/FlightCameraManipulator.hpp>
|
| void | setCameraPosition (const Core::Vector3 &position) override |
| |
| void | setCameraTarget (const Core::Vector3 &target) override |
| |
| void | fitScene (const Core::Aabb &aabb) override |
| |
| void | resetCamera () override |
| |
| void | mapCameraBehaviourToAabb (const Core::Aabb &aabb) |
| | Set the AABB to restrain the camera behavior against.
|
| |
| void | unmapCameraBehaviourToAabb () |
| | Free the camera from AABB restriction.
|
| |
|
virtual void | fitScene (const Core::Aabb &aabb)=0 |
| | Setup the Camera according to the AABB of the scene to render.
|
| |
|
virtual void | setCameraPosition (const Core::Vector3 &position)=0 |
| | Set the Camera position to position.
|
| |
|
virtual void | setCameraTarget (const Core::Vector3 &target)=0 |
| | Set the Camera target to target.
|
| |
|
virtual void | resetCamera ()=0 |
| | Reset the Camera settings to default values.
|
| |
| void | setCameraSensitivity (Scalar sensitivity) |
| |
| void | setCameraFov (Scalar fov) |
| |
| void | setCameraFovInDegrees (Scalar fov) |
| |
| void | setCameraZNear (Scalar zNear) |
| |
| void | setCameraZFar (Scalar zFar) |
| |
|
| | FlightCameraManipulator (const CameraManipulator &other) |
| | [Constructor]
|
| |
|
virtual | ~FlightCameraManipulator () |
| | [Constructor]
|
| |
| KeyMappingManager::Context | mappingContext () override |
| |
| bool | handleMousePressEvent (QMouseEvent *event, const Qt::MouseButtons &buttons, const Qt::KeyboardModifiers &modifiers, int key) override |
| |
| bool | handleMouseReleaseEvent (QMouseEvent *event) override |
| |
| bool | handleMouseMoveEvent (QMouseEvent *event, const Qt::MouseButtons &buttons, const Qt::KeyboardModifiers &modifiers, int key) override |
| |
| bool | handleWheelEvent (QWheelEvent *event, const Qt::MouseButtons &buttons, const Qt::KeyboardModifiers &modifiers, int key) override |
| |
| bool | handleKeyPressEvent (QKeyEvent *event, const KeyMappingManager::KeyMappingAction &action) override |
| |
| void | updateCamera () override |
| |
| | CameraManipulator () |
| | Initializes a manipulator for a given viewport size.
|
| |
| | CameraManipulator (const CameraManipulator &other) |
| |
| virtual | ~CameraManipulator () |
| |
| virtual bool | handleKeyReleaseEvent (QKeyEvent *event, const KeyMappingManager::KeyMappingAction &action) |
| |
| const Core::Asset::Camera * | getCamera () const |
| | Pointer access to the camera.
|
| |
| Core::Asset::Camera * | getCamera () |
| | Pointer access to the camera.
|
| |
| void | attachLight (Engine::Scene::Light *light) |
| |
| bool | hasLightAttached () const |
| |
| Engine::Scene::Light * | getLight () |
| | pointer acces to the attached light if it exists, returns nullptr otherwise.
|
| |
A Flight manipulator for Cameras. [Declare class]
Definition at line 13 of file FlightCameraManipulator.hpp.
◆ KeyMapping
◆ FlightCameraManipulator() [1/2]
| Ra::Gui::FlightCameraManipulator::FlightCameraManipulator |
( |
| ) |
|
◆ FlightCameraManipulator() [2/2]
| Ra::Gui::FlightCameraManipulator::FlightCameraManipulator |
( |
const CameraManipulator & | other | ) |
|
|
explicit |
◆ fitScene
| void Ra::Gui::FlightCameraManipulator::fitScene |
( |
const Core::Aabb & | aabb | ) |
|
|
overrideslot |
◆ handleCameraPan()
| void Ra::Gui::FlightCameraManipulator::handleCameraPan |
( |
Scalar | dx, |
|
|
Scalar | dy ) |
|
protectedvirtual |
◆ handleCameraRotate()
| void Ra::Gui::FlightCameraManipulator::handleCameraRotate |
( |
Scalar | dx, |
|
|
Scalar | dy ) |
|
protectedvirtual |
◆ handleCameraZoom() [1/2]
| void Ra::Gui::FlightCameraManipulator::handleCameraZoom |
( |
Scalar | dx, |
|
|
Scalar | dy ) |
|
protectedvirtual |
◆ handleCameraZoom() [2/2]
| void Ra::Gui::FlightCameraManipulator::handleCameraZoom |
( |
Scalar | z | ) |
|
|
protectedvirtual |
◆ handleKeyPressEvent()
◆ handleMouseMoveEvent()
| bool Ra::Gui::FlightCameraManipulator::handleMouseMoveEvent |
( |
QMouseEvent * | event, |
|
|
const Qt::MouseButtons & | buttons, |
|
|
const Qt::KeyboardModifiers & | modifiers, |
|
|
int | key ) |
|
overridevirtual |
◆ handleMousePressEvent()
| bool Ra::Gui::FlightCameraManipulator::handleMousePressEvent |
( |
QMouseEvent * | event, |
|
|
const Qt::MouseButtons & | buttons, |
|
|
const Qt::KeyboardModifiers & | modifiers, |
|
|
int | key ) |
|
overridevirtual |
◆ handleMouseReleaseEvent()
| bool Ra::Gui::FlightCameraManipulator::handleMouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overridevirtual |
◆ handleWheelEvent()
| bool Ra::Gui::FlightCameraManipulator::handleWheelEvent |
( |
QWheelEvent * | event, |
|
|
const Qt::MouseButtons & | buttons, |
|
|
const Qt::KeyboardModifiers & | modifiers, |
|
|
int | key ) |
|
overridevirtual |
◆ mappingContext()
◆ resetCamera
| void Ra::Gui::FlightCameraManipulator::resetCamera |
( |
| ) |
|
|
overrideslot |
◆ setCameraPosition
| void Ra::Gui::FlightCameraManipulator::setCameraPosition |
( |
const Core::Vector3 & | position | ) |
|
|
overrideslot |
◆ setCameraTarget
| void Ra::Gui::FlightCameraManipulator::setCameraTarget |
( |
const Core::Vector3 & | target | ) |
|
|
overrideslot |
◆ updateCamera()
| void Ra::Gui::FlightCameraManipulator::updateCamera |
( |
| ) |
|
|
overridevirtual |
◆ KeyMappingManageable< FlightCameraManipulator >
The documentation for this class was generated from the following files: