LLFollowCamParams Class Reference

#include <llfollowcam.h>

Inheritance diagram for LLFollowCamParams:

Inheritance graph
[legend]
Collaboration diagram for LLFollowCamParams:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFollowCamParams ()
virtual ~LLFollowCamParams ()
virtual void setPositionLag (F32)
virtual void setFocusLag (F32)
virtual void setFocusThreshold (F32)
virtual void setPositionThreshold (F32)
virtual void setDistance (F32)
virtual void setPitch (F32)
virtual void setFocusOffset (const LLVector3 &)
virtual void setBehindnessAngle (F32)
virtual void setBehindnessLag (F32)
virtual void setPosition (const LLVector3 &)
virtual void setFocus (const LLVector3 &)
virtual void setPositionLocked (bool)
virtual void setFocusLocked (bool)
virtual F32 getPositionLag () const
virtual F32 getFocusLag () const
virtual F32 getPositionThreshold () const
virtual F32 getFocusThreshold () const
virtual F32 getDistance () const
virtual F32 getPitch () const
virtual LLVector3 getFocusOffset () const
virtual F32 getBehindnessAngle () const
virtual F32 getBehindnessLag () const
virtual LLVector3 getPosition () const
virtual LLVector3 getFocus () const
virtual bool getFocusLocked () const
virtual bool getPositionLocked () const
virtual bool getUseFocus () const
virtual bool getUsePosition () const

Protected Attributes

F32 mPositionLag
F32 mFocusLag
F32 mFocusThreshold
F32 mPositionThreshold
F32 mDistance
F32 mPitch
LLVector3 mFocusOffset
F32 mBehindnessMaxAngle
F32 mBehindnessLag
F32 mMaxCameraDistantFromSubject
bool mPositionLocked
bool mFocusLocked
bool mUsePosition
bool mUseFocus
LLVector3 mPosition
LLVector3 mFocus

Detailed Description

Definition at line 57 of file llfollowcam.h.


Constructor & Destructor Documentation

LLFollowCamParams::LLFollowCamParams (  ) 

Definition at line 122 of file llfollowcam.cpp.

References DEFAULT_MAX_DISTANCE_FROM_SUBJECT, FOLLOW_CAM_DEFAULT_BEHINDNESS_ANGLE, FOLLOW_CAM_DEFAULT_BEHINDNESS_LAG, FOLLOW_CAM_DEFAULT_DISTANCE, FOLLOW_CAM_DEFAULT_FOCUS_LAG, FOLLOW_CAM_DEFAULT_FOCUS_OFFSET, FOLLOW_CAM_DEFAULT_FOCUS_THRESHOLD, FOLLOW_CAM_DEFAULT_PITCH, FOLLOW_CAM_DEFAULT_POSITION_LAG, FOLLOW_CAM_DEFAULT_POSITION_THRESHOLD, mFocusLocked, mMaxCameraDistantFromSubject, mPositionLocked, mUseFocus, mUsePosition, setBehindnessAngle(), setBehindnessLag(), setDistance(), setFocusLag(), setFocusOffset(), setFocusThreshold(), setPitch(), setPositionLag(), and setPositionThreshold().

LLFollowCamParams::~LLFollowCamParams (  )  [virtual]

Definition at line 147 of file llfollowcam.cpp.


Member Function Documentation

F32 LLFollowCamParams::getBehindnessAngle (  )  const [virtual]

Definition at line 250 of file llfollowcam.cpp.

References mBehindnessMaxAngle.

F32 LLFollowCamParams::getBehindnessLag (  )  const [virtual]

Definition at line 251 of file llfollowcam.cpp.

References mBehindnessLag.

F32 LLFollowCamParams::getDistance (  )  const [virtual]

Definition at line 247 of file llfollowcam.cpp.

References mDistance.

LLVector3 LLFollowCamParams::getFocus (  )  const [virtual]

Definition at line 253 of file llfollowcam.cpp.

References mFocus.

F32 LLFollowCamParams::getFocusLag (  )  const [virtual]

Definition at line 244 of file llfollowcam.cpp.

References mFocusLag.

bool LLFollowCamParams::getFocusLocked (  )  const [virtual]

Definition at line 255 of file llfollowcam.cpp.

References mFocusLocked.

LLVector3 LLFollowCamParams::getFocusOffset (  )  const [virtual]

Definition at line 249 of file llfollowcam.cpp.

References mFocusOffset.

F32 LLFollowCamParams::getFocusThreshold (  )  const [virtual]

Definition at line 246 of file llfollowcam.cpp.

References mFocusThreshold.

F32 LLFollowCamParams::getPitch (  )  const [virtual]

Definition at line 248 of file llfollowcam.cpp.

References mPitch.

LLVector3 LLFollowCamParams::getPosition (  )  const [virtual]

Definition at line 252 of file llfollowcam.cpp.

References mPosition.

F32 LLFollowCamParams::getPositionLag (  )  const [virtual]

Definition at line 243 of file llfollowcam.cpp.

References mPositionLag.

bool LLFollowCamParams::getPositionLocked (  )  const [virtual]

Definition at line 254 of file llfollowcam.cpp.

References mPositionLocked.

Referenced by LLAgent::handleScrollWheel().

F32 LLFollowCamParams::getPositionThreshold (  )  const [virtual]

Definition at line 245 of file llfollowcam.cpp.

References mPositionThreshold.

virtual bool LLFollowCamParams::getUseFocus (  )  const [inline, virtual]

Definition at line 97 of file llfollowcam.h.

References mUseFocus.

virtual bool LLFollowCamParams::getUsePosition (  )  const [inline, virtual]

Definition at line 98 of file llfollowcam.h.

References mUsePosition.

void LLFollowCamParams::setBehindnessAngle ( F32   )  [virtual]

Definition at line 195 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_BEHINDNESS_ANGLE, FOLLOW_CAM_MIN_BEHINDNESS_ANGLE, llclamp(), and mBehindnessMaxAngle.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setBehindnessAngle().

void LLFollowCamParams::setBehindnessLag ( F32   )  [virtual]

Definition at line 189 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_BEHINDNESS_LAG, FOLLOW_CAM_MIN_BEHINDNESS_LAG, llclamp(), and mBehindnessLag.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setBehindnessLag().

void LLFollowCamParams::setDistance ( F32   )  [virtual]

Reimplemented in LLFollowCam.

Definition at line 201 of file llfollowcam.cpp.

References FOLLOW_CAM_MIN_DISTANCE, llclamp(), mDistance, and mMaxCameraDistantFromSubject.

Referenced by LLFollowCamParams(), LLFollowCamMgr::setDistance(), and LLFollowCam::setDistance().

void LLFollowCamParams::setFocus ( const LLVector3  )  [virtual]

Reimplemented in LLFollowCam.

Definition at line 234 of file llfollowcam.cpp.

References f, mFocus, and mUseFocus.

Referenced by LLFollowCamMgr::setFocus(), and LLFollowCam::setFocus().

void LLFollowCamParams::setFocusLag ( F32   )  [virtual]

Definition at line 161 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_FOCUS_LAG, FOLLOW_CAM_MIN_FOCUS_LAG, llclamp(), and mFocusLag.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setFocusLag().

void LLFollowCamParams::setFocusLocked ( bool   )  [virtual]

Reimplemented in LLFollowCam.

Definition at line 213 of file llfollowcam.cpp.

References mFocusLocked.

Referenced by LLFollowCamMgr::setFocusLocked(), and LLFollowCam::setFocusLocked().

void LLFollowCamParams::setFocusOffset ( const LLVector3  )  [virtual]

Definition at line 220 of file llfollowcam.cpp.

References LLVector3::clamp(), FOLLOW_CAM_MAX_FOCUS_OFFSET, FOLLOW_CAM_MIN_FOCUS_OFFSET, mFocusOffset, and v.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setFocusOffset().

void LLFollowCamParams::setFocusThreshold ( F32   )  [virtual]

Definition at line 175 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_FOCUS_THRESHOLD, FOLLOW_CAM_MIN_FOCUS_THRESHOLD, llclamp(), and mFocusThreshold.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setFocusThreshold().

void LLFollowCamParams::setPitch ( F32   )  [virtual]

Reimplemented in LLFollowCam.

Definition at line 182 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_PITCH, FOLLOW_CAM_MIN_PITCH, llclamp(), and mPitch.

Referenced by LLFollowCamParams(), LLFollowCamMgr::setPitch(), and LLFollowCam::setPitch().

void LLFollowCamParams::setPosition ( const LLVector3  )  [virtual]

Reimplemented in LLFollowCam.

Definition at line 227 of file llfollowcam.cpp.

References mPosition, mUsePosition, and p.

Referenced by LLFollowCamMgr::setPosition(), and LLFollowCam::setPosition().

void LLFollowCamParams::setPositionLag ( F32   )  [virtual]

Definition at line 154 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_POSITION_LAG, FOLLOW_CAM_MIN_POSITION_LAG, llclamp(), and mPositionLag.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setPositionLag().

void LLFollowCamParams::setPositionLocked ( bool   )  [virtual]

Reimplemented in LLFollowCam.

Definition at line 207 of file llfollowcam.cpp.

References mPositionLocked.

Referenced by LLFollowCamMgr::setPositionLocked(), and LLFollowCam::setPositionLocked().

void LLFollowCamParams::setPositionThreshold ( F32   )  [virtual]

Definition at line 168 of file llfollowcam.cpp.

References FOLLOW_CAM_MAX_POSITION_THRESHOLD, FOLLOW_CAM_MIN_POSITION_THRESHOLD, llclamp(), and mPositionThreshold.

Referenced by LLFollowCam::copyParams(), LLFollowCamParams(), and LLFollowCamMgr::setPositionThreshold().


Member Data Documentation

F32 LLFollowCamParams::mBehindnessLag [protected]

Definition at line 109 of file llfollowcam.h.

Referenced by getBehindnessLag(), setBehindnessLag(), and LLFollowCam::updateBehindnessConstraint().

F32 LLFollowCamParams::mBehindnessMaxAngle [protected]

Definition at line 108 of file llfollowcam.h.

Referenced by getBehindnessAngle(), setBehindnessAngle(), and LLFollowCam::updateBehindnessConstraint().

F32 LLFollowCamParams::mDistance [protected]

Definition at line 105 of file llfollowcam.h.

Referenced by getDistance(), LLFollowCam::LLFollowCam(), LLFollowCam::setDistance(), and setDistance().

LLVector3 LLFollowCamParams::mFocus [protected]

Definition at line 117 of file llfollowcam.h.

Referenced by getFocus(), LLFollowCam::setFocus(), setFocus(), and LLFollowCam::update().

F32 LLFollowCamParams::mFocusLag [protected]

Definition at line 102 of file llfollowcam.h.

Referenced by getFocusLag(), setFocusLag(), and LLFollowCam::update().

bool LLFollowCamParams::mFocusLocked [protected]

Definition at line 113 of file llfollowcam.h.

Referenced by getFocusLocked(), LLFollowCamParams(), LLFollowCam::setFocus(), setFocusLocked(), and LLFollowCam::update().

LLVector3 LLFollowCamParams::mFocusOffset [protected]

Definition at line 107 of file llfollowcam.h.

Referenced by getFocusOffset(), setFocusOffset(), and LLFollowCam::update().

F32 LLFollowCamParams::mFocusThreshold [protected]

Definition at line 103 of file llfollowcam.h.

Referenced by getFocusThreshold(), setFocusThreshold(), and LLFollowCam::update().

F32 LLFollowCamParams::mMaxCameraDistantFromSubject [protected]

Definition at line 110 of file llfollowcam.h.

Referenced by LLFollowCamParams(), setDistance(), LLFollowCam::setMaxCameraDistantFromSubject(), LLFollowCam::update(), and LLFollowCam::zoom().

F32 LLFollowCamParams::mPitch [protected]

Definition at line 106 of file llfollowcam.h.

Referenced by LLFollowCam::calculatePitchSineAndCosine(), getPitch(), and setPitch().

LLVector3 LLFollowCamParams::mPosition [protected]

Definition at line 116 of file llfollowcam.h.

Referenced by getPosition(), LLFollowCam::setPosition(), and setPosition().

F32 LLFollowCamParams::mPositionLag [protected]

Definition at line 101 of file llfollowcam.h.

Referenced by getPositionLag(), setPositionLag(), and LLFollowCam::update().

bool LLFollowCamParams::mPositionLocked [protected]

Definition at line 112 of file llfollowcam.h.

Referenced by getPositionLocked(), LLFollowCamParams(), LLFollowCam::setPosition(), setPositionLocked(), and LLFollowCam::update().

F32 LLFollowCamParams::mPositionThreshold [protected]

Definition at line 104 of file llfollowcam.h.

Referenced by getPositionThreshold(), setPositionThreshold(), and LLFollowCam::update().

bool LLFollowCamParams::mUseFocus [protected]

Definition at line 115 of file llfollowcam.h.

Referenced by getUseFocus(), LLFollowCamParams(), and setFocus().

bool LLFollowCamParams::mUsePosition [protected]

Definition at line 114 of file llfollowcam.h.

Referenced by getUsePosition(), LLFollowCamParams(), and setPosition().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:22 2010 for Second Life Viewer by  doxygen 1.4.7