#include "llviewerprecompiledheaders.h"
#include "llmaniptranslate.h"
#include "llgl.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 "llfontgl.h"
#include "llglheaders.h"
#include "llhudrender.h"
#include "llresmgr.h"
#include "llselectmgr.h"
#include "llsphere.h"
#include "llstatusbar.h"
#include "lltoolmgr.h"
#include "llviewercamera.h"
#include "llviewerjoint.h"
#include "llviewerobject.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llworld.h"
#include "viewer.h"
#include "llui.h"
#include "pipeline.h"
Include dependency graph for llmaniptranslate.cpp:
Go to the source code of this file.
Functions | |
BOOL | sort_manip_by_end_z (LLManipTranslate::ManipulatorHandle *new_manip, LLManipTranslate::ManipulatorHandle *test_manip) |
Variables | |
const S32 | NUM_AXES = 3 |
const S32 | MOUSE_DRAG_SLOP = 2 |
const F32 | HANDLE_HIDE_ANGLE = 0.15f |
const F32 | SELECTED_ARROW_SCALE = 1.3f |
const F32 | MANIPULATOR_HOTSPOT_START = 0.2f |
const F32 | MANIPULATOR_HOTSPOT_END = 1.2f |
const F32 | SNAP_GUIDE_SCREEN_SIZE = 0.7f |
const F32 | MIN_PLANE_MANIP_DOT_PRODUCT = 0.25f |
const F32 | PLANE_TICK_SIZE = 0.4f |
const F32 | MANIPULATOR_SCALE_HALF_LIFE = 0.07f |
const F32 | SNAP_ARROW_SCALE = 0.7f |
static GLuint | sGridTex = 0 |
const LLManip::EManipPart | MANIPULATOR_IDS [9] |
const U32 | ARROW_TO_AXIS [4] |
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 llmaniptranslate.cpp.
BOOL sort_manip_by_end_z | ( | LLManipTranslate::ManipulatorHandle * | new_manip, | |
LLManipTranslate::ManipulatorHandle * | test_manip | |||
) |
Definition at line 103 of file llmaniptranslate.cpp.
References LLManipTranslate::ManipulatorHandle::mEndPosition, LLVector3::mV, and VZ.
Referenced by LLManipTranslate::LLManipTranslate().
const U32 ARROW_TO_AXIS[4] |
Initial value:
Definition at line 95 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::renderArrow(), and LLManipTranslate::renderSnapGuides().
const F32 HANDLE_HIDE_ANGLE = 0.15f |
Definition at line 70 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::renderTranslationHandles().
const F32 MANIPULATOR_HOTSPOT_END = 1.2f |
Definition at line 73 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::highlightManipulators().
const F32 MANIPULATOR_HOTSPOT_START = 0.2f |
Definition at line 72 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::highlightManipulators().
const LLManip::EManipPart MANIPULATOR_IDS[9] |
Initial value:
{ LLManip::LL_X_ARROW, LLManip::LL_Y_ARROW, LLManip::LL_Z_ARROW, LLManip::LL_X_ARROW, LLManip::LL_Y_ARROW, LLManip::LL_Z_ARROW, LLManip::LL_YZ_PLANE, LLManip::LL_XZ_PLANE, LLManip::LL_XY_PLANE }
Definition at line 82 of file llmaniptranslate.cpp.
const F32 MANIPULATOR_SCALE_HALF_LIFE = 0.07f |
Definition at line 77 of file llmaniptranslate.cpp.
const F32 MIN_PLANE_MANIP_DOT_PRODUCT = 0.25f |
Definition at line 75 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::highlightManipulators(), and LLManipTranslate::renderTranslationHandles().
const S32 MOUSE_DRAG_SLOP = 2 |
Positioning tool
Definition at line 68 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::renderTranslationHandles().
const F32 PLANE_TICK_SIZE = 0.4f |
Definition at line 76 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::highlightManipulators(), and LLManipTranslate::renderTranslationHandles().
const F32 SELECTED_ARROW_SCALE = 1.3f |
Definition at line 71 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::renderTranslationHandles().
GLuint sGridTex = 0 [static] |
Definition at line 80 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::LLManipTranslate(), LLManipTranslate::renderSnapGuides(), and LLManipTranslate::restoreGL().
const F32 SNAP_ARROW_SCALE = 0.7f |
Definition at line 78 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::renderSnapGuides().
const F32 SNAP_GUIDE_SCREEN_SIZE = 0.7f |
Definition at line 74 of file llmaniptranslate.cpp.
Referenced by LLManipTranslate::renderSnapGuides().