#include <iso_visual_window.h>
Collaboration diagram for iso::visual::Window:
Public Member Functions | |
Window (const base::String &pName, const math::Vector2< int > &pSize, GLProgram *pProgram) | |
~Window () | |
const base::String & | name () const |
bool | isMasterWindow () const |
GLPanel & | glPanel () |
View * | view (const base::String &pViewName) |
void | addView (View *pView) |
void | update () |
Protected Member Functions | |
void | toggleFullScreen () |
void | wheelEvent (QWheelEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | mouseReleaseEvent (QMouseEvent *e) |
void | mouseDoubleClickEvent (QMouseEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
void | keyPressEvent (QKeyEvent *e) |
void | updateMouseClickLeft (const math::Vector2< real > &pMousePos) |
void | updateMouseClickRight (const math::Vector2< real > &pMousePos) |
void | updateMouseReleaseLeft (const math::Vector2< real > &pMousePos) |
void | updateMouseReleaseRight (const math::Vector2< real > &pMousePos) |
void | updateMouseDragLeft (const math::Vector2< real > &pMousePos) |
void | updateMouseDragRight (const math::Vector2< real > &pMousePos) |
void | updateMouseDoubleClick (const math::Vector2< real > &pMousePos) |
void | updateScrollWheel (int pDelta) |
Protected Attributes | |
GLPanel * | mGLPanel |
base::String | mName |
bool | mIsFullScreen |
math::Vector3< real > | mMousePrevDragPosLeft |
math::Vector3< real > | mMouseCurrDragPosLeft |
math::Vector3< real > | mMousePrevDragPosRight |
math::Vector3< real > | mMouseCurrDragPosRight |
math::Quaternion< real > | mMouseRotQuat |
Static Protected Attributes | |
static float | sScrollWheelScale |
Window::Window | ( | const base::String & | pName, | |
const math::Vector2< int > & | pSize, | |||
GLProgram * | pProgram | |||
) |
Window::~Window | ( | ) |
const base::String & Window::name | ( | ) | const |
bool Window::isMasterWindow | ( | ) | const |
GLPanel & Window::glPanel | ( | ) |
View * Window::view | ( | const base::String & | pViewName | ) |
void Window::addView | ( | View * | pView | ) |
void Window::update | ( | ) |
void Window::toggleFullScreen | ( | ) | [protected] |
void Window::wheelEvent | ( | QWheelEvent * | e | ) | [protected] |
void Window::mousePressEvent | ( | QMouseEvent * | e | ) | [protected] |
void Window::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected] |
void Window::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected] |
void Window::mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected] |
void Window::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
void Window::updateMouseClickLeft | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateMouseClickRight | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateMouseReleaseLeft | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateMouseReleaseRight | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateMouseDragLeft | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateMouseDragRight | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateMouseDoubleClick | ( | const math::Vector2< real > & | pMousePos | ) | [protected] |
void Window::updateScrollWheel | ( | int | pDelta | ) | [protected] |
GLPanel* iso::visual::Window::mGLPanel [protected] |
base::String iso::visual::Window::mName [protected] |
bool iso::visual::Window::mIsFullScreen [protected] |
float Window::sScrollWheelScale [static, protected] |
math::Vector3<real> iso::visual::Window::mMousePrevDragPosLeft [protected] |
math::Vector3<real> iso::visual::Window::mMouseCurrDragPosLeft [protected] |
math::Vector3<real> iso::visual::Window::mMousePrevDragPosRight [protected] |
math::Vector3<real> iso::visual::Window::mMouseCurrDragPosRight [protected] |
math::Quaternion<real> iso::visual::Window::mMouseRotQuat [protected] |