iCub-main
icub-main
src
tools
iCubGui
src
camera.h
Go to the documentation of this file.
1
/*
2
* camera.h
3
*/
4
5
/*
6
* Copyright (C) 2009 RobotCub Consortium
7
* Author: Alessandro Scalzo alessandro.scalzo@iit.it
8
* CopyPolicy: Released under the terms of the GNU GPL v2.0.
9
*
10
* Based on:
11
*
12
* Qavimator
13
* Copyright (C) 2006 by Zi Ree *
14
* Zi Ree @ SecondLife *
15
* Released under the terms of the GNU GPL v2.0.
16
*/
17
18
#ifndef CAMERA_H
19
#define CAMERA_H
20
21
class
Camera
22
{
23
public
:
24
Camera
();
25
26
void
rotate
(
float
x
,
float
y
);
27
void
pan
(
float
x
,
float
y
,
float
z
);
28
void
setModelView
();
29
void
reset
();
30
31
float
xRotation
()
const
;
32
float
yRotation
()
const
;
33
34
private
:
35
float
rotX, rotY;
36
float
panX, panY, panZ;
37
};
38
39
#endif
Camera
Definition:
camera.h:22
Camera::Camera
Camera()
Definition:
camera.cpp:29
Camera::reset
void reset()
Definition:
camera.cpp:66
Camera::setModelView
void setModelView()
Definition:
camera.cpp:57
Camera::xRotation
float xRotation() const
Definition:
camera.cpp:75
Camera::yRotation
float yRotation() const
Definition:
camera.cpp:80
Camera::rotate
void rotate(float x, float y)
Definition:
camera.cpp:34
Camera::pan
void pan(float x, float y, float z)
Definition:
camera.cpp:44
x
x
Definition:
compute_ekf_sym.m:21
z
z
Definition:
show_eyes_axes.m:22
y
y
Definition:
show_eyes_axes.m:21
Generated on Wed Nov 13 2024 21:11:42 for iCub-main by
1.9.1