#include <xform.h>
Inheritance diagram for LLXformMatrix:
Public Member Functions | |
LLXformMatrix () | |
virtual | ~LLXformMatrix () |
const LLMatrix4 & | getWorldMatrix () const |
void | setWorldMatrix (const LLMatrix4 &mat) |
void | init () |
void | update () |
void | updateMatrix (BOOL update_bounds=TRUE) |
void | getMinMax (LLVector3 &min, LLVector3 &max) const |
Protected Attributes | |
LLMatrix4 | mWorldMatrix |
LLVector3 | mMin |
LLVector3 | mMax |
Definition at line 130 of file xform.h.
Definition at line 115 of file xform.cpp.
Referenced by LLDrawable::getBounds(), and LLDrawable::getMinMax().
const LLMatrix4& LLXformMatrix::getWorldMatrix | ( | ) | const [inline] |
Definition at line 136 of file xform.h.
References mWorldMatrix.
Referenced by LLJoint::getWorldMatrix(), LLDrawable::getWorldMatrix(), LLViewerJointCollisionVolume::render(), LLSpatialBridge::transformCamera(), and LLSpatialBridge::updateSpatialExtents().
Reimplemented from LLXform.
Definition at line 139 of file xform.h.
References LLVector3::clearVec(), LLMatrix4::identity(), LLXform::init(), mMax, mMin, and mWorldMatrix.
void LLXformMatrix::update | ( | ) |
Definition at line 69 of file xform.cpp.
References LLXform::getScale(), LLXform::getScaleChildOffset(), LLXform::getWorldPosition(), LLXform::getWorldRotation(), LLXform::mParent, LLXform::mPosition, LLXform::mRotation, LLXform::mWorldPosition, LLXform::mWorldRotation, and LLVector3::scaleVec().
Referenced by LLVOAvatar::getOffObject(), updateMatrix(), and LLJoint::updateWorldPRSParent().
Definition at line 89 of file xform.cpp.
References f, LLMatrix4::initAll(), LLXform::mChanged, LLMatrix4::mMatrix, mMax, mMin, LLXform::MOVED, LLXform::mScale, LLVector3::mV, mWorldMatrix, LLXform::mWorldPosition, LLXform::mWorldRotation, and update().
Referenced by LLDrawable::shiftPos(), LLJoint::updateWorldMatrix(), and LLDrawable::updateXform().
LLVector3 LLXformMatrix::mMax [protected] |
LLVector3 LLXformMatrix::mMin [protected] |
LLMatrix4 LLXformMatrix::mWorldMatrix [protected] |
Definition at line 153 of file xform.h.
Referenced by getWorldMatrix(), init(), setWorldMatrix(), and updateMatrix().