source: flair-src/trunk/lib/FlairSimulator/src/FixedCamera.h@ 69

Last change on this file since 69 was 69, checked in by Sanahuja Guillaume, 6 years ago

refonte camera simu

File size: 990 bytes
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5// created: 2016/09/01
6// filename: FixedCamera.h
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: cclass for a fixed camera in the gui
14//
15/*********************************************************************/
16
17#ifndef FIXEDCAMERA_H
18#define FIXEDCAMERA_H
19
20#include "VisualizationCamera.h"
21#include <Vector3D.h>
22
23namespace flair {
24namespace simulator {
25
26class FixedCamera : public VisualizationCamera {
27public:
28 FixedCamera(core::Vector3D position,float rotateSpeed = -500.0f, float zoomSpeed = 4.0f);
29 ~FixedCamera();
30
31 void animateNode(irr::scene::ISceneNode *node, irr::u32 timeMs);
32
33private:
34 irr::core::position2df RotateStart;
35 bool Rotating;
36 float RotY, RotZ;
37};
38
39} // end namespace simulator
40} // end namespace flair
41
42#endif // FIXEDCAMERA_H
Note: See TracBrowser for help on using the repository browser.