#include <llbbox.h>
Definition at line 42 of file llbbox.h.
LLBBox::LLBBox | ( | const LLVector3 & | pos_agent, | |
const LLQuaternion & | rot, | |||
const LLVector3 & | min_local, | |||
const LLVector3 & | max_local | |||
) | [inline] |
const LLVector3& LLBBox::getPositionAgent | ( | ) | const [inline] |
Definition at line 56 of file llbbox.h.
References mPosAgent.
Referenced by LLManipScale::highlightManipulators(), and LLManipScale::render().
const LLQuaternion& LLBBox::getRotation | ( | ) | const [inline] |
Definition at line 57 of file llbbox.h.
References mRotation.
Referenced by LLSelectMgr::getGrid(), LLManipScale::highlightManipulators(), LLManipScale::render(), and LLManipScale::updateSnapGuides().
const LLVector3& LLBBox::getMinLocal | ( | ) | const [inline] |
Definition at line 59 of file llbbox.h.
References mMinLocal.
Referenced by LLManipScale::highlightManipulators(), LLManipScale::renderCorners(), LLManipScale::renderFaces(), and LLManipScale::unitVectorToLocalBBoxExtent().
void LLBBox::setMinLocal | ( | const LLVector3 & | min | ) | [inline] |
const LLVector3& LLBBox::getMaxLocal | ( | ) | const [inline] |
Definition at line 62 of file llbbox.h.
References mMaxLocal.
Referenced by LLManipScale::highlightManipulators(), LLManipScale::renderCorners(), LLManipScale::renderFaces(), LLManipScale::unitVectorToLocalBBoxExtent(), and LLManipScale::updateSnapGuides().
void LLBBox::setMaxLocal | ( | const LLVector3 & | max | ) | [inline] |
LLVector3 LLBBox::getCenterLocal | ( | ) | const [inline] |
Definition at line 65 of file llbbox.h.
References mMaxLocal, and mMinLocal.
Referenced by getCenterAgent(), LLManipScale::highlightManipulators(), LLManipScale::renderFaces(), LLManipScale::renderGuidelinesPart(), LLViewerWindow::renderSelections(), LLSelectMgr::renderSilhouettes(), setup_hud_matrices(), and LLManipScale::unitVectorToLocalBBoxExtent().
LLVector3 LLBBox::getCenterAgent | ( | ) | const [inline] |
Definition at line 66 of file llbbox.h.
References getCenterLocal(), and localToAgent().
Referenced by LLSelectMgr::getGrid(), LLManip::getPivotPoint(), LLManip::getSavedPivotPoint(), LLToolsLookAtSelection::handleEvent(), LLManipScale::handleMouseDownOnPart(), LLManipScale::renderFaces(), LLManipScale::renderSnapGuides(), LLManipScale::stretchFace(), LLSelectMgr::updateSelectionCenter(), and LLManipScale::updateSnapGuides().
LLVector3 LLBBox::getExtentLocal | ( | ) | const [inline] |
Definition at line 68 of file llbbox.h.
References mMaxLocal, and mMinLocal.
Referenced by LLSelectMgr::getGrid(), LLToolsLookAtSelection::handleEvent(), LLManipScale::render(), LLManipScale::renderEdges(), LLSelectNode::renderOneSilhouette(), LLViewerWindow::renderSelections(), LLSelectMgr::renderSilhouettes(), and setup_hud_matrices().
Definition at line 135 of file llbbox.cpp.
References FALSE, mMaxLocal, mMinLocal, LLVector3::mV, TRUE, VX, VY, and VZ.
Referenced by containsPointAgent().
Definition at line 149 of file llbbox.cpp.
References agentToLocal(), and containsPointLocal().
Referenced by LLAgent::calcFocusOffset().
void LLBBox::addPointAgent | ( | LLVector3 | p | ) |
Definition at line 59 of file llbbox.cpp.
References addPointLocal(), mPosAgent, mRotation, and LLVector3::rotVec().
void LLBBox::addBBoxAgent | ( | const LLBBox & | b | ) |
Definition at line 67 of file llbbox.cpp.
References addPointLocal(), LLVector3::clearVec(), i, mEmpty, mMaxLocal, mMinLocal, mPosAgent, mRotation, LLVector3::mV, LLMatrix4::rotate(), S32, LLVector3::setVec(), LLMatrix4::translate(), VX, VY, and VZ.
Referenced by LLVOAvatar::getHUDBBox(), and LLSelectMgr::updateSelectionCenter().
void LLBBox::addPointLocal | ( | const LLVector3 & | p | ) |
Definition at line 40 of file llbbox.cpp.
References FALSE, llmax(), llmin(), mEmpty, mMaxLocal, mMinLocal, LLVector3::mV, VX, VY, and VZ.
Referenced by addBBoxAgent(), addBBoxLocal(), addPointAgent(), and LLVOAvatar::getHUDBBox().
void LLBBox::addBBoxLocal | ( | const LLBBox & | b | ) | [inline] |
Definition at line 79 of file llbbox.h.
References addPointLocal(), mMaxLocal, and mMinLocal.
void LLBBox::expand | ( | F32 | delta | ) |
Definition at line 98 of file llbbox.cpp.
References mMaxLocal, mMinLocal, LLVector3::mV, VX, VY, and VZ.
Definition at line 108 of file llbbox.cpp.
References mPosAgent, mRotation, and LLMatrix4::translate().
Referenced by getCenterAgent(), LLManipScale::handleMouseDownOnPart(), LLManipScale::stretchFace(), and LLManipScale::updateSnapGuides().
Definition at line 115 of file llbbox.cpp.
References mPosAgent, mRotation, LLMatrix4::rotate(), and LLMatrix4::translate().
Referenced by containsPointAgent(), and LLManipScale::stretchFace().
Definition at line 123 of file llbbox.cpp.
References mRotation.
Referenced by LLManipScale::dragFace().
Definition at line 129 of file llbbox.cpp.
References mRotation.
Referenced by LLManipScale::renderFaces().
LLVector3 LLBBox::mMinLocal [private] |
Definition at line 94 of file llbbox.h.
Referenced by addBBoxAgent(), addBBoxLocal(), addPointLocal(), containsPointLocal(), expand(), getCenterLocal(), getExtentLocal(), getMinLocal(), and setMinLocal().
LLVector3 LLBBox::mMaxLocal [private] |
Definition at line 95 of file llbbox.h.
Referenced by addBBoxAgent(), addBBoxLocal(), addPointLocal(), containsPointLocal(), expand(), getCenterLocal(), getExtentLocal(), getMaxLocal(), and setMaxLocal().
LLVector3 LLBBox::mPosAgent [private] |
Definition at line 96 of file llbbox.h.
Referenced by addBBoxAgent(), addPointAgent(), agentToLocal(), getPositionAgent(), and localToAgent().
LLQuaternion LLBBox::mRotation [private] |
Definition at line 97 of file llbbox.h.
Referenced by addBBoxAgent(), addPointAgent(), agentToLocal(), agentToLocalBasis(), getRotation(), localToAgent(), and localToAgentBasis().
BOOL LLBBox::mEmpty [private] |
Definition at line 98 of file llbbox.h.
Referenced by addBBoxAgent(), addPointLocal(), and LLBBox().