23 #ifndef __O_GLCAMERA__
24 #define __O_GLCAMERA__
98 void setModeLock(
bool _modeLockUpDown,
bool _modeLockLeftRight,
bool _modeLockSide);
109 void zoom(
double zoomFactor);
All base classes related to 3D manipulation.
SmartPtr< OGLCamera > LPOGLCamera
void getViewPort(double *vp)
void setDefaultZoomFactor(double defaultZoomFactor)
void setMinMaxCurrentSide(NxReal _minSide, NxReal _maxSide, NxReal _currentSide)
NxVec3 getCenter(int sizeX, int sizeY)
void setAngleStep(NxReal _stepAngleUpDown, NxReal _stepAngleLeftRight, NxReal _stepAngleSide)
void elevation(NxReal _angle)
void rotateUpLockSrcKeepUpAndFront()
static NxVec3 displayToWorld(NxVec3 display)
void azimuth(NxReal _angle)
void setAllAngleStep(NxReal _angle)
NxReal stepAngleLeftRight
void setModeLock(bool _modeLockUpDown, bool _modeLockLeftRight, bool _modeLockSide)
void zoom(double zoomFactor)
void getTranslation(double &x, double &y, double &z)
static NxVec3 worldToDisplay(NxVec3 world)
void rotateRightLockSrc()
void setCameraType(CameraType eCameraType)
void calculateStepVectors()
void resetZoom(int w=-1, int h=-1)
void setMinMaxCurrentUpDown(NxReal _minUpDown, NxReal _maxUpDown, NxReal _currentUpDown)
void rotateRightLockDst()
void setTranslation(double x, double y, double z)
void getPosition(double &x, double &y, double &z)
OGLCamera(NxReal *_from, NxReal *_to, NxReal *_up, int w, int h, CameraType eCameraType)
void setSize(int w, int h)
void rotateDownLockSrcKeepUpAndFront()
double m_defaultZoomFactor
void setDistanceStep(NxReal _magnitudeStepUp, NxReal _magnitudeStepFront, NxReal _magnitudeStepLeft)
NxReal magnitudeStepFront
void move(NxReal *_direction)
void setDistanceFromToLockTo(NxReal _distanceFromTo)
void setDistanceFromToLockFrom(NxReal _distanceFromTo)
void setFrom(NxReal *_from)
void setAllMinMaxCurrent(NxReal _angle)
void setMinMaxCurrentLeftRight(NxReal _minLeftRight, NxReal _maxLeftRight, NxReal _currentLeftRight)