Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
v
w
x
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
p
q
r
s
t
u
v
Enumerations
Enumerator
b
g
h
j
l
o
p
r
s
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
z
Related Functions
:
a
b
c
d
e
f
h
k
l
n
o
p
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
f
i
m
n
o
p
s
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
s
t
u
v
Enumerations
Enumerator
a
d
f
i
k
l
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
w
Examples
src
tools
lvr2_viewer
widgets
LVRGraphicsView.hpp
Go to the documentation of this file.
1
#ifndef LVR2_TOOLS_VIEWER_WIDGETS_LVRGraphicsView_HPP
2
#define LVR2_TOOLS_VIEWER_WIDGETS_LVRGraphicsView_HPP
3
4
#include <QObject>
5
#include <QGraphicsView>
6
#include <QtGui>
7
#include <QCloseEvent>
8
#include <iostream>
9
10
namespace
lvr2
{
11
12
class
LVRGraphicsView
:
public
QGraphicsView {
13
Q_OBJECT
14
public
:
15
using
QGraphicsView::QGraphicsView;
16
17
void
init
();
18
19
void
gentle_zoom
(
double
factor);
20
void
set_modifiers
(Qt::KeyboardModifiers modifiers);
21
void
set_zoom_factor_base
(
double
value);
22
23
private
:
24
bool
eventFilter
(QObject*
object
, QEvent* event);
25
void
closeEvent
(QCloseEvent *event);
26
27
Qt::KeyboardModifiers
m_modifiers
;
28
double
m_zoom_factor_base
;
29
QPointF
m_target_scene_pos
;
30
QPointF
m_target_viewport_pos
;
31
32
Q_SIGNALS:
33
void
zoomed
();
34
void
closed
();
35
};
36
37
}
// namespace lvr2
38
39
#endif
lvr2::LVRGraphicsView::m_modifiers
Qt::KeyboardModifiers m_modifiers
Definition:
LVRGraphicsView.hpp:27
lvr2::LVRGraphicsView::gentle_zoom
void gentle_zoom(double factor)
Definition:
LVRGraphicsView.cpp:18
lvr2::LVRGraphicsView::m_zoom_factor_base
double m_zoom_factor_base
Definition:
LVRGraphicsView.hpp:28
lvr2::LVRGraphicsView::closeEvent
void closeEvent(QCloseEvent *event)
Definition:
LVRGraphicsView.cpp:65
lvr2::LVRGraphicsView
Definition:
LVRGraphicsView.hpp:12
lvr2::LVRGraphicsView::zoomed
void zoomed()
lvr2::LVRGraphicsView::set_modifiers
void set_modifiers(Qt::KeyboardModifiers modifiers)
Definition:
LVRGraphicsView.cpp:28
lvr2::LVRGraphicsView::m_target_scene_pos
QPointF m_target_scene_pos
Definition:
LVRGraphicsView.hpp:29
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::LVRGraphicsView::set_zoom_factor_base
void set_zoom_factor_base(double value)
Definition:
LVRGraphicsView.cpp:33
lvr2::LVRGraphicsView::eventFilter
bool eventFilter(QObject *object, QEvent *event)
Definition:
LVRGraphicsView.cpp:38
lvr2::LVRGraphicsView::init
void init()
Definition:
LVRGraphicsView.cpp:10
lvr2::LVRGraphicsView::m_target_viewport_pos
QPointF m_target_viewport_pos
Definition:
LVRGraphicsView.hpp:30
lvr2::LVRGraphicsView::closed
void closed()
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz
, Alexander Mock
, Lars Kiesow
, Lukas Kalbertodt
, Tristan Igelbrink
, Johan M. von Behren
, Dominik Feldschnieders
, Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24