Classes | |
class | GlutCloseClass |
struct | Mesh |
struct | Object |
struct | Polygon |
Functions | |
void | display (void) |
void | doGeometryMovement () |
void | doListenerMovement () |
void | doSoundMovement () |
void | doUpdateVolume () |
void | drawGeometry (Mesh &mesh) |
void | drawSkyBox () |
void | drawWaterRoom () |
void | ERRCHECK (FMOD_RESULT result) |
std::ofstream | file ("files/Log_Doc.txt") |
void | freeGeometry (Mesh &mesh) |
void | init (void) |
void | initGeometry (const char *szFileName, Mesh &mesh, bool alter=false) |
void | initObjects () |
void | inWater () |
void | keyboardFunc (unsigned char key, int x, int y) |
void | keyboardUpFunc (unsigned char key, int x, int y) |
GLuint | loadTexture (const char *filename) |
GLuint | loadTexturePNG (const char *filename) |
void | motionFunc (int x, int y) |
void | mouseFunc (int button, int state, int x, int y) |
void | outputText (int x, int y, std::string text) |
void | renderUiText () |
void | reshapeFunc (int w, int h) |
void | specialKeyFunc (int key, int x, int y) |
void | specialKeyUpFunc (int key, int x, int y) |
void | timerFunc (int nValue) |
void | updateObjectSoundPos (Object *object) |
Variables | |
float | accumulatedTime = 0.0f |
int | ActualWPindex = 1 |
int | ActualWPindexOld = 1 |
double | Altitude = 2.5f |
double | AltitudeSetPoint = 10.0f |
bool | ambientVolDown = false |
float | ambientVolume = 0.2f |
bool | ambientVolUp = false |
double | AmpDiter = 0.0f |
double | aSQR = 1.0f |
double | bSQR = 0.0f |
std::stringstream | converter |
double | cSQR = 0.0f |
double | Depth = 0.0f |
float | DirectionToTarget = 0.0f |
double | DistanceToPath = 0.0f |
double | Doppler = 100.0f |
bool | doRotate = false |
double | FiDiter [13] = {0, 15, -10, -25, 0, 5, -15, 15, -10, -3, -10, 5, 0} |
FMOD::EventGroup * | fmodEventGroup = 0 |
FMOD::EventParameter * | fmodEventParameter = 0 |
FMOD::EventProject * | fmodEventProject = 0 |
FMOD::EventSystem * | fmodEventSystem = 0 |
FMOD::System * | fmodSystem = 0 |
double | forw = 0.0f |
double | FreqDiter = 1.0f |
double | frwVelVector = 0.0f |
bool | fullscreen = false |
GlutCloseClass | gCloseObject |
FMOD::Geometry * | geometry = 0 |
FMOD::DSP * | global_lowpass = 0 |
int | GuidanceMode = 1 |
double | HE = 0.0f |
double | Head |
double | HeadingErr = 0.0f |
double | HeadIni = 0.0f |
int | height = 500 |
int | iDiter = 0 |
double | InputStoh = 0.0f |
int | InputStoh1 = 0 |
double | Integral = 0.0f |
int | INTERFACE_UPDATETIME = 15 |
int | intMax = 32767 |
int | JoyStickMode = 1 |
int | KDiterTime = 1 |
unsigned char | key1 = 0 |
double | Ki = 0.0f |
double | lastObjectLong = 0.0 |
double | lastvelAtitude = 0.0f |
float | lastyRotation = 0.0f |
double | latVelVector = 0.0f |
float | LogData [12] = {0,0,0,0,0,0,0,0,0,0,0,0} |
bool | masterVolDown = false |
float | masterVolume |
bool | masterVolUp = false |
const int | MaxNumberOfWP = 15 |
bool | moveBackward = false |
bool | moveDown = false |
bool | moveFast = false |
bool | moveForward = false |
bool | moveLeft = false |
bool | moveRight = false |
bool | moveRotateAntiClock = false |
bool | moveRotateClock = false |
bool | moveUp = false |
double | NonLinearCoeff = 1.0f |
double | NonLinearCoeffDist = 1.0f |
const int | NUM_OBJECTS = 8 |
int | NumberOfWP = 15 |
double | ObjectDepth = 20.0f |
double | ObjectLat = 43.5 |
double | ObjectLong = 15.5 |
Object | objects [NUM_OBJECTS] |
double | PathStartX = 10.0f |
double | PathStartX1 = 0.0f |
double | PathStartY = 10.0f |
double | PathStartY1 = 0.0f |
double | PathVelocity = 0.0f |
double | PathX = 0.0f |
double | PathY = 0.0f |
const float | PI = 3.14159265f |
int | r |
double | RabbitDistance = 0.0f |
double | RabbitEast = 0 |
double | RabbitEastOld = 0 |
double | RabbitNorth = 0 |
double | RabbitNorth1 = 0 |
double | RabbitNorth2 = 0 |
double | RabbitNorthOld = 0 |
GLenum | rendermode = GL_FILL |
Mesh | rotatingMesh |
double | ROVHeading = 0.0f |
double | ROVLat = 43.5f |
double | ROVLong = 15.5f |
double | ROVPitch = 0.0f |
double | ROVRoll = 0.0f |
bool | showdebug = false |
bool | showhelp = false |
double | SilenceAngle = 0.00f |
GLuint | skyboxTexture [6] |
int | Sound = 0 |
int | SpeedProfile = 'C' |
int | TaskMode = 1 |
double | TauK = 0.0f |
double | TauM = 0.0f |
double | TauN = 0.0f |
double | TauX = 0.0f |
double | TauY = 0.0f |
double | TauZ = 0.0f |
double | tDiter [13] = {10,15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70} |
GLuint | texture |
double | ti = 0 |
bool | TrajectoryTracking = false |
double | TransformAngle = 0.00f |
double | velAtitude = 0.0f |
double | VelVec = 0.0f |
double | VerbalAngle = 5.00f |
bool | wait = true |
Mesh | walls |
int | width = 500 |
float | WPeast [MaxNumberOfWP] |
int | WPindex = 1 |
float | WPnorth [MaxNumberOfWP] |
bool | WPupdateFlage = true |
float | WPz [MaxNumberOfWP] |
float | xListenerPos = 0.0f |
float | xListenerPosRel = 0.0f |
int | xMouse = 0 |
float | xRotation = 0.0f |
float | yListenerPos = 50.0f |
int | yMouse = 0 |
float | yRotation = 0.0f |
float | zListenerPos = 20.0f |
float | zListenerPosRel = 0.0f |
double | zPos = 0.0 |
float | zRotation = 0.0f |
double | zVelVector = 0.0f |
void FMOD::display | ( | void | ) |
Definition at line 1764 of file acoustic_vr.cpp.
void FMOD::doGeometryMovement | ( | ) |
Definition at line 843 of file acoustic_vr.cpp.
void FMOD::doListenerMovement | ( | ) |
Definition at line 1087 of file acoustic_vr.cpp.
void FMOD::doSoundMovement | ( | ) |
Definition at line 898 of file acoustic_vr.cpp.
void FMOD::doUpdateVolume | ( | ) |
Definition at line 1534 of file acoustic_vr.cpp.
void FMOD::drawGeometry | ( | Mesh & | mesh | ) |
Definition at line 643 of file acoustic_vr.cpp.
void FMOD::drawSkyBox | ( | ) |
Definition at line 539 of file acoustic_vr_noimu.cpp.
void FMOD::drawWaterRoom | ( | ) |
Definition at line 621 of file acoustic_vr.cpp.
void FMOD::ERRCHECK | ( | FMOD_RESULT | result | ) |
Definition at line 70 of file acoustic_vr.cpp.
std::ofstream FMOD::file | ( | "files/Log_Doc.txt" | ) |
void FMOD::freeGeometry | ( | Mesh & | mesh | ) |
Definition at line 492 of file acoustic_vr.cpp.
void FMOD::init | ( | void | ) |
Definition at line 1995 of file acoustic_vr.cpp.
void FMOD::initGeometry | ( | const char * | szFileName, |
Mesh & | mesh, | ||
bool | alter = false |
||
) |
Definition at line 393 of file acoustic_vr.cpp.
void FMOD::initObjects | ( | ) |
Definition at line 691 of file acoustic_vr.cpp.
void FMOD::inWater | ( | ) |
Definition at line 503 of file acoustic_vr.cpp.
void FMOD::keyboardFunc | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) |
Definition at line 1610 of file acoustic_vr.cpp.
void FMOD::keyboardUpFunc | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) |
Definition at line 1678 of file acoustic_vr.cpp.
GLuint FMOD::loadTexture | ( | const char * | filename | ) |
Definition at line 1951 of file acoustic_vr.cpp.
GLuint FMOD::loadTexturePNG | ( | const char * | filename | ) |
Definition at line 1941 of file acoustic_vr.cpp.
void FMOD::motionFunc | ( | int | x, |
int | y | ||
) |
Definition at line 812 of file acoustic_vr.cpp.
void FMOD::mouseFunc | ( | int | button, |
int | state, | ||
int | x, | ||
int | y | ||
) |
Definition at line 789 of file acoustic_vr.cpp.
void FMOD::outputText | ( | int | x, |
int | y, | ||
std::string | text | ||
) |
Definition at line 308 of file acoustic_vr.cpp.
void FMOD::renderUiText | ( | ) |
Definition at line 334 of file acoustic_vr.cpp.
void FMOD::reshapeFunc | ( | int | w, |
int | h | ||
) |
Definition at line 1934 of file acoustic_vr.cpp.
void FMOD::specialKeyFunc | ( | int | key, |
int | x, | ||
int | y | ||
) |
Definition at line 1861 of file acoustic_vr_noimu.cpp.
void FMOD::specialKeyUpFunc | ( | int | key, |
int | x, | ||
int | y | ||
) |
Definition at line 1727 of file acoustic_vr.cpp.
void FMOD::timerFunc | ( | int | nValue | ) |
Definition at line 1571 of file acoustic_vr.cpp.
void FMOD::updateObjectSoundPos | ( | Object * | object | ) |
Definition at line 765 of file acoustic_vr.cpp.
float FMOD::accumulatedTime = 0.0f |
Definition at line 215 of file acoustic_vr.cpp.
int FMOD::ActualWPindex = 1 |
Definition at line 166 of file acoustic_vr.cpp.
int FMOD::ActualWPindexOld = 1 |
Definition at line 167 of file acoustic_vr.cpp.
float FMOD::Altitude = 2.5f |
Definition at line 104 of file acoustic_vr.cpp.
float FMOD::AltitudeSetPoint = 10.0f |
Definition at line 115 of file acoustic_vr.cpp.
bool FMOD::ambientVolDown = false |
Definition at line 208 of file acoustic_vr.cpp.
float FMOD::ambientVolume = 0.2f |
Definition at line 290 of file acoustic_vr.cpp.
bool FMOD::ambientVolUp = false |
Definition at line 207 of file acoustic_vr.cpp.
float FMOD::AmpDiter = 0.0f |
Definition at line 85 of file acoustic_vr.cpp.
float FMOD::aSQR = 1.0f |
Definition at line 100 of file acoustic_vr.cpp.
float FMOD::bSQR = 0.0f |
Definition at line 101 of file acoustic_vr.cpp.
std::stringstream FMOD::converter |
Definition at line 52 of file acoustic_vr_noimu.cpp.
float FMOD::cSQR = 0.0f |
Definition at line 102 of file acoustic_vr.cpp.
float FMOD::Depth = 0.0f |
Definition at line 110 of file acoustic_vr.cpp.
float FMOD::DirectionToTarget = 0.0f |
Definition at line 193 of file acoustic_vr.cpp.
float FMOD::DistanceToPath = 0.0f |
Definition at line 142 of file acoustic_vr.cpp.
float FMOD::Doppler = 100.0f |
Definition at line 121 of file acoustic_vr.cpp.
bool FMOD::doRotate = false |
Definition at line 178 of file acoustic_vr.cpp.
float FMOD::FiDiter = {0, 15, -10, -25, 0, 5, -15, 15, -10, -3, -10, 5, 0} |
Definition at line 88 of file acoustic_vr.cpp.
FMOD::EventGroup * FMOD::fmodEventGroup = 0 |
Definition at line 284 of file acoustic_vr.cpp.
FMOD::EventParameter * FMOD::fmodEventParameter = 0 |
Definition at line 285 of file acoustic_vr.cpp.
FMOD::EventProject * FMOD::fmodEventProject = 0 |
Definition at line 283 of file acoustic_vr.cpp.
FMOD::EventSystem * FMOD::fmodEventSystem = 0 |
Definition at line 282 of file acoustic_vr.cpp.
FMOD::System * FMOD::fmodSystem = 0 |
Definition at line 286 of file acoustic_vr.cpp.
float FMOD::forw = 0.0f |
Definition at line 95 of file acoustic_vr.cpp.
float FMOD::FreqDiter = 1.0f |
Definition at line 86 of file acoustic_vr.cpp.
float FMOD::frwVelVector = 0.0f |
Definition at line 157 of file acoustic_vr.cpp.
bool FMOD::fullscreen = false |
Definition at line 91 of file acoustic_vr.cpp.
Definition at line 276 of file acoustic_vr.cpp.
FMOD::Geometry * FMOD::geometry = 0 |
Definition at line 287 of file acoustic_vr.cpp.
FMOD::DSP * FMOD::global_lowpass = 0 |
Definition at line 288 of file acoustic_vr.cpp.
int FMOD::GuidanceMode = 1 |
Definition at line 130 of file acoustic_vr.cpp.
float FMOD::HE = 0.0f |
Definition at line 112 of file acoustic_vr.cpp.
float FMOD::Head |
Definition at line 65 of file acoustic_vr.cpp.
float FMOD::HeadingErr = 0.0f |
Definition at line 150 of file acoustic_vr.cpp.
float FMOD::HeadIni = 0.0f |
Definition at line 66 of file acoustic_vr.cpp.
int FMOD::height = 500 |
Definition at line 175 of file acoustic_vr.cpp.
int FMOD::iDiter = 0 |
Definition at line 83 of file acoustic_vr.cpp.
float FMOD::InputStoh = 0.0f |
Definition at line 96 of file acoustic_vr.cpp.
int FMOD::InputStoh1 = 0 |
Definition at line 97 of file acoustic_vr.cpp.
float FMOD::Integral = 0.0f |
Definition at line 90 of file acoustic_vr.cpp.
int FMOD::INTERFACE_UPDATETIME = 15 |
Definition at line 79 of file acoustic_vr.cpp.
int FMOD::intMax = 32767 |
Definition at line 81 of file acoustic_vr.cpp.
int FMOD::JoyStickMode = 1 |
Definition at line 132 of file acoustic_vr.cpp.
int FMOD::KDiterTime = 1 |
Definition at line 84 of file acoustic_vr.cpp.
unsigned char FMOD::key1 = 0 |
Definition at line 68 of file acoustic_vr.cpp.
float FMOD::Ki = 0.0f |
Definition at line 128 of file acoustic_vr.cpp.
double FMOD::lastObjectLong = 0.0 |
Definition at line 98 of file acoustic_vr.cpp.
float FMOD::lastvelAtitude = 0.0f |
Definition at line 135 of file acoustic_vr.cpp.
float FMOD::lastyRotation = 0.0f |
Definition at line 186 of file acoustic_vr.cpp.
float FMOD::latVelVector = 0.0f |
Definition at line 158 of file acoustic_vr.cpp.
float FMOD::LogData[12] = {0,0,0,0,0,0,0,0,0,0,0,0} |
Definition at line 93 of file acoustic_vr.cpp.
bool FMOD::masterVolDown = false |
Definition at line 210 of file acoustic_vr.cpp.
float FMOD::masterVolume |
Definition at line 291 of file acoustic_vr.cpp.
bool FMOD::masterVolUp = false |
Definition at line 209 of file acoustic_vr.cpp.
const int FMOD::MaxNumberOfWP = 15 |
Definition at line 163 of file acoustic_vr.cpp.
bool FMOD::moveBackward = false |
Definition at line 199 of file acoustic_vr.cpp.
bool FMOD::moveDown = false |
Definition at line 205 of file acoustic_vr.cpp.
bool FMOD::moveFast = false |
Definition at line 206 of file acoustic_vr.cpp.
bool FMOD::moveForward = false |
Definition at line 198 of file acoustic_vr.cpp.
bool FMOD::moveLeft = false |
Definition at line 202 of file acoustic_vr.cpp.
bool FMOD::moveRight = false |
Definition at line 203 of file acoustic_vr.cpp.
bool FMOD::moveRotateAntiClock = false |
Definition at line 201 of file acoustic_vr.cpp.
bool FMOD::moveRotateClock = false |
Definition at line 200 of file acoustic_vr.cpp.
bool FMOD::moveUp = false |
Definition at line 204 of file acoustic_vr.cpp.
float FMOD::NonLinearCoeff = 1.0f |
Definition at line 124 of file acoustic_vr.cpp.
float FMOD::NonLinearCoeffDist = 1.0f |
Definition at line 125 of file acoustic_vr.cpp.
const int FMOD::NUM_OBJECTS = 8 |
Definition at line 232 of file acoustic_vr.cpp.
int FMOD::NumberOfWP = 15 |
Definition at line 162 of file acoustic_vr.cpp.
float FMOD::ObjectDepth = 20.0f |
Definition at line 120 of file acoustic_vr.cpp.
float FMOD::ObjectLat = 43.5 |
Definition at line 118 of file acoustic_vr.cpp.
float FMOD::ObjectLong = 15.5 |
Definition at line 119 of file acoustic_vr.cpp.
{ { 0.0f, 10.0f, 0.0f, 1.0f, 0, 0 }, { 0.0f, 10.0f, 0.0f, 1.0f, 1, 0 }, { 45.0f, 10.0f, 0.0f, 1.0f, 3, 0 }, { -30.0f, 1.0f, 21.0f, 1.0f, 2, 0 }, { -30.0f, 1.0f, -21.0f, 1.0f, 3, 0 }, { 12.0f, 1.0f, -27.0f, 1.0f, 0, 0 }, { 0.0f, 10.0f, 0.0f, 1.0f, 0, 0 }, { 0.0f, 10.0f, 0.0f, 1.0f, 1, 0 }, }
Definition at line 233 of file acoustic_vr.cpp.
float FMOD::PathStartX = 10.0f |
Definition at line 136 of file acoustic_vr.cpp.
float FMOD::PathStartX1 = 0.0f |
Definition at line 138 of file acoustic_vr.cpp.
float FMOD::PathStartY = 10.0f |
Definition at line 137 of file acoustic_vr.cpp.
float FMOD::PathStartY1 = 0.0f |
Definition at line 139 of file acoustic_vr.cpp.
float FMOD::PathVelocity = 0.0f |
Definition at line 127 of file acoustic_vr.cpp.
float FMOD::PathX = 0.0f |
Definition at line 140 of file acoustic_vr.cpp.
float FMOD::PathY = 0.0f |
Definition at line 141 of file acoustic_vr.cpp.
const float FMOD::PI = 3.14159265f |
Definition at line 213 of file acoustic_vr.cpp.
int FMOD::r |
Definition at line 82 of file acoustic_vr.cpp.
float FMOD::RabbitDistance = 0.0f |
Definition at line 143 of file acoustic_vr.cpp.
float FMOD::RabbitEast = 0 |
Definition at line 148 of file acoustic_vr.cpp.
float FMOD::RabbitEastOld = 0 |
Definition at line 149 of file acoustic_vr.cpp.
float FMOD::RabbitNorth = 0 |
Definition at line 144 of file acoustic_vr.cpp.
float FMOD::RabbitNorth1 = 0 |
Definition at line 145 of file acoustic_vr.cpp.
float FMOD::RabbitNorth2 = 0 |
Definition at line 146 of file acoustic_vr.cpp.
float FMOD::RabbitNorthOld = 0 |
Definition at line 147 of file acoustic_vr.cpp.
GLenum FMOD::rendermode = GL_FILL |
Definition at line 303 of file acoustic_vr.cpp.
Definition at line 279 of file acoustic_vr.cpp.
float FMOD::ROVHeading = 0.0f |
Definition at line 107 of file acoustic_vr.cpp.
float FMOD::ROVLat = 43.5f |
Definition at line 105 of file acoustic_vr.cpp.
float FMOD::ROVLong = 15.5f |
Definition at line 106 of file acoustic_vr.cpp.
float FMOD::ROVPitch = 0.0f |
Definition at line 109 of file acoustic_vr.cpp.
float FMOD::ROVRoll = 0.0f |
Definition at line 108 of file acoustic_vr.cpp.
bool FMOD::showdebug = false |
Definition at line 305 of file acoustic_vr.cpp.
bool FMOD::showhelp = false |
Definition at line 306 of file acoustic_vr.cpp.
float FMOD::SilenceAngle = 0.00f |
Definition at line 122 of file acoustic_vr.cpp.
GLuint FMOD::skyboxTexture |
Definition at line 219 of file acoustic_vr.cpp.
int FMOD::Sound = 0 |
Definition at line 129 of file acoustic_vr.cpp.
char FMOD::SpeedProfile = 'C' |
Definition at line 133 of file acoustic_vr.cpp.
int FMOD::TaskMode = 1 |
Definition at line 131 of file acoustic_vr.cpp.
float FMOD::TauK = 0.0f |
Definition at line 154 of file acoustic_vr.cpp.
float FMOD::TauM = 0.0f |
Definition at line 155 of file acoustic_vr.cpp.
float FMOD::TauN = 0.0f |
Definition at line 156 of file acoustic_vr.cpp.
float FMOD::TauX = 0.0f |
Definition at line 151 of file acoustic_vr.cpp.
float FMOD::TauY = 0.0f |
Definition at line 152 of file acoustic_vr.cpp.
float FMOD::TauZ = 0.0f |
Definition at line 153 of file acoustic_vr.cpp.
float FMOD::tDiter = {10,15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70} |
Definition at line 87 of file acoustic_vr.cpp.
GLuint FMOD::texture |
Definition at line 218 of file acoustic_vr.cpp.
float FMOD::ti = 0 |
Definition at line 89 of file acoustic_vr.cpp.
bool FMOD::TrajectoryTracking = false |
Definition at line 116 of file acoustic_vr.cpp.
float FMOD::TransformAngle = 0.00f |
Definition at line 126 of file acoustic_vr.cpp.
float FMOD::velAtitude = 0.0f |
Definition at line 134 of file acoustic_vr.cpp.
float FMOD::VelVec = 0.0f |
Definition at line 111 of file acoustic_vr.cpp.
float FMOD::VerbalAngle = 5.00f |
Definition at line 123 of file acoustic_vr.cpp.
bool FMOD::wait = true |
Definition at line 92 of file acoustic_vr.cpp.
Definition at line 278 of file acoustic_vr.cpp.
int FMOD::width = 500 |
Definition at line 174 of file acoustic_vr.cpp.
float FMOD::WPeast |
Definition at line 169 of file acoustic_vr.cpp.
int FMOD::WPindex = 1 |
Definition at line 165 of file acoustic_vr.cpp.
float FMOD::WPnorth |
Definition at line 168 of file acoustic_vr.cpp.
bool FMOD::WPupdateFlage = true |
Definition at line 117 of file acoustic_vr.cpp.
float FMOD::WPz |
Definition at line 170 of file acoustic_vr.cpp.
float FMOD::xListenerPos = 0.0f |
Definition at line 189 of file acoustic_vr.cpp.
float FMOD::xListenerPosRel = 0.0f |
Definition at line 195 of file acoustic_vr.cpp.
int FMOD::xMouse = 0 |
Definition at line 179 of file acoustic_vr.cpp.
float FMOD::xRotation = 0.0f |
Definition at line 183 of file acoustic_vr.cpp.
float FMOD::yListenerPos = 50.0f |
Definition at line 191 of file acoustic_vr.cpp.
int FMOD::yMouse = 0 |
Definition at line 180 of file acoustic_vr.cpp.
float FMOD::yRotation = 0.0f |
Definition at line 184 of file acoustic_vr.cpp.
float FMOD::zListenerPos = 20.0f |
Definition at line 192 of file acoustic_vr.cpp.
float FMOD::zListenerPosRel = 0.0f |
Definition at line 194 of file acoustic_vr.cpp.
double FMOD::zPos = 0.0 |
Definition at line 99 of file acoustic_vr.cpp.
float FMOD::zRotation = 0.0f |
Definition at line 185 of file acoustic_vr.cpp.
float FMOD::zVelVector = 0.0f |
Definition at line 159 of file acoustic_vr.cpp.