LLCoordFrame Class Reference

#include <llcoordframe.h>

Inheritance diagram for LLCoordFrame:

Inheritance graph
[legend]
Collaboration diagram for LLCoordFrame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLCoordFrame ()
 LLCoordFrame (const LLVector3 &origin)
 LLCoordFrame (const LLVector3 &x_axis, const LLVector3 &y_axis, const LLVector3 &z_axis)
 LLCoordFrame (const LLVector3 &origin, const LLVector3 &x_axis, const LLVector3 &y_axis, const LLVector3 &z_axis)
 LLCoordFrame (const LLVector3 &origin, const LLMatrix3 &rotation)
 LLCoordFrame (const LLVector3 &origin, const LLVector3 &direction)
 LLCoordFrame (const LLQuaternion &q)
 LLCoordFrame (const LLVector3 &origin, const LLQuaternion &q)
 LLCoordFrame (const LLMatrix4 &mat)
BOOL isFinite ()
void reset ()
void resetAxes ()
void setOrigin (F32 x, F32 y, F32 z)
void setOrigin (const LLVector3 &origin)
void setOrigin (const F32 *origin)
void setOrigin (const LLCoordFrame &frame)
void setOriginX (F32 x)
void setOriginY (F32 y)
void setOriginZ (F32 z)
void setAxes (const LLVector3 &x_axis, const LLVector3 &y_axis, const LLVector3 &z_axis)
void setAxes (const LLMatrix3 &rotation_matrix)
void setAxes (const LLQuaternion &q)
void setAxes (const F32 *rotation_matrix)
void setAxes (const LLCoordFrame &frame)
void translate (F32 x, F32 y, F32 z)
void translate (const LLVector3 &v)
void translate (const F32 *origin)
void rotate (F32 angle, F32 x, F32 y, F32 z)
void rotate (F32 angle, const LLVector3 &rotation_axis)
void rotate (const LLQuaternion &q)
void rotate (const LLMatrix3 &m)
void orthonormalize ()
void roll (F32 angle)
void pitch (F32 angle)
void yaw (F32 angle)
const LLVector3 & getOrigin () const
const LLVector3 & getXAxis () const
const LLVector3 & getYAxis () const
const LLVector3 & getZAxis () const
const LLVector3 & getAtAxis () const
const LLVector3 & getLeftAxis () const
const LLVector3 & getUpAxis () const
LLQuaternion getQuaternion () const
void getMatrixToParent (LLMatrix4 &mat) const
void getMatrixToLocal (LLMatrix4 &mat) const
void getRotMatrixToParent (LLMatrix4 &mat) const
size_t writeOrientation (char *buffer) const
size_t readOrientation (const char *buffer)
LLVector3 rotateToLocal (const LLVector3 &v) const
LLVector4 rotateToLocal (const LLVector4 &v) const
LLVector3 rotateToAbsolute (const LLVector3 &v) const
LLVector4 rotateToAbsolute (const LLVector4 &v) const
LLVector3 transformToLocal (const LLVector3 &v) const
LLVector4 transformToLocal (const LLVector4 &v) const
LLVector3 transformToAbsolute (const LLVector3 &v) const
LLVector4 transformToAbsolute (const LLVector4 &v) const
void getOpenGLTranslation (F32 *ogl_matrix) const
void getOpenGLRotation (F32 *ogl_matrix) const
void getOpenGLTransform (F32 *ogl_matrix) const
void lookDir (const LLVector3 &xuv, const LLVector3 &up)
void lookDir (const LLVector3 &xuv)
void lookAt (const LLVector3 &origin, const LLVector3 &point_of_interest, const LLVector3 &up)
void lookAt (const LLVector3 &origin, const LLVector3 &point_of_interest)
void setOriginAndLookAt (const LLVector3 &origin, const LLVector3 &up, const LLVector3 &point_of_interest)

Public Attributes

LLVector3 mOrigin
LLVector3 mXAxis
LLVector3 mYAxis
LLVector3 mZAxis

Friends

std::ostream & operator<< (std::ostream &s, const LLCoordFrame &C)

Detailed Description

Definition at line 45 of file llcoordframe.h.


Constructor & Destructor Documentation

LLCoordFrame::LLCoordFrame (  ) 

Definition at line 50 of file llcoordframe.cpp.

LLCoordFrame::LLCoordFrame ( const LLVector3 &  origin  )  [explicit]

Definition at line 58 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, and reset().

LLCoordFrame::LLCoordFrame ( const LLVector3 &  x_axis,
const LLVector3 &  y_axis,
const LLVector3 &  z_axis 
)

Definition at line 83 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, and reset().

LLCoordFrame::LLCoordFrame ( const LLVector3 &  origin,
const LLVector3 &  x_axis,
const LLVector3 &  y_axis,
const LLVector3 &  z_axis 
)

Definition at line 98 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, and reset().

LLCoordFrame::LLCoordFrame ( const LLVector3 &  origin,
const LLMatrix3 &  rotation 
)

Definition at line 115 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, and reset().

LLCoordFrame::LLCoordFrame ( const LLVector3 &  origin,
const LLVector3 &  direction 
)

Definition at line 71 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, lookDir(), and reset().

LLCoordFrame::LLCoordFrame ( const LLQuaternion &  q  )  [explicit]

Definition at line 129 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, LLMatrix3::mMatrix, mXAxis, mYAxis, mZAxis, reset(), LLVector3::setVec(), VX, VY, and VZ.

LLCoordFrame::LLCoordFrame ( const LLVector3 &  origin,
const LLQuaternion &  q 
)

Definition at line 144 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, LLMatrix3::mMatrix, mXAxis, mYAxis, mZAxis, reset(), LLVector3::setVec(), VX, VY, and VZ.

LLCoordFrame::LLCoordFrame ( const LLMatrix4 &  mat  )  [explicit]

Definition at line 159 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, and reset().


Member Function Documentation

const LLVector3& LLCoordFrame::getAtAxis (  )  const [inline]

Definition at line 113 of file llcoordframe.h.

References mXAxis.

Referenced by LLParticlePartition::addGeometryCount(), audio_update_listener(), LLAgent::autoPilot(), LLAgent::calcCameraPositionTargetGlobal(), LLSpatialPartition::calcDistance(), LLAgent::cameraPanIn(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToThirdPerson(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLCompass::draw(), LLWorldMapView::drawFrustum(), LLAgent::endAnimationUpdateUI(), LLDrawPoolClouds::enqueue(), LLAgent::getAtAxis(), LLVOClouds::getGeometry(), LLAgent::getHeadRotation(), LLManip::getManipNormal(), LLViewerCamera::getPixelVectors(), LLNetMap::globalPosToView(), LLToolGun::handleHover(), LLManipTranslate::handleHover(), LLToolSelectRect::handleRectangleSelection(), hud_render_text(), init_audio(), LLViewerWindow::mouseDirectionGlobal(), LLPanelLandOptions::onClickSet(), LLAgent::pitch(), LLVOGrass::plantBlades(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), raycast_for_new_obj_pos(), LLViewerParcelOverlay::renderPropertyLines(), LLManipScale::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLManip::renderXYZ(), LLAgent::resetCamera(), send_agent_update(), LLAgent::setFocusOnAvatar(), LLAgent::setStartPosition(), LLAgent::setupSitCamera(), LLSpatialBridge::transformCamera(), LLDebugText::update(), LLAgent::updateCamera(), LLViewerCamera::updateCameraLocation(), LLVOAvatar::updateCharacter(), LLDrawable::updateDistance(), LLSprite::updateFace(), LLVOSky::updateFog(), LLVOSky::updateGeometry(), LLVOGround::updateGeometry(), LLVOClouds::updateGeometry(), LLAgent::updateLookAt(), LLVOSky::updateReflectionGeometry(), LLManipScale::updateSnapGuides(), LLVOTextBubble::updateTextures(), LLHUDText::updateVisibility(), LLManipRotate::updateVisiblity(), and LLNetMap::viewPosToGlobal().

const LLVector3& LLCoordFrame::getLeftAxis (  )  const [inline]

Definition at line 114 of file llcoordframe.h.

References mYAxis.

Referenced by LLAgent::cameraOrbitOver(), LLAgent::cameraPanLeft(), LLAgent::getHeadRotation(), LLAgent::getLeftAxis(), LLViewerCamera::getPixelVectors(), LLToolGrab::handleHoverActive(), LLVOAvatar::idleUpdate(), LLViewerWindow::mouseDirectionGlobal(), LLToolCamera::pickCallback(), LLVoiceVisualizer::render(), LLTracker::renderBeacon(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLViewerCamera::rotateToLeftEye(), LLViewerCamera::rotateToRightEye(), send_agent_update(), LLAgent::setCameraPosAndFocusGlobal(), LLSpatialBridge::transformCamera(), LLDebugText::update(), LLAgent::updateCamera(), LLSprite::updateFace(), and LLVOGround::updateGeometry().

void LLCoordFrame::getMatrixToLocal ( LLMatrix4 &  mat  )  const

Definition at line 471 of file llcoordframe.cpp.

References LLMatrix4::mMatrix, mOrigin, mXAxis, mYAxis, mZAxis, LLMatrix4::setFwdCol(), LLMatrix4::setLeftCol(), and LLMatrix4::setUpCol().

Referenced by LLViewerCamera::getModelview(), and LLDrawPoolAvatar::renderAvatars().

void LLCoordFrame::getMatrixToParent ( LLMatrix4 &  mat  )  const

void LLCoordFrame::getOpenGLRotation ( F32 *  ogl_matrix  )  const

Definition at line 668 of file llcoordframe.cpp.

References f, LLVector3::mV, mXAxis, mYAxis, mZAxis, VX, VY, and VZ.

void LLCoordFrame::getOpenGLTransform ( F32 *  ogl_matrix  )  const

Definition at line 693 of file llcoordframe.cpp.

References f, mOrigin, LLVector3::mV, mXAxis, mYAxis, mZAxis, VX, VY, and VZ.

Referenced by LLViewerCamera::setPerspective().

void LLCoordFrame::getOpenGLTranslation ( F32 *  ogl_matrix  )  const

Definition at line 644 of file llcoordframe.cpp.

References f, mOrigin, LLVector3::mV, VX, VY, and VZ.

const LLVector3& LLCoordFrame::getOrigin (  )  const [inline]

Definition at line 107 of file llcoordframe.h.

References mOrigin.

Referenced by LLParticlePartition::addGeometryCount(), calc_desired_size(), LLSpatialPartition::calcDistance(), LLAgent::calcFocusOffset(), LLPipeline::calcNearbyLights(), LLPipeline::calcPixelArea(), LLViewerCamera::cameraUnderWater(), display(), earlyFail(), LLDrawPoolClouds::enqueue(), LLPipeline::generateReflectionMap(), LLAgent::getCameraPositionAgent(), LLAgent::getCameraPositionGlobal(), LLViewerWindow::getObjectUnderCursor(), LLViewerCamera::getPixelVectors(), LLAgent::getPositionAgent(), LLAgent::getPositionGlobal(), LLManip::getSubdivisionLevel(), LLToolsLookAtSelection::handleEvent(), LLToolSelectRect::handleRectangleSelection(), LLManipTranslate::highlightIntersection(), LLManipTranslate::highlightManipulators(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), hud_render_text(), LLVOAvatar::idleUpdate(), LLSnapshotLivePreview::onIdle(), operator<<(), LLVOGrass::plantBlades(), LLPipeline::postSort(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), LLHUDConnector::render(), LLPreviewAnimation::render(), LLDrawPoolStars::render(), LLDrawPoolSky::render(), LLDrawPoolGlow::render(), LLDrawPoolGround::render(), LLHUDIcon::renderIcon(), LLSelectNode::renderOneSilhouette(), LLViewerParcelOverlay::renderPropertyLines(), LLManipTranslate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLManip::renderXYZ(), LLViewerCamera::roundToPixel(), setOrigin(), LLVOPartGroup::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), LLAgent::setRegion(), setup_clip_plane(), LLDrawPoolWater::shade(), LLSpatialBridge::transformCamera(), LLViewerJoystick::updateCamera(), LLAgent::updateCamera(), LLViewerCamera::updateCameraLocation(), LLDrawable::updateDistance(), LLSprite::updateFace(), LLViewerCamera::updateFrustumPlanes(), LLVOPartGroup::updateGeometry(), LLVOClouds::updateGeometry(), LLSelectMgr::updateSilhouettes(), LLManipScale::updateSnapGuides(), LLViewerCamera::updateStereoValues(), and LLHUDText::updateVisibility().

LLQuaternion LLCoordFrame::getQuaternion (  )  const

Definition at line 464 of file llcoordframe.cpp.

References mXAxis, mYAxis, and mZAxis.

Referenced by LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcFocusPositionTargetGlobal(), LLVOAvatar::getOffObject(), LLAgent::getQuat(), LLLandSit::handleEvent(), hud_render_text(), LLSnapshotLivePreview::onIdle(), send_agent_update(), LLViewerJoystick::updateCamera(), LLAgent::updateCamera(), and LLAgent::updateLookAt().

void LLCoordFrame::getRotMatrixToParent ( LLMatrix4 &  mat  )  const

Definition at line 483 of file llcoordframe.cpp.

References mXAxis, mYAxis, mZAxis, LLMatrix4::setFwdRow(), LLMatrix4::setLeftRow(), and LLMatrix4::setUpRow().

const LLVector3& LLCoordFrame::getUpAxis (  )  const [inline]

Definition at line 115 of file llcoordframe.h.

References mZAxis.

Referenced by audio_update_listener(), LLAgent::cameraPanUp(), LLViewerCamera::getPixelVectors(), LLAgent::getUpAxis(), LLToolGrab::handleHoverActive(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), init_audio(), LLViewerWindow::mouseDirectionGlobal(), LLVoiceVisualizer::render(), LLDrawPoolWater::render(), LLHUDIcon::renderIcon(), LLDrawPoolWater::renderShaderSimple(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLViewerCamera::rotateToLeftEye(), LLViewerCamera::rotateToRightEye(), send_agent_update(), LLDrawPoolWater::shade(), LLSpatialBridge::transformCamera(), LLAgent::updateCamera(), LLSprite::updateFace(), and LLManipScale::updateSnapGuides().

const LLVector3& LLCoordFrame::getXAxis (  )  const [inline]

Definition at line 109 of file llcoordframe.h.

References mXAxis.

Referenced by LLDrawable::applyLightsAsPoint(), LLVOPartGroup::getGeometry(), hud_render_text(), operator<<(), and setAxes().

const LLVector3& LLCoordFrame::getYAxis (  )  const [inline]

Definition at line 110 of file llcoordframe.h.

References mYAxis.

Referenced by hud_render_text(), operator<<(), and setAxes().

const LLVector3& LLCoordFrame::getZAxis (  )  const [inline]

Definition at line 111 of file llcoordframe.h.

References mZAxis.

Referenced by operator<<(), and setAxes().

BOOL LLCoordFrame::isFinite (  )  [inline]

Definition at line 69 of file llcoordframe.h.

References LLVector3::isFinite(), mOrigin, mXAxis, mYAxis, and mZAxis.

Referenced by LLCoordFrame(), readOrientation(), rotate(), and setAxes().

void LLCoordFrame::lookAt ( const LLVector3 &  origin,
const LLVector3 &  point_of_interest 
)

Definition at line 750 of file llcoordframe.cpp.

References f, lookDir(), LLVector3::normVec(), and setOrigin().

void LLCoordFrame::lookAt ( const LLVector3 &  origin,
const LLVector3 &  point_of_interest,
const LLVector3 &  up 
)

Definition at line 742 of file llcoordframe.cpp.

References lookDir(), LLVector3::normVec(), and setOrigin().

Referenced by setOriginAndLookAt().

void LLCoordFrame::lookDir ( const LLVector3 &  xuv  ) 

Definition at line 736 of file llcoordframe.cpp.

References f, and lookDir().

void LLCoordFrame::lookDir ( const LLVector3 &  xuv,
const LLVector3 &  up 
)

Definition at line 718 of file llcoordframe.cpp.

References f, left, setAxes(), VX, VY, and VZ.

Referenced by LLCoordFrame(), lookAt(), and lookDir().

void LLCoordFrame::orthonormalize (  ) 

Definition at line 585 of file llcoordframe.cpp.

References mXAxis, mYAxis, mZAxis, and LLVector3::normVec().

Referenced by rotate().

void LLCoordFrame::pitch ( F32  angle  ) 

Definition at line 435 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mXAxis, mYAxis, mZAxis, reset(), and rotate().

Referenced by LLAgent::pitch(), and LLAgent::updateLookAt().

size_t LLCoordFrame::readOrientation ( const char *  buffer  ) 

Definition at line 504 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, mOrigin, LLVector3::mV, mXAxis, mYAxis, mZAxis, and reset().

void LLCoordFrame::reset (  ) 

Definition at line 205 of file llcoordframe.cpp.

References f, mOrigin, resetAxes(), and LLVector3::setVec().

Referenced by LLCoordFrame(), pitch(), readOrientation(), roll(), rotate(), setAxes(), setOrigin(), translate(), and yaw().

void LLCoordFrame::resetAxes (  ) 

Definition at line 212 of file llcoordframe.cpp.

References f, mXAxis, mYAxis, mZAxis, and LLVector3::setVec().

Referenced by reset(), and LLAgent::resetAxes().

void LLCoordFrame::roll ( F32  angle  ) 

Definition at line 422 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mXAxis, mYAxis, mZAxis, reset(), and rotate().

Referenced by LLAgent::roll().

void LLCoordFrame::rotate ( const LLMatrix3 &  m  ) 

Definition at line 408 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, mXAxis, mYAxis, orthonormalize(), reset(), and LLVector3::rotVec().

void LLCoordFrame::rotate ( const LLQuaternion &  q  ) 

Definition at line 401 of file llcoordframe.cpp.

References rotate().

void LLCoordFrame::rotate ( F32  angle,
const LLVector3 &  rotation_axis 
)

Definition at line 394 of file llcoordframe.cpp.

References rotate().

void LLCoordFrame::rotate ( F32  angle,
F32  x,
F32  y,
F32  z 
)

Definition at line 387 of file llcoordframe.cpp.

Referenced by LLAgent::cameraOrbitAround(), pitch(), roll(), rotate(), LLAgent::rotate(), yaw(), and LLAgent::yaw().

LLVector4 LLCoordFrame::rotateToAbsolute ( const LLVector4 &  v  )  const

Definition at line 568 of file llcoordframe.cpp.

References LLVector3::mV, LLVector4::mV, mXAxis, mYAxis, mZAxis, VW, VX, VY, and VZ.

LLVector3 LLCoordFrame::rotateToAbsolute ( const LLVector3 &  v  )  const

Definition at line 552 of file llcoordframe.cpp.

References LLVector3::mV, mXAxis, mYAxis, mZAxis, VX, VY, and VZ.

Referenced by LLAgent::calcCameraPositionTargetGlobal(), LLCamera::calculateWorldFrustumPlanes(), and transformToAbsolute().

LLVector4 LLCoordFrame::rotateToLocal ( const LLVector4 &  v  )  const

Definition at line 535 of file llcoordframe.cpp.

References LLVector3::mV, LLVector4::mV, mXAxis, mYAxis, mZAxis, VW, VX, VY, and VZ.

LLVector3 LLCoordFrame::rotateToLocal ( const LLVector3 &  v  )  const

Definition at line 526 of file llcoordframe.cpp.

References mXAxis, mYAxis, and mZAxis.

Referenced by audio_update_wind(), and transformToLocal().

void LLCoordFrame::setAxes ( const LLCoordFrame &  frame  ) 

Definition at line 329 of file llcoordframe.cpp.

References getXAxis(), getYAxis(), getZAxis(), isFinite(), llendl, llwarns, mXAxis, mYAxis, mZAxis, and reset().

void LLCoordFrame::setAxes ( const F32 *  rotation_matrix  ) 

Definition at line 309 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, LLVector3::mV, mXAxis, mYAxis, mZAxis, reset(), VX, VY, and VZ.

void LLCoordFrame::setAxes ( const LLQuaternion &  q  ) 

Definition at line 297 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, reset(), and setAxes().

void LLCoordFrame::setAxes ( const LLMatrix3 &  rotation_matrix  ) 

Definition at line 284 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, LLMatrix3::mMatrix, mXAxis, mYAxis, mZAxis, reset(), LLVector3::setVec(), VX, VY, and VZ.

void LLCoordFrame::setAxes ( const LLVector3 &  x_axis,
const LLVector3 &  y_axis,
const LLVector3 &  z_axis 
)

Definition at line 269 of file llcoordframe.cpp.

References isFinite(), llendl, llwarns, mXAxis, mYAxis, mZAxis, and reset().

Referenced by display(), lookDir(), LLDynamicTexture::postRender(), LLDynamicTexture::preRender(), LLAgent::resetAxes(), setAxes(), and LLSpatialBridge::transformCamera().

void LLCoordFrame::setOrigin ( const LLCoordFrame &  frame  ) 

Definition at line 255 of file llcoordframe.cpp.

References getOrigin(), LLVector3::isFinite(), llendl, llwarns, mOrigin, and reset().

void LLCoordFrame::setOrigin ( const F32 *  origin  ) 

Definition at line 242 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, LLVector3::mV, reset(), VX, VY, and VZ.

void LLCoordFrame::setOrigin ( const LLVector3 &  origin  ) 

Definition at line 232 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, and reset().

void LLCoordFrame::setOrigin ( F32  x,
F32  y,
F32  z 
)

Definition at line 221 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, reset(), and LLVector3::setVec().

Referenced by display(), LLPipeline::generateReflectionMap(), LLAgent::getPositionAgent(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), lookAt(), LLDynamicTexture::postRender(), LLDynamicTexture::preRender(), LLSpatialPartition::processImagery(), LLAgent::setPositionAgent(), LLAgent::setRegion(), LLSpatialBridge::transformCamera(), and LLViewerJoystick::updateCamera().

void LLCoordFrame::setOriginAndLookAt ( const LLVector3 &  origin,
const LLVector3 &  up,
const LLVector3 &  point_of_interest 
) [inline]

Definition at line 163 of file llcoordframe.h.

References lookAt().

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), LLVisualParamHint::render(), LLImagePreviewSculpted::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), and LLViewerCamera::updateCameraLocation().

void LLCoordFrame::setOriginX ( F32  x  )  [inline]

Definition at line 79 of file llcoordframe.h.

References mOrigin, LLVector3::mV, and VX.

void LLCoordFrame::setOriginY ( F32  y  )  [inline]

Definition at line 80 of file llcoordframe.h.

References mOrigin, LLVector3::mV, and VY.

void LLCoordFrame::setOriginZ ( F32  z  )  [inline]

Definition at line 81 of file llcoordframe.h.

References mOrigin, LLVector3::mV, and VZ.

LLVector4 LLCoordFrame::transformToAbsolute ( const LLVector4 &  v  )  const

Definition at line 617 of file llcoordframe.cpp.

References mOrigin, LLVector3::mV, LLVector4::mV, rotateToAbsolute(), VX, VY, and VZ.

LLVector3 LLCoordFrame::transformToAbsolute ( const LLVector3 &  v  )  const

Definition at line 611 of file llcoordframe.cpp.

References mOrigin, and rotateToAbsolute().

Referenced by LLCamera::calculateFrustumPlanes().

LLVector4 LLCoordFrame::transformToLocal ( const LLVector4 &  v  )  const

Definition at line 601 of file llcoordframe.cpp.

References mOrigin, LLVector3::mV, LLVector4::mV, rotateToLocal(), VX, VY, and VZ.

LLVector3 LLCoordFrame::transformToLocal ( const LLVector3 &  v  )  const

Definition at line 595 of file llcoordframe.cpp.

References mOrigin, and rotateToLocal().

void LLCoordFrame::translate ( const F32 *  origin  ) 

Definition at line 371 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, LLVector3::mV, reset(), VX, VY, and VZ.

void LLCoordFrame::translate ( const LLVector3 &  v  ) 

Definition at line 359 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, reset(), and v.

void LLCoordFrame::translate ( F32  x,
F32  y,
F32  z 
)

Definition at line 345 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mOrigin, LLVector3::mV, reset(), VX, VY, and VZ.

Referenced by LLAgent::updateCamera().

size_t LLCoordFrame::writeOrientation ( char *  buffer  )  const

Definition at line 491 of file llcoordframe.cpp.

References mOrigin, LLVector3::mV, mXAxis, mYAxis, and mZAxis.

void LLCoordFrame::yaw ( F32  angle  ) 

Definition at line 448 of file llcoordframe.cpp.

References LLVector3::isFinite(), llendl, llwarns, mXAxis, mYAxis, mZAxis, reset(), and rotate().

Referenced by LLCamera::calculateWorldFrustumPlanes(), and LLAgent::updateLookAt().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLCoordFrame &  C 
) [friend]

Definition at line 763 of file llcoordframe.cpp.


Member Data Documentation

LLVector3 LLCoordFrame::mOrigin

Definition at line 171 of file llcoordframe.h.

Referenced by LLCamera::calculateWorldFrustumPlanes(), getMatrixToLocal(), getOpenGLTransform(), getOpenGLTranslation(), getOrigin(), LLCamera::heightInPixels(), isFinite(), LLCoordFrame(), operator<<(), readOrientation(), reset(), setOrigin(), setOriginX(), setOriginY(), setOriginZ(), LLCamera::sphereInFrustumOld(), transformToAbsolute(), transformToLocal(), translate(), LLCamera::visibleDistance(), LLCamera::visibleHorizDistance(), and writeOrientation().

LLVector3 LLCoordFrame::mXAxis

Definition at line 172 of file llcoordframe.h.

Referenced by LLCamera::calculateWorldFrustumPlanes(), getAtAxis(), getMatrixToLocal(), getOpenGLRotation(), getOpenGLTransform(), LLCamera::getPitch(), getQuaternion(), getRotMatrixToParent(), getXAxis(), LLCamera::getYaw(), isFinite(), LLCoordFrame(), operator<<(), orthonormalize(), pitch(), readOrientation(), resetAxes(), roll(), rotate(), rotateToAbsolute(), rotateToLocal(), setAxes(), LLCamera::sphereInFrustumOld(), LLViewerJoystick::updateCamera(), LLCamera::visibleDistance(), writeOrientation(), and yaw().

LLVector3 LLCoordFrame::mYAxis

Definition at line 173 of file llcoordframe.h.

Referenced by getLeftAxis(), getMatrixToLocal(), getOpenGLRotation(), getOpenGLTransform(), getQuaternion(), getRotMatrixToParent(), getYAxis(), isFinite(), LLCoordFrame(), operator<<(), orthonormalize(), pitch(), readOrientation(), resetAxes(), roll(), rotate(), rotateToAbsolute(), rotateToLocal(), setAxes(), LLCamera::sphereInFrustumOld(), LLViewerJoystick::updateCamera(), LLVOPartGroup::updateGeometry(), writeOrientation(), and yaw().

LLVector3 LLCoordFrame::mZAxis

Definition at line 174 of file llcoordframe.h.

Referenced by getMatrixToLocal(), getOpenGLRotation(), getOpenGLTransform(), getQuaternion(), getRotMatrixToParent(), getUpAxis(), getZAxis(), isFinite(), LLCoordFrame(), operator<<(), orthonormalize(), pitch(), readOrientation(), resetAxes(), roll(), rotateToAbsolute(), rotateToLocal(), setAxes(), LLCamera::sphereInFrustumOld(), LLViewerJoystick::updateCamera(), LLVOPartGroup::updateGeometry(), writeOrientation(), and yaw().


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