#include <xform.h>
Definition at line 45 of file xform.h.
typedef enum LLXform::e_changed_flags LLXform::EChangedFlags |
LLXform::LLXform | ( | ) |
void LLXform::init | ( | void | ) | [inline] |
Reimplemented in LLXformMatrix, and LLVOSky.
Definition at line 77 of file xform.h.
References LLVector3::clearVec(), FALSE, LLQuaternion::loadIdentity(), mChanged, mParent, mPosition, mRotation, mScale, mScaleChildOffset, mWorldPosition, mWorldRotation, NULL, LLVector3::setVec(), and UNCHANGED.
Referenced by LLXformMatrix::init(), and LLXform().
void LLXform::getLocalMat4 | ( | LLMatrix4 & | mat | ) | const [inline] |
Definition at line 161 of file xform.h.
References FALSE, llendl, llwarns, mParent, and TRUE.
Referenced by LLJoint::addChild(), LLVOAvatar::getOffObject(), LLJoint::removeAllChildren(), LLJoint::removeChild(), LLViewerObject::setParent(), LLViewerJointAttachment::setupDrawable(), and LLVOAvatar::sitOnObject().
void LLXform::setPosition | ( | const LLVector3 & | pos | ) | [inline] |
Definition at line 185 of file xform.h.
References LLVector3::clearVec(), LLVector3::isFinite(), llendl, llwarns, mPosition, setChanged(), and TRANSLATED.
Referenced by LLManipRotate::drag(), LLViewerObject::setPosition(), LLJoint::setPosition(), LLViewerJointAttachment::setupDrawable(), LLDrawable::shiftPos(), and LLDrawable::updateXform().
Definition at line 197 of file xform.h.
References LLVector3::clearVec(), llendl, llfinite, llwarns, mPosition, setChanged(), LLVector3::setVec(), and TRANSLATED.
void LLXform::setPositionX | ( | const F32 | x | ) | [inline] |
Definition at line 209 of file xform.h.
References llendl, llfinite, llwarns, mPosition, LLVector3::mV, setChanged(), TRANSLATED, and VX.
void LLXform::setPositionY | ( | const F32 | y | ) | [inline] |
Definition at line 221 of file xform.h.
References llendl, llfinite, llwarns, mPosition, LLVector3::mV, setChanged(), TRANSLATED, and VY.
void LLXform::setPositionZ | ( | const F32 | z | ) | [inline] |
Definition at line 233 of file xform.h.
References llendl, llfinite, llwarns, mPosition, LLVector3::mV, setChanged(), TRANSLATED, and VZ.
void LLXform::addPosition | ( | const LLVector3 & | pos | ) | [inline] |
Definition at line 245 of file xform.h.
References LLVector3::isFinite(), llendl, llwarns, mPosition, setChanged(), and TRANSLATED.
void LLXform::setScale | ( | const LLVector3 & | scale | ) | [inline] |
Definition at line 254 of file xform.h.
References LLVector3::isFinite(), llendl, llwarns, mScale, SCALED, setChanged(), and LLVector3::setVec().
Referenced by LLJoint::LLJoint(), LLViewerObject::setScale(), LLJoint::setScale(), LLDrawable::shiftPos(), and LLDrawable::updateXform().
Definition at line 265 of file xform.h.
References llendl, llfinite, llwarns, mScale, SCALED, setChanged(), and LLVector3::setVec().
void LLXform::setRotation | ( | const LLQuaternion & | rot | ) | [inline] |
Definition at line 276 of file xform.h.
References LLQuaternion::isFinite(), llendl, llwarns, LLQuaternion::loadIdentity(), mRotation, ROTATED, and setChanged().
Referenced by LLViewerObject::setRotation(), LLJoint::setRotation(), LLViewerJointAttachment::setupDrawable(), LLDrawable::shiftPos(), and LLDrawable::updateXform().
Definition at line 287 of file xform.h.
References llendl, llfinite, llwarns, LLQuaternion::loadIdentity(), mRotation, ROTATED, setChanged(), and LLQuaternion::setQuat().
Definition at line 300 of file xform.h.
References llendl, llfinite, llwarns, LLQuaternion::loadIdentity(), LLQuaternion::mQ, mRotation, ROTATED, setChanged(), VS, VX, VY, and VZ.
void LLXform::setChanged | ( | const U32 | bits | ) | [inline] |
Definition at line 110 of file xform.h.
References mChanged.
Referenced by addPosition(), LLViewerObject::applyAngularVelocity(), LLViewerObjectList::findOrphans(), LLViewerObject::idleUpdate(), LLViewerObject::processUpdateMessage(), LLViewerObject::setMaterial(), LLViewerObject::setNumTEs(), LLViewerObject::setPosition(), setPosition(), LLViewerObject::setPositionGlobal(), setPositionX(), setPositionY(), setPositionZ(), LLViewerObject::setRegion(), LLViewerObject::setRotation(), setRotation(), setScale(), LLViewerObject::setTEBumpmap(), LLViewerObject::setTEColor(), LLViewerObject::setTEFullbright(), LLViewerObject::setTEGlow(), LLViewerObject::setTEImage(), LLViewerObject::setTEMediaFlags(), LLViewerObject::setTEScale(), LLViewerObject::setTEShiny(), LLViewerObject::setTETexGen(), LLViewerObject::setTETextureCore(), LLPrimitive::setVolume(), and LLVOAvatar::slamPosition().
BOOL LLXform::isChanged | ( | ) | const [inline] |
Definition at line 111 of file xform.h.
References mChanged.
Referenced by LLViewerObject::updateDrawable(), and LLSelectMgr::updateSilhouettes().
void LLXform::clearChanged | ( | ) | [inline] |
Definition at line 113 of file xform.h.
References mChanged.
Referenced by LLVOGrass::updateDrawable(), LLVOClouds::updateDrawable(), LLVOAvatar::updateDrawable(), LLStaticViewerObject::updateDrawable(), LLViewerObject::updateDrawable(), and LLSelectMgr::updateSilhouettes().
void LLXform::clearChanged | ( | U32 | bits | ) | [inline] |
void LLXform::setScaleChildOffset | ( | BOOL | scale | ) | [inline] |
Definition at line 116 of file xform.h.
References mScaleChildOffset.
Referenced by LLJoint::LLJoint().
BOOL LLXform::getScaleChildOffset | ( | ) | [inline] |
Definition at line 117 of file xform.h.
References mScaleChildOffset.
Referenced by LLXformMatrix::update().
LLXform* LLXform::getParent | ( | ) | const [inline] |
Definition at line 119 of file xform.h.
References mParent.
Referenced by LLPipeline::addObject(), LLSelectionPayable::apply(), complete_give_money(), LLToolDragAndDrop::dad3dRezScript(), LLToolDragAndDrop::dad3dUpdateInventory(), LLToolDragAndDrop::dad3dUpdateInventoryCategory(), LLSelectMgr::deselectObjectAndFamily(), LLVolumeImplFlexible::doIdleUpdate(), LLVolumeImplFlexible::doUpdateGeometry(), LLManipRotate::drag(), LLViewerObject::dump(), enable_detach(), find_avatar(), find_avatar_from_object(), LLVOAvatar::findAvatarFromAttachment(), LLViewerObject::getBoundingBoxAgent(), LLVOAvatar::getOffObject(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionEdit(), LLViewerObject::getPositionRegion(), LLViewerObject::getRotationEdit(), LLViewerObject::getRotationRegion(), getSelectedParentObject(), LLViewerObject::getSubParent(), LLAttachmentDetach::handleEvent(), LLAttachmentDrop::handleEvent(), LLEnablePayObject::handleEvent(), LLManipTranslate::handleHover(), LLVOAvatar::idleUpdate(), LLViewerObject::idleUpdate(), LLMuteList::isMuted(), LLViewerObject::markDead(), LLViewerObjectList::orphanize(), LLViewerWindow::performPick(), LLViewerObject::permAnyOwner(), LLViewerObject::permCopy(), LLViewerObject::permGroupOwner(), LLViewerObject::permModify(), LLViewerObject::permMove(), LLViewerObject::permOwnerModify(), LLViewerObject::permTransfer(), LLViewerObject::permYouOwner(), LLToolPie::pickAndShowMenu(), LLViewerObject::processUpdateMessage(), LLSelectMgr::promoteSelectionToRoot(), renderScriptedBeacons(), renderScriptedTouchBeacons(), LLSelectMgr::saveSelectedObjectTransform(), LLSelectMgr::selectObjectAndFamily(), LLAgent::setLookAt(), LLVOVolume::setParent(), LLViewerObject::setPositionAbsoluteGlobal(), LLViewerObject::setPositionEdit(), LLViewerObject::setPositionGlobal(), LLViewerObject::setPositionRegion(), LLVOAvatar::updateCharacter(), LLViewerObject::updateDrawable(), LLAudioSourceVO::updateGain(), LLViewerObject::updatePositionCaches(), LLSelectMgr::updateSilhouettes(), and LLHoverView::updateText().
LLXform * LLXform::getRoot | ( | ) | const |
Definition at line 45 of file xform.cpp.
References mParent.
Referenced by LLSelectMgr::deselectHighlightedObjects(), LLSelectMgr::deselectObjectAndFamily(), LLFloaterReporter::getObjectInfo(), LLToolGrab::handleHoverActive(), LLSelectMgr::highlightObjectAndFamily(), LLVOAvatar::idleUpdate(), process_avatar_sit_response(), sitting_on_selection(), LLSelectMgr::unhighlightObjectAndFamily(), and LLSelectMgr::updateSilhouettes().
BOOL LLXform::isRoot | ( | ) | const [virtual] |
Definition at line 55 of file xform.cpp.
References mParent.
Referenced by LLViewerObject::getPositionRegion(), LLVOAvatar::getRenderPosition(), LLViewerObject::getRotationRegion(), LLFloaterInspect::refresh(), LLSelectMgr::renderSilhouettes(), LLViewerObject::setPosition(), LLViewerObject::setPositionAbsoluteGlobal(), LLViewerObject::setPositionGlobal(), LLViewerObject::setPositionParent(), LLViewerObject::updatePositionCaches(), LLSelectMgr::updateSilhouettes(), and LLDrawable::updateXform().
BOOL LLXform::isRootEdit | ( | ) | const [virtual] |
Reimplemented in LLVOVolume.
Definition at line 60 of file xform.cpp.
References mParent.
Referenced by LLVolumeImplFlexible::doIdleUpdate(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLViewerObject::getPositionEdit(), LLViewerObject::getRotationEdit(), LLManipTranslate::handleHover(), LLViewerObject::permAnyOwner(), LLViewerObject::permCopy(), LLViewerObject::permGroupOwner(), LLViewerObject::permModify(), LLViewerObject::permMove(), LLViewerObject::permOwnerModify(), LLViewerObject::permTransfer(), LLViewerObject::permYouOwner(), LLSelectMgr::promoteSelectionToRoot(), LLFloaterInspect::refresh(), LLSelectMgr::renderSilhouettes(), LLSelectMgr::saveSelectedObjectTransform(), LLSelectMgr::selectHighlightedObjects(), LLSelectMgr::sendListToRegions(), LLViewerObject::setPositionAbsoluteGlobal(), LLViewerObject::setPositionEdit(), LLViewerObject::setPositionGlobal(), LLViewerObject::setPositionRegion(), LLManipScale::stretchFace(), and LLSelectMgr::updateSilhouettes().
const LLVector3& LLXform::getPosition | ( | void | ) | const [inline] |
Definition at line 124 of file xform.h.
References mPosition.
Referenced by LLViewerJointAttachment::clampObjectPosition(), LLManipScale::drag(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLSelectMgr::dump(), LLVOAvatar::getHUDBBox(), LLDrawable::getPosition(), LLJoint::getPosition(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionEdit(), LLViewerObject::getPositionRegion(), LLVOAvatar::getRenderPosition(), handle_dump_attachments(), LLManipTranslate::handleHover(), LLViewerObject::idleUpdate(), LLFace::init(), notify_cautioned_script_question(), LLSelectMgr::packMultipleUpdate(), LLViewerObject::processUpdateMessage(), LLSelectMgr::saveSelectedObjectTransform(), LLViewerObject::setPosition(), LLViewerObject::setPositionEdit(), LLViewerObject::setPositionGlobal(), LLVOAvatar::sitOnObject(), LLManipScale::stretchFace(), LLViewerObject::updatePositionCaches(), LLVOVolume::updateRelativeXform(), and LLDrawable::updateXform().
const LLVector3& LLXform::getScale | ( | ) | const [inline] |
Definition at line 125 of file xform.h.
References mScale.
Referenced by LLVOVolume::agentPositionToVolume(), LLPipeline::allocDrawable(), calc_shame(), LLVOVolume::calcLOD(), LLVolumeImplFlexible::doIdleUpdate(), LLManipScale::drag(), LLVOVolume::generateSilhouette(), LLVOVolume::getBinRadius(), LLViewerObject::getBinRadius(), LLViewerObject::getBoundingBoxAgent(), LLVOTextBubble::getGeometry(), LLDrawable::getIntensity(), LLViewerObject::getMaxScale(), LLViewerObject::getMidScale(), LLViewerObject::getMinScale(), LLJoint::getScale(), LLPanelObject::getState(), LLSelectMgr::packMultipleUpdate(), process_kill_object(), LLViewerObject::processUpdateMessage(), LLViewerObjectList::renderObjectsForMap(), LLDrawPoolTree::renderTree(), LLVOVolume::setScale(), LLManipScale::stretchFace(), LLXformMatrix::update(), LLVOWater::updateGeometry(), LLVOVolume::updateRadius(), LLVOVolume::updateRelativeXform(), LLVOWater::updateSpatialExtents(), LLVOTree::updateSpatialExtents(), LLVOSurfacePatch::updateSpatialExtents(), LLViewerObject::updateSpatialExtents(), LLViewerObject::updateText(), and LLVOVolume::volumePositionToAgent().
const LLQuaternion& LLXform::getRotation | ( | ) | const [inline] |
Definition at line 126 of file xform.h.
References mRotation.
Referenced by LLViewerObject::applyAngularVelocity(), LLManipRotate::drag(), LLVOAvatar::getCharacterRotation(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionRegion(), LLViewerObject::getRenderRotation(), LLDrawable::getRotation(), LLJoint::getRotation(), LLViewerObject::getRotationEdit(), LLViewerObject::getRotationRegion(), LLLandSit::handleEvent(), LLManipTranslate::handleHover(), LLVOAvatar::idleUpdate(), LLViewerObject::idleUpdate(), LLSelectMgr::packObjectIDAndRotation(), LLDrawPoolTree::renderTree(), LLSelectMgr::repeatDuplicate(), LLSelectMgr::saveSelectedObjectTransform(), LLSelectMgr::selectDuplicate(), LLAgent::setPositionAgent(), LLViewerObject::setPositionEdit(), LLViewerObject::setPositionGlobal(), LLToolGrab::startGrab(), LLToolGrab::startSpin(), LLSpatialBridge::transformCamera(), LLVOAvatar::updateCharacter(), LLViewerObject::updatePositionCaches(), LLVOVolume::updateRelativeXform(), LLVOTree::updateSpatialExtents(), and LLDrawable::updateXform().
const LLVector3& LLXform::getPositionW | ( | ) | const [inline] |
Definition at line 127 of file xform.h.
References mWorldPosition.
Referenced by LLDrawable::getBounds(), and LLDrawable::getWorldPosition().
const LLQuaternion& LLXform::getWorldRotation | ( | ) | const [inline] |
Definition at line 128 of file xform.h.
References mWorldRotation.
Referenced by LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLManipRotate::drag(), LLViewerObject::getBoundingBoxAgent(), LLSelectMgr::getGrid(), LLJoint::getLastWorldRotation(), LLDrawable::getWorldRotation(), LLJoint::getWorldRotation(), LLManipTranslate::handleHover(), LLSelectMgr::saveSelectedObjectTransform(), LLManipScale::stretchFace(), and LLXformMatrix::update().
const LLVector3& LLXform::getWorldPosition | ( | ) | const [inline] |
Definition at line 129 of file xform.h.
References mWorldPosition.
Referenced by LLManipRotate::drag(), LLViewerObject::getBoundingBoxAgent(), LLSelectMgr::getGrid(), LLJoint::getLastWorldPosition(), LLJoint::getWorldPosition(), LLSelectMgr::saveSelectedObjectTransform(), LLXformMatrix::update(), and LLVOAvatar::updateCharacter().
LLVector3 LLXform::mPosition [protected] |
Definition at line 48 of file xform.h.
Referenced by addPosition(), LLVOGrass::getGeometry(), getLocalMat4(), getPosition(), init(), LLPrimitive::LLPrimitive(), LLVOGrass::plantBlades(), setPosition(), setPositionX(), setPositionY(), setPositionZ(), and LLXformMatrix::update().
LLQuaternion LLXform::mRotation [protected] |
Definition at line 49 of file xform.h.
Referenced by getLocalMat4(), getRotation(), init(), LLPrimitive::LLPrimitive(), setRotation(), and LLXformMatrix::update().
LLVector3 LLXform::mScale [protected] |
Definition at line 50 of file xform.h.
Referenced by LLVOPartGroup::getBinRadius(), LLVOGrass::getGeometry(), getLocalMat4(), getScale(), init(), LLPrimitive::LLPrimitive(), setScale(), LLVOGrass::updateLOD(), LLXformMatrix::updateMatrix(), and LLVOPartGroup::updateSpatialExtents().
LLVector3 LLXform::mWorldPosition [protected] |
Definition at line 54 of file xform.h.
Referenced by getPositionW(), getWorldPosition(), init(), LLXformMatrix::update(), and LLXformMatrix::updateMatrix().
LLQuaternion LLXform::mWorldRotation [protected] |
Definition at line 55 of file xform.h.
Referenced by getWorldRotation(), init(), LLXformMatrix::update(), and LLXformMatrix::updateMatrix().
LLXform* LLXform::mParent [protected] |
Definition at line 57 of file xform.h.
Referenced by getParent(), getRoot(), LLViewerObject::getRootEdit(), init(), isRoot(), LLVOVolume::isRootEdit(), isRootEdit(), LLViewerObject::processUpdateMessage(), setParent(), LLViewerObject::setPositionAbsoluteGlobal(), LLViewerObject::setPositionGlobal(), LLXformMatrix::update(), and LLVOVolume::updateRelativeXform().
U32 LLXform::mChanged [protected] |
Definition at line 58 of file xform.h.
Referenced by clearChanged(), init(), isChanged(), LLPrimitive::LLPrimitive(), setChanged(), and LLXformMatrix::updateMatrix().
BOOL LLXform::mScaleChildOffset [protected] |
Definition at line 60 of file xform.h.
Referenced by getScaleChildOffset(), init(), and setScaleChildOffset().