llviewercamera.cpp File Reference

LLViewerCamera class implementation. More...

#include <iomanip>
#include "llviewerprecompiledheaders.h"
#include "llviewercamera.h"
#include "llquaternion.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "lldrawable.h"
#include "llface.h"
#include "llgl.h"
#include "llglheaders.h"
#include "llviewerobjectlist.h"
#include "llviewerregion.h"
#include "llviewerwindow.h"
#include "llvovolume.h"
#include "llworld.h"

Include dependency graph for llviewercamera.cpp:

Go to the source code of this file.

Variables

LLViewerCameragCamera = NULL
F64 gGLModelView [16]
F64 gGLProjection [16]
S32 gGLViewport [4]
LLMatrix4 gProjectionMat


Detailed Description

LLViewerCamera class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llviewercamera.cpp.


Variable Documentation

LLViewerCamera* gCamera = NULL

Definition at line 51 of file llviewercamera.cpp.

Referenced by LLParticlePartition::addGeometryCount(), LLViewerWindow::analyzeHit(), LLDrawable::applyLightsAsPoint(), LLPanelDisplay::applyResolution(), audio_update_listener(), LLVOAvatar::buildSkeleton(), calc_desired_size(), LLAgent::calcCustomizeAvatarUIOffset(), LLAgent::calcFocusOffset(), LLAgent::cameraOrbitOver(), LLAgent::cameraPanIn(), LLAgent::cameraPanLeft(), LLAgent::cameraPanUp(), LLAgent::changeCameraToFollow(), LLAgent::changeCameraToThirdPerson(), LLVOVolume::createDrawable(), display(), display_update_camera(), LLVolumeImplFlexible::doIdleUpdate(), LLViewerWindow::draw(), LLNetMap::draw(), LLHorizontalCompass::draw(), LLWorldMapView::drawFrustum(), LLTracker::drawMarker(), LLAgent::endAnimationUpdateUI(), LLDrawPoolClouds::enqueue(), LLPipeline::generateReflectionMap(), LLAgent::getCameraPositionAgent(), LLAgent::getCameraPositionGlobal(), LLVOPartGroup::getGeometry(), LLVOClouds::getGeometry(), LLAgent::getHeadRotation(), LLManip::getManipNormal(), LLManip::getMousePointOnPlaneGlobal(), LLViewerWindow::getObjectUnderCursor(), LLManip::getSubdivisionLevel(), LLVOVolume::getTextureVirtualSize(), LLNetMap::globalPosToView(), LLToolsLookAtSelection::handleEvent(), LLViewZoomDefault::handleEvent(), LLToolGun::handleHover(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), LLManipTranslate::handleMouseDownOnPart(), LLToolCamera::handleMouseUp(), LLToolSelectRect::handleRectangleSelection(), LLManipTranslate::highlightIntersection(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), hud_render_text(), idle(), idle_startup(), LLVOAvatar::idleUpdate(), LLDrawable::incrementVisible(), LLAgent::init(), init_audio(), LLMorphView::initialize(), LLSpatialPartition::isVisible(), LLImagePreviewAvatar::LLImagePreviewAvatar(), LLPreviewAnimation::LLPreviewAnimation(), LLViewerWindow::mouseDirectionCamera(), LLViewerWindow::mouseDirectionGlobal(), LLManipRotate::mouseToRay(), LLManip::nearestPointOnLineFromMouse(), LLSnapshotLivePreview::onIdle(), LLToolGrab::onMouseCaptureLost(), LLToolCamera::pickCallback(), LLVOGrass::plantBlades(), LLFloaterAnimPreview::postBuild(), LLDynamicTexture::postRender(), LLPipeline::postSort(), LLDynamicTexture::preRender(), LLViewerWindow::rawSnapshot(), raycast_for_new_obj_pos(), LLVoiceVisualizer::render(), LLVisualParamHint::render(), LLManipScale::render(), LLHUDConnector::render(), LLImagePreviewSculpted::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), LLDrawPoolWater::render(), LLDrawPoolStars::render(), LLDrawPoolSky::render(), LLDrawPoolGlow::render(), LLDrawPoolGround::render(), render_ui_2d(), LLDrawPoolAvatar::renderAvatars(), LLTracker::renderBeacon(), LLSpatialPartition::renderDebug(), LLHUDIcon::renderIcon(), LLSelectNode::renderOneSilhouette(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerWindow::renderSelections(), LLDrawPoolWater::renderShaderSimple(), LLSelectMgr::renderSilhouettes(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), LLManip::renderXYZ(), LLViewerWindow::reshape(), send_agent_update(), LLAgent::setCameraPosAndFocusGlobal(), LLAgent::setFocusOnAvatar(), LLVOTree::setPixelAreaAndAngle(), LLVOPartGroup::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), LLViewerObject::setPixelAreaAndAngle(), LLAgent::setRegion(), LLViewerWindow::setup3DRender(), setup_clip_plane(), setup_hud_matrices(), LLPipeline::setupAvatarLights(), LLDrawPoolWater::shade(), LLMorphView::shutdown(), LLDebugText::update(), update_fov(), LLHUDText::updateAll(), LLViewerJoystick::updateCamera(), LLAgent::updateCamera(), LLVOAvatar::updateCharacter(), LLSky::updateCull(), LLSprite::updateFace(), LLVOSky::updateFog(), LLVOSky::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOGround::updateGeometry(), LLVOClouds::updateGeometry(), LLVOAvatar::updateHeadOffset(), LLHoverView::updateHover(), LLAgent::updateLookAt(), LLVOSky::updateReflectionGeometry(), LLHUDText::updateScreenPos(), LLSelectMgr::updateSilhouettes(), LLVOSky::updateSky(), LLManipScale::updateSnapGuides(), LLVOVolume::updateTextures(), LLWorld::updateVisibilities(), LLVOAvatar::updateVisibility(), LLSurfacePatch::updateVisibility(), LLHUDText::updateVisibility(), LLManipRotate::updateVisiblity(), LLNetMap::viewPosToGlobal(), and LLAgent::~LLAgent().

F64 gGLModelView[16]

Definition at line 100 of file llviewercamera.cpp.

F64 gGLProjection[16]

Definition at line 101 of file llviewercamera.cpp.

S32 gGLViewport[4]

Definition at line 102 of file llviewercamera.cpp.

Referenced by LLPipeline::bindScreenToTexture(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), LLViewerCamera::projectScreenToPosAgent(), LLDrawPoolStars::render(), and LLViewerCamera::setPerspective().

LLMatrix4 gProjectionMat

Definition at line 142 of file llviewercamera.cpp.

Referenced by LLViewerCamera::setPerspective().


Generated on Thu Jul 1 06:10:46 2010 for Second Life Viewer by  doxygen 1.4.7