mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
cfiController
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#ifndef CFIOBJECT_H
|
||||
#define CFIOBJECT_H
|
||||
|
||||
#include "vectordouble.h"
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
#include <QVector2D>
|
||||
#include <QVector3D>
|
||||
#include <QDomElement>
|
||||
|
||||
struct SetCameraPos
|
||||
{
|
||||
@@ -24,18 +23,18 @@ struct SetCameraPos
|
||||
float offset;
|
||||
float prevPlayerRot;
|
||||
|
||||
QVector2D axesClamp;
|
||||
Vector2dDouble axesClamp;
|
||||
|
||||
QVector3D prevPlayerPos;
|
||||
QVector3D playerPos;
|
||||
QVector3D playerRot;
|
||||
QVector3D prevCamRot;
|
||||
QVector3D camRot;
|
||||
QVector3D goCenter;
|
||||
QVector3D playerMARpos;
|
||||
QVector3D playerMARrot;
|
||||
QVector3D camMARrot;
|
||||
QVector3D playerPosRelativeToThePanel;
|
||||
Vector3dDouble prevPlayerPos;
|
||||
Vector3dDouble playerPos;
|
||||
Vector3dDouble playerRot;
|
||||
Vector3dDouble prevCamRot;
|
||||
Vector3dDouble camRot;
|
||||
Vector3dDouble goCenter;
|
||||
Vector3dDouble playerMARpos;
|
||||
Vector3dDouble playerMARrot;
|
||||
Vector3dDouble camMARrot;
|
||||
Vector3dDouble playerPosRelativeToThePanel;
|
||||
};
|
||||
|
||||
class CfiObject
|
||||
@@ -64,6 +63,11 @@ public:
|
||||
bool getIsChanged() const;
|
||||
void setIsChanged(bool value);
|
||||
|
||||
QDomElement getDomElement() const;
|
||||
void setDomElement(const QDomElement &value);
|
||||
|
||||
void resetIsChangedInDomElement();
|
||||
|
||||
private:
|
||||
int id;
|
||||
bool isChanged;
|
||||
@@ -73,6 +77,8 @@ private:
|
||||
QString goName;
|
||||
|
||||
SetCameraPos setCameraPos;
|
||||
|
||||
QDomElement domElement;
|
||||
};
|
||||
|
||||
#endif // CFIOBJECT_H
|
||||
|
||||
Reference in New Issue
Block a user