|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
#include <OGLCamera.h>

Public Member Functions | |
| OGLCamera (NxReal *_from, NxReal *_to, NxReal *_up, int w, int h, CameraType eCameraType) | |
| void | setCameraType (CameraType eCameraType) |
| void | lookAt () |
| void | moveFront () |
| void | moveBack () |
| void | moveUp () |
| void | moveDown () |
| void | moveLeft () |
| void | moveRight () |
| void | rotateUpLockSrc () |
| void | rotateDownLockSrc () |
| void | rotateUpLockSrcKeepUpAndFront () |
| void | rotateDownLockSrcKeepUpAndFront () |
| void | rotateLeftLockSrc () |
| void | rotateRightLockSrc () |
| void | rotateUpLockDst () |
| void | rotateDownLockDst () |
| void | rotateLeftLockDst () |
| void | rotateRightLockDst () |
| void | rotateSideLeft () |
| void | rotateSideRight () |
| void | move (NxReal *_direction) |
| void | moveFront (NxReal _distance) |
| void | moveBack (NxReal _distance) |
| void | moveUp (NxReal _distance) |
| void | moveDown (NxReal _distance) |
| void | moveLeft (NxReal _distance) |
| void | moveRight (NxReal _distance) |
| void | rotateUpLockSrc (NxReal _angle) |
| void | rotateDownLockSrc (NxReal _angle) |
| void | rotateUpLockSrcKeepUpAndFront (NxReal _angle) |
| void | rotateDownLockSrcKeepUpAndFront (NxReal _angle) |
| void | rotateLeftLockSrc (NxReal _angle) |
| void | rotateRightLockSrc (NxReal _angle) |
| void | rotateUpLockDst (NxReal _angle) |
| void | rotateDownLockDst (NxReal _angle) |
| void | rotateLeftLockDst (NxReal _angle) |
| void | rotateRightLockDst (NxReal _angle) |
| void | rotateSideLeft (NxReal _angle) |
| void | rotateSideRight (NxReal _angle) |
| void | setDistanceStep (NxReal _magnitudeStepUp, NxReal _magnitudeStepFront, NxReal _magnitudeStepLeft) |
| void | setAllAngleStep (NxReal _angle) |
| void | setAngleStep (NxReal _stepAngleUpDown, NxReal _stepAngleLeftRight, NxReal _stepAngleSide) |
| void | setFrom (NxReal *_from) |
| void | setTo (NxReal *_to) |
| void | setUp (NxReal *_up) |
| void | setFromToUp (NxReal *_from, NxReal *_to, NxReal *_up) |
| void | setFromToUp () |
| void | setDistanceFromToLockFrom (NxReal _distanceFromTo) |
| void | setDistanceFromToLockTo (NxReal _distanceFromTo) |
| void | setModeLock (bool _modeLockUpDown, bool _modeLockLeftRight, bool _modeLockSide) |
| void | setMinMaxCurrentUpDown (NxReal _minUpDown, NxReal _maxUpDown, NxReal _currentUpDown) |
| void | setMinMaxCurrentLeftRight (NxReal _minLeftRight, NxReal _maxLeftRight, NxReal _currentLeftRight) |
| void | setMinMaxCurrentSide (NxReal _minSide, NxReal _maxSide, NxReal _currentSide) |
| void | setAllMinMaxCurrent (NxReal _angle) |
| void | setSize (int w, int h) |
| void | calculateStepVectors () |
| NxVec3 | getCenter (int sizeX, int sizeY) |
| void | getViewPort (double *vp) |
| void | zoom (double zoomFactor) |
| void | azimuth (NxReal _angle) |
| void | elevation (NxReal _angle) |
| void | roll (NxReal _angle) |
| void | resetZoom (int w=-1, int h=-1) |
| void | resetTranslation () |
| void | setTranslation (double x, double y, double z) |
| void | getTranslation (double &x, double &y, double &z) |
| void | resetRotations () |
| void | setDefaultZoomFactor (double defaultZoomFactor) |
| void | getPosition (double &x, double &y, double &z) |
Static Public Member Functions | |
| static NxVec3 | displayToWorld (NxVec3 display) |
| static NxVec3 | worldToDisplay (NxVec3 world) |
Definition at line 44 of file OGLCamera.h.
| OGLCamera::OGLCamera | ( | NxReal * | _from, |
| NxReal * | _to, | ||
| NxReal * | _up, | ||
| int | w, | ||
| int | h, | ||
| CameraType | eCameraType | ||
| ) |
| void OGLCamera::azimuth | ( | NxReal | _angle | ) |
Definition at line 782 of file OGLCamera.cpp.


| void OGLCamera::calculateStepVectors | ( | ) |
Definition at line 670 of file OGLCamera.cpp.


| void OGLCamera::elevation | ( | NxReal | _angle | ) |
Definition at line 788 of file OGLCamera.cpp.


| NxVec3 OGLCamera::getCenter | ( | int | sizeX, |
| int | sizeY | ||
| ) |
| void OGLCamera::getPosition | ( | double & | x, |
| double & | y, | ||
| double & | z | ||
| ) |
| void OGLCamera::getTranslation | ( | double & | x, |
| double & | y, | ||
| double & | z | ||
| ) |
| void OGLCamera::getViewPort | ( | double * | vp | ) |
| void OGLCamera::lookAt | ( | ) |
Definition at line 80 of file OGLCamera.cpp.


| void OGLCamera::move | ( | NxReal * | _direction | ) |
Definition at line 143 of file OGLCamera.cpp.
| void OGLCamera::moveBack | ( | ) |
Definition at line 167 of file OGLCamera.cpp.


| void OGLCamera::moveBack | ( | NxReal | _distance | ) |
Definition at line 395 of file OGLCamera.cpp.
| void OGLCamera::moveDown | ( | ) |
Definition at line 195 of file OGLCamera.cpp.


| void OGLCamera::moveDown | ( | NxReal | _distance | ) |
Definition at line 383 of file OGLCamera.cpp.
| void OGLCamera::moveFront | ( | ) |
Definition at line 153 of file OGLCamera.cpp.


| void OGLCamera::moveFront | ( | NxReal | _distance | ) |
Definition at line 389 of file OGLCamera.cpp.
| void OGLCamera::moveLeft | ( | ) |
Definition at line 209 of file OGLCamera.cpp.


| void OGLCamera::moveLeft | ( | NxReal | _distance | ) |
Definition at line 401 of file OGLCamera.cpp.
| void OGLCamera::moveRight | ( | ) |
Definition at line 223 of file OGLCamera.cpp.


| void OGLCamera::moveRight | ( | NxReal | _distance | ) |
Definition at line 407 of file OGLCamera.cpp.
| void OGLCamera::moveUp | ( | ) |
Definition at line 181 of file OGLCamera.cpp.


| void OGLCamera::moveUp | ( | NxReal | _distance | ) |
Definition at line 377 of file OGLCamera.cpp.
| void OGLCamera::resetRotations | ( | ) |
Definition at line 840 of file OGLCamera.cpp.


| void OGLCamera::resetTranslation | ( | ) |
| void OGLCamera::resetZoom | ( | int | w = -1, |
| int | h = -1 |
||
| ) |
Definition at line 800 of file OGLCamera.cpp.


| void OGLCamera::roll | ( | NxReal | _angle | ) |
Definition at line 794 of file OGLCamera.cpp.


| void OGLCamera::rotateDownLockDst | ( | ) |
| void OGLCamera::rotateDownLockDst | ( | NxReal | _angle | ) |
| void OGLCamera::rotateDownLockSrc | ( | ) |
| void OGLCamera::rotateDownLockSrc | ( | NxReal | _angle | ) |
| void OGLCamera::rotateDownLockSrcKeepUpAndFront | ( | ) |
| void OGLCamera::rotateDownLockSrcKeepUpAndFront | ( | NxReal | _angle | ) |
| void OGLCamera::rotateLeftLockDst | ( | ) |
| void OGLCamera::rotateLeftLockDst | ( | NxReal | _angle | ) |
| void OGLCamera::rotateLeftLockSrc | ( | ) |
| void OGLCamera::rotateLeftLockSrc | ( | NxReal | _angle | ) |
| void OGLCamera::rotateRightLockDst | ( | ) |
| void OGLCamera::rotateRightLockDst | ( | NxReal | _angle | ) |
| void OGLCamera::rotateRightLockSrc | ( | ) |
| void OGLCamera::rotateRightLockSrc | ( | NxReal | _angle | ) |
| void OGLCamera::rotateSideLeft | ( | ) |
| void OGLCamera::rotateSideLeft | ( | NxReal | _angle | ) |
| void OGLCamera::rotateSideRight | ( | ) |
| void OGLCamera::rotateSideRight | ( | NxReal | _angle | ) |
| void OGLCamera::rotateUpLockDst | ( | ) |
| void OGLCamera::rotateUpLockDst | ( | NxReal | _angle | ) |
| void OGLCamera::rotateUpLockSrc | ( | ) |
| void OGLCamera::rotateUpLockSrc | ( | NxReal | _angle | ) |
| void OGLCamera::rotateUpLockSrcKeepUpAndFront | ( | ) |
| void OGLCamera::rotateUpLockSrcKeepUpAndFront | ( | NxReal | _angle | ) |
| void OGLCamera::setAllAngleStep | ( | NxReal | _angle | ) |
| void OGLCamera::setAllMinMaxCurrent | ( | NxReal | _angle | ) |
Definition at line 664 of file OGLCamera.cpp.
| void OGLCamera::setAngleStep | ( | NxReal | _stepAngleUpDown, |
| NxReal | _stepAngleLeftRight, | ||
| NxReal | _stepAngleSide | ||
| ) |
Definition at line 567 of file OGLCamera.cpp.
| void OGLCamera::setCameraType | ( | CameraType | eCameraType | ) |
Definition at line 138 of file OGLCamera.cpp.
| void OGLCamera::setDefaultZoomFactor | ( | double | defaultZoomFactor | ) |
| void OGLCamera::setDistanceFromToLockFrom | ( | NxReal | _distanceFromTo | ) |
Definition at line 621 of file OGLCamera.cpp.
| void OGLCamera::setDistanceFromToLockTo | ( | NxReal | _distanceFromTo | ) |
Definition at line 628 of file OGLCamera.cpp.
| void OGLCamera::setFrom | ( | NxReal * | _from | ) |
| void OGLCamera::setFromToUp | ( | ) |
Definition at line 616 of file OGLCamera.cpp.


Definition at line 600 of file OGLCamera.cpp.


| void OGLCamera::setMinMaxCurrentLeftRight | ( | NxReal | _minLeftRight, |
| NxReal | _maxLeftRight, | ||
| NxReal | _currentLeftRight | ||
| ) |
Definition at line 649 of file OGLCamera.cpp.
Definition at line 657 of file OGLCamera.cpp.
| void OGLCamera::setMinMaxCurrentUpDown | ( | NxReal | _minUpDown, |
| NxReal | _maxUpDown, | ||
| NxReal | _currentUpDown | ||
| ) |
Definition at line 642 of file OGLCamera.cpp.
| void OGLCamera::setModeLock | ( | bool | _modeLockUpDown, |
| bool | _modeLockLeftRight, | ||
| bool | _modeLockSide | ||
| ) |
| void OGLCamera::setSize | ( | int | w, |
| int | h | ||
| ) |
| void OGLCamera::setTo | ( | NxReal * | _to | ) |
Definition at line 587 of file OGLCamera.cpp.


| void OGLCamera::setTranslation | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Definition at line 848 of file OGLCamera.cpp.


| void OGLCamera::setUp | ( | NxReal * | _up | ) |
| void OGLCamera::zoom | ( | double | zoomFactor | ) |
Definition at line 761 of file OGLCamera.cpp.


| NxReal OGLCamera::cosLeftRight |
Definition at line 129 of file OGLCamera.h.
| NxReal OGLCamera::cosSide |
Definition at line 130 of file OGLCamera.h.
| NxReal OGLCamera::cosUpDown |
Definition at line 129 of file OGLCamera.h.
| NxReal OGLCamera::currentLeftRight |
Definition at line 138 of file OGLCamera.h.
| NxReal OGLCamera::currentSide |
Definition at line 138 of file OGLCamera.h.
| NxReal OGLCamera::currentUpDown |
Definition at line 137 of file OGLCamera.h.
| NxReal OGLCamera::distanceFromTo |
Definition at line 132 of file OGLCamera.h.
| NxVec3 OGLCamera::flyFrom |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::flyFromTo |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::flyFront |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::flyLeft |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::flyTo |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::flyUp |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::from |
Definition at line 122 of file OGLCamera.h.
| NxVec3 OGLCamera::fromTo |
Definition at line 133 of file OGLCamera.h.
| NxVec3 OGLCamera::front |
Definition at line 125 of file OGLCamera.h.
| NxVec3 OGLCamera::left |
Definition at line 125 of file OGLCamera.h.
| double OGLCamera::m_angleAz |
Definition at line 141 of file OGLCamera.h.
| double OGLCamera::m_angleEl |
Definition at line 141 of file OGLCamera.h.
| double OGLCamera::m_angleRo |
Definition at line 141 of file OGLCamera.h.
| double OGLCamera::m_defaultZoomFactor |
Definition at line 141 of file OGLCamera.h.
| CameraType OGLCamera::m_eCameraType |
Definition at line 142 of file OGLCamera.h.
| int OGLCamera::m_h |
Definition at line 140 of file OGLCamera.h.
| NxVec3 OGLCamera::m_translate |
Definition at line 143 of file OGLCamera.h.
| int OGLCamera::m_w |
Definition at line 140 of file OGLCamera.h.
| double OGLCamera::m_zoomFactor |
Definition at line 141 of file OGLCamera.h.
| NxReal OGLCamera::magnitudeStepFront |
Definition at line 137 of file OGLCamera.h.
| NxReal OGLCamera::magnitudeStepLeft |
Definition at line 137 of file OGLCamera.h.
| NxReal OGLCamera::magnitudeStepUp |
Definition at line 137 of file OGLCamera.h.
| NxReal OGLCamera::maxLeftRight |
Definition at line 138 of file OGLCamera.h.
| NxReal OGLCamera::maxSide |
Definition at line 138 of file OGLCamera.h.
| NxReal OGLCamera::maxUpDown |
Definition at line 137 of file OGLCamera.h.
| NxReal OGLCamera::minLeftRight |
Definition at line 138 of file OGLCamera.h.
| NxReal OGLCamera::minSide |
Definition at line 138 of file OGLCamera.h.
| NxReal OGLCamera::minUpDown |
Definition at line 137 of file OGLCamera.h.
| bool OGLCamera::modeLockLeftRight |
Definition at line 135 of file OGLCamera.h.
| bool OGLCamera::modeLockSide |
Definition at line 135 of file OGLCamera.h.
| bool OGLCamera::modeLockUpDown |
Definition at line 135 of file OGLCamera.h.
| NxReal OGLCamera::sinLeftRight |
Definition at line 129 of file OGLCamera.h.
| NxReal OGLCamera::sinSide |
Definition at line 129 of file OGLCamera.h.
| NxReal OGLCamera::sinUpDown |
Definition at line 129 of file OGLCamera.h.
| NxReal OGLCamera::stepAngleLeftRight |
Definition at line 129 of file OGLCamera.h.
| NxReal OGLCamera::stepAngleSide |
Definition at line 130 of file OGLCamera.h.
| NxReal OGLCamera::stepAngleUpDown |
Definition at line 129 of file OGLCamera.h.
| NxVec3 OGLCamera::stepFront |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::stepLeft |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::stepUp |
Definition at line 127 of file OGLCamera.h.
| NxVec3 OGLCamera::to |
Definition at line 123 of file OGLCamera.h.
| NxVec3 OGLCamera::up |
Definition at line 125 of file OGLCamera.h.