LLXformMatrix Class Reference

#include <xform.h>

Inheritance diagram for LLXformMatrix:

Inheritance graph
[legend]
Collaboration diagram for LLXformMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLXformMatrix ()
virtual ~LLXformMatrix ()
const LLMatrix4getWorldMatrix () 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

Detailed Description

Definition at line 130 of file xform.h.


Constructor & Destructor Documentation

LLXformMatrix::LLXformMatrix (  )  [inline]

Definition at line 133 of file xform.h.

LLXformMatrix::~LLXformMatrix (  )  [virtual]

Definition at line 65 of file xform.cpp.


Member Function Documentation

void LLXformMatrix::getMinMax ( LLVector3 min,
LLVector3 max 
) const

Definition at line 115 of file xform.cpp.

References mMax, and mMin.

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().

void LLXformMatrix::init ( void   )  [inline]

Reimplemented from LLXform.

Definition at line 139 of file xform.h.

References LLVector3::clearVec(), LLMatrix4::identity(), LLXform::init(), mMax, mMin, and mWorldMatrix.

void LLXformMatrix::setWorldMatrix ( const LLMatrix4 mat  )  [inline]

Definition at line 137 of file xform.h.

References 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().

void LLXformMatrix::updateMatrix ( BOOL  update_bounds = TRUE  ) 

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().


Member Data Documentation

LLVector3 LLXformMatrix::mMax [protected]

Definition at line 155 of file xform.h.

Referenced by getMinMax(), init(), and updateMatrix().

LLVector3 LLXformMatrix::mMin [protected]

Definition at line 154 of file xform.h.

Referenced by getMinMax(), init(), and updateMatrix().

LLMatrix4 LLXformMatrix::mWorldMatrix [protected]

Definition at line 153 of file xform.h.

Referenced by getWorldMatrix(), init(), setWorldMatrix(), and updateMatrix().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:12:04 2010 for Second Life Viewer by  doxygen 1.4.7