llmanipscale.cpp File Reference

LLManipScale class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llmanipscale.h"
#include "llmath.h"
#include "v3math.h"
#include "llquaternion.h"
#include "llgl.h"
#include "v4color.h"
#include "llprimitive.h"
#include "llagent.h"
#include "llbbox.h"
#include "llbox.h"
#include "llviewercontrol.h"
#include "llcriticaldamp.h"
#include "llcylinder.h"
#include "lldrawable.h"
#include "llfloatertools.h"
#include "llglheaders.h"
#include "llselectmgr.h"
#include "llstatusbar.h"
#include "llui.h"
#include "llviewercamera.h"
#include "llviewerobject.h"
#include "llviewerwindow.h"
#include "llhudrender.h"
#include "llworld.h"
#include "v2math.h"
#include "llvoavatar.h"

Include dependency graph for llmanipscale.cpp:

Go to the source code of this file.

Functions

BOOL sort_manip_by_z (LLManipScale::ManipulatorHandle *new_manip, LLManipScale::ManipulatorHandle *test_manip)

Variables

const F32 MAX_MANIP_SELECT_DISTANCE_SQUARED = 11.f * 11.f
const F32 SNAP_GUIDE_SCREEN_OFFSET = 0.05f
const F32 SNAP_GUIDE_SCREEN_LENGTH = 0.7f
const F32 SELECTED_MANIPULATOR_SCALE = 1.2f
const F32 MANIPULATOR_SCALE_HALF_LIFE = 0.07f
const S32 NUM_MANIPULATORS = 14
const LLManip::EManipPart MANIPULATOR_IDS [NUM_MANIPULATORS]


Detailed Description

LLManipScale class implementation.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-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 llmanipscale.cpp.


Function Documentation

BOOL sort_manip_by_z ( LLManipScale::ManipulatorHandle new_manip,
LLManipScale::ManipulatorHandle test_manip 
)

Definition at line 176 of file llmanipscale.cpp.

References LLManipScale::ManipulatorHandle::mPosition, LLManipScale::ManipulatorHandle::mType, LLVector3::mV, and VZ.

Referenced by LLManipScale::LLManipScale().


Variable Documentation

const LLManip::EManipPart MANIPULATOR_IDS[NUM_MANIPULATORS]

Initial value:

Definition at line 73 of file llmanipscale.cpp.

Referenced by LLManipScale::conditionalHighlight(), LLManipTranslate::highlightManipulators(), and LLManipScale::highlightManipulators().

const F32 MANIPULATOR_SCALE_HALF_LIFE = 0.07f

Definition at line 70 of file llmanipscale.cpp.

const F32 MAX_MANIP_SELECT_DISTANCE_SQUARED = 11.f * 11.f

Definition at line 66 of file llmanipscale.cpp.

Referenced by LLManipScale::highlightManipulators().

const S32 NUM_MANIPULATORS = 14

Definition at line 71 of file llmanipscale.cpp.

Referenced by LLManipScale::conditionalHighlight(), LLManipScale::highlightManipulators(), and LLManipScale::LLManipScale().

const F32 SELECTED_MANIPULATOR_SCALE = 1.2f

Definition at line 69 of file llmanipscale.cpp.

const F32 SNAP_GUIDE_SCREEN_LENGTH = 0.7f

Definition at line 68 of file llmanipscale.cpp.

Referenced by LLManipScale::updateSnapGuides().

const F32 SNAP_GUIDE_SCREEN_OFFSET = 0.05f

Definition at line 67 of file llmanipscale.cpp.

Referenced by LLManipScale::updateSnapGuides().


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