X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_GL%2FINC%2FPiloteScene.h;fp=WCudaMSE%2FAPI_Bilat_GL%2FINC%2FPiloteScene.h;h=0f806ac4de913924ca54331bcd89b07dd33b5626;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_GL/INC/PiloteScene.h b/WCudaMSE/API_Bilat_GL/INC/PiloteScene.h new file mode 100755 index 0000000..0f806ac --- /dev/null +++ b/WCudaMSE/API_Bilat_GL/INC/PiloteScene.h @@ -0,0 +1,39 @@ +#ifndef PILOTESCENE_H +#define PILOTESCENE_H + +#include "envBilatGL.h" + + +class CBI_GL PiloteScene + { + public: + PiloteScene(float tx = 0, float ty = 0, float tz = 0, float pitch = 0, float roll = 0, float heading = 0); + virtual ~PiloteScene(); + + void setTranslation(float tx, float ty, float tz); + void setRotations(float pitch, float roll, float heading); + + void setPitch(float pitch); + void setRoll(float roll); + void setHeading(float heading); + void apply(); + + float getHeading() const; + float getPitch() const; + float getRoll() const; + float getTx() const; + float getTy() const; + float getTz() const; + void setTx(float tx); + void setTy(float ty); + void setTz(float tz); + private: + float tx; + float ty; + float tz; + float pitch; + float roll; + float heading; + }; + +#endif