Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CPositionCamera.hpp
Go to the documentation of this file.
1#ifndef LIBS_GRAPHICS_CPOSITIONCAMERA_HPP_
2#define LIBS_GRAPHICS_CPOSITIONCAMERA_HPP_
3
4class IGraphics;
5
7{
8public:
10 CPositionCamera(double eyeX, double eyeY, double eyeZ, double pointReferenceX,
11 double pointReferenceY, double pointReferenceZ, double upX, double upY,
12 double upZ);
15
16 void backCamera(double step);
17 void frontCamera(double step);
18 void incrRotationCamera(double incrRotXDegrees, double incrRotYDegrees,
19 double incrRotZDegrees);
20 void makeRotationCamera(IGraphics *graphics) const;
21 void positionCamera(IGraphics *graphics) const;
22
23 void getRotation(double *rotXDegrees, double *rotYDegrees, double *rotZDegrees) const;
24
25 void setParametricRotation(double t, double rotXIniDegrees, double rotYIniDegrees,
26 double rotZIniDegrees, double rotXEndDegrees, double rotYEndDegrees,
27 double rotZEndDegrees);
28
29private:
30 double m_eyeX;
31 double m_eyeY;
32 double m_eyeZ;
33
37
38 double m_upX;
39 double m_upY;
40 double m_upZ;
41
45};
46
47#endif /* LIBS_GRAPHICS_CPOSITIONCAMERA_HPP_ */
Definition CPositionCamera.hpp:7
void positionCamera(IGraphics *graphics) const
Definition CPositionCamera.cpp:98
void setParametricRotation(double t, double rotXIniDegrees, double rotYIniDegrees, double rotZIniDegrees, double rotXEndDegrees, double rotYEndDegrees, double rotZEndDegrees)
Definition CPositionCamera.cpp:117
void backCamera(double step)
Definition CPositionCamera.cpp:74
double m_pointReferenceZ
Definition CPositionCamera.hpp:36
double m_upY
Definition CPositionCamera.hpp:39
double m_eyeY
Definition CPositionCamera.hpp:31
virtual ~CPositionCamera()
double m_upX
Definition CPositionCamera.hpp:38
double m_eyeX
Definition CPositionCamera.hpp:30
void makeRotationCamera(IGraphics *graphics) const
Definition CPositionCamera.cpp:93
void getRotation(double *rotXDegrees, double *rotYDegrees, double *rotZDegrees) const
Definition CPositionCamera.cpp:106
CPositionCamera()
Definition CPositionCamera.cpp:14
double m_pointReferenceX
Definition CPositionCamera.hpp:34
double m_rotZDegrees
Definition CPositionCamera.hpp:44
void incrRotationCamera(double incrRotXDegrees, double incrRotYDegrees, double incrRotZDegrees)
Definition CPositionCamera.cpp:86
double m_pointReferenceY
Definition CPositionCamera.hpp:35
double m_upZ
Definition CPositionCamera.hpp:40
double m_eyeZ
Definition CPositionCamera.hpp:32
double m_rotXDegrees
Definition CPositionCamera.hpp:42
void frontCamera(double step)
Definition CPositionCamera.cpp:80
double m_rotYDegrees
Definition CPositionCamera.hpp:43
Definition IGraphics.hpp:20