llcamera.h File Reference

Header file for the LLCamera class. More...

#include "llmath.h"
#include "llcoordframe.h"
#include "llplane.h"

Include dependency graph for llcamera.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLCamera
struct  LLCamera::frustum_plane

Functions

static const LLVector3 X_AXIS (1.f, 0.f, 0.f)
static const LLVector3 Y_AXIS (0.f, 1.f, 0.f)
static const LLVector3 Z_AXIS (0.f, 0.f, 1.f)
static const LLVector3 NEG_X_AXIS (-1.f, 0.f, 0.f)
static const LLVector3 NEG_Y_AXIS (0.f,-1.f, 0.f)
static const LLVector3 NEG_Z_AXIS (0.f, 0.f,-1.f)

Variables

const F32 DEFAULT_FIELD_OF_VIEW = 60.f * DEG_TO_RAD
const F32 DEFAULT_ASPECT_RATIO = 640.f / 480.f
const F32 DEFAULT_NEAR_PLANE = 0.25f
const F32 DEFAULT_FAR_PLANE = 64.f
const F32 MAX_FIELD_OF_VIEW = F_PI
const F32 MAX_ASPECT_RATIO = 50.0f
const F32 MAX_NEAR_PLANE = 10.f
const F32 MAX_FAR_PLANE = 100000.0f
const F32 MAX_FAR_CLIP = 512.0f
const F32 MIN_FIELD_OF_VIEW = 0.1f
const F32 MIN_ASPECT_RATIO = 0.02f
const F32 MIN_NEAR_PLANE = 0.1f
const F32 MIN_FAR_PLANE = 0.2f


Detailed Description

Header file for the LLCamera class.

LicenseInfo
firstyear=2000&license=viewergpl

Copyright (c) 2000-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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 llcamera.h.


Function Documentation

static const LLVector3 NEG_X_AXIS ( -1.  f,
0.  f,
0.  f 
) [static]

static const LLVector3 NEG_Y_AXIS ( 0.  f,
-1.  f,
0.  f 
) [static]

static const LLVector3 NEG_Z_AXIS ( 0.  f,
0.  f,
-1.  f 
) [static]

static const LLVector3 X_AXIS ( 1.  f,
0.  f,
0.  f 
) [static]

static const LLVector3 Y_AXIS ( 0.  f,
1.  f,
0.  f 
) [static]

static const LLVector3 Z_AXIS ( 0.  f,
0.  f,
1.  f 
) [static]


Variable Documentation

const F32 DEFAULT_ASPECT_RATIO = 640.f / 480.f

Definition at line 41 of file llcamera.h.

const F32 DEFAULT_FAR_PLANE = 64.f

Definition at line 43 of file llcamera.h.

Referenced by LLCamera::LLCamera().

const F32 DEFAULT_NEAR_PLANE = 0.25f

Definition at line 42 of file llcamera.h.

const F32 MAX_ASPECT_RATIO = 50.0f

Definition at line 46 of file llcamera.h.

Referenced by LLCamera::LLCamera(), and LLCamera::setAspect().

const F32 MAX_FAR_CLIP = 512.0f

Definition at line 49 of file llcamera.h.

Referenced by LLViewerCamera::setPerspective(), and LLViewerWindow::setup3DRender().

const F32 MAX_FAR_PLANE = 100000.0f

Definition at line 48 of file llcamera.h.

Referenced by LLCamera::LLCamera(), and LLCamera::setFar().

Definition at line 45 of file llcamera.h.

Referenced by LLCamera::LLCamera(), LLCamera::setView(), and update_fov().

const F32 MAX_NEAR_PLANE = 10.f

Definition at line 47 of file llcamera.h.

Referenced by LLCamera::LLCamera(), and LLCamera::setNear().

const F32 MIN_ASPECT_RATIO = 0.02f

Definition at line 52 of file llcamera.h.

Referenced by LLCamera::LLCamera(), and LLCamera::setAspect().

const F32 MIN_FAR_PLANE = 0.2f

Definition at line 54 of file llcamera.h.

Referenced by LLCamera::LLCamera(), and LLCamera::setFar().

const F32 MIN_FIELD_OF_VIEW = 0.1f

Definition at line 51 of file llcamera.h.

Referenced by LLCamera::LLCamera(), LLCamera::setView(), and update_fov().

const F32 MIN_NEAR_PLANE = 0.1f


Generated on Fri May 16 08:35:06 2008 for SecondLife by  doxygen 1.5.5