LLPreviewAnimation Class Reference

#include <llfloateranimpreview.h>

Inheritance diagram for LLPreviewAnimation:

Inheritance graph
[legend]
Collaboration diagram for LLPreviewAnimation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPreviewAnimation (S32 width, S32 height)
virtual ~LLPreviewAnimation ()
BOOL render ()
void requestUpdate ()
void rotate (F32 yaw_radians, F32 pitch_radians)
void zoom (F32 zoom_delta)
void setZoom (F32 zoom_amt)
void pan (F32 right, F32 up)
virtual BOOL needsUpdate ()
LLVOAvatargetDummyAvatar ()

Protected Attributes

BOOL mNeedsUpdate
F32 mCameraDistance
F32 mCameraYaw
F32 mCameraPitch
F32 mCameraZoom
LLVector3 mCameraOffset
LLVector3 mCameraRelPos
LLPointer< LLVOAvatarmDummyAvatar


Detailed Description

Definition at line 43 of file llfloateranimpreview.h.


Constructor & Destructor Documentation

LLPreviewAnimation::LLPreviewAnimation ( S32  width,
S32  height 
)

LLPreviewAnimation::~LLPreviewAnimation (  )  [virtual]

Definition at line 1059 of file llfloateranimpreview.cpp.

References mDummyAvatar.


Member Function Documentation

BOOL LLPreviewAnimation::render (  )  [virtual]

void LLPreviewAnimation::requestUpdate (  ) 

Definition at line 1148 of file llfloateranimpreview.cpp.

References mNeedsUpdate, and TRUE.

Referenced by LLFloaterAnimPreview::draw(), LLFloaterAnimPreview::handleHover(), LLFloaterAnimPreview::handleScrollWheel(), and LLFloaterAnimPreview::refresh().

Here is the caller graph for this function:

void LLPreviewAnimation::rotate ( F32  yaw_radians,
F32  pitch_radians 
)

Definition at line 1156 of file llfloateranimpreview.cpp.

References F_PI_BY_TWO, llclamp(), mCameraPitch, and mCameraYaw.

Referenced by LLFloaterAnimPreview::handleHover().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPreviewAnimation::zoom ( F32  zoom_delta  ) 

Definition at line 1166 of file llfloateranimpreview.cpp.

References mCameraZoom, and setZoom().

Referenced by LLFloaterAnimPreview::handleHover(), and LLFloaterAnimPreview::handleScrollWheel().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPreviewAnimation::setZoom ( F32  zoom_amt  ) 

Definition at line 1174 of file llfloateranimpreview.cpp.

References llclamp(), MAX_CAMERA_ZOOM, mCameraZoom, and MIN_CAMERA_ZOOM.

Referenced by LLFloaterAnimPreview::postBuild(), and zoom().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPreviewAnimation::pan ( F32  right,
F32  up 
)

Definition at line 1182 of file llfloateranimpreview.cpp.

References llclamp(), mCameraDistance, mCameraOffset, mCameraZoom, LLVector3::mV, VY, and VZ.

Referenced by LLFloaterAnimPreview::handleHover().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLPreviewAnimation::needsUpdate (  )  [inline, virtual]

Definition at line 55 of file llfloateranimpreview.h.

References mNeedsUpdate.

LLVOAvatar* LLPreviewAnimation::getDummyAvatar (  )  [inline]


Member Data Documentation

Definition at line 60 of file llfloateranimpreview.h.

Referenced by LLPreviewAnimation(), needsUpdate(), render(), and requestUpdate().

Definition at line 61 of file llfloateranimpreview.h.

Referenced by LLPreviewAnimation(), pan(), and render().

Definition at line 62 of file llfloateranimpreview.h.

Referenced by LLPreviewAnimation(), render(), and rotate().

Definition at line 63 of file llfloateranimpreview.h.

Referenced by LLPreviewAnimation(), render(), and rotate().

Definition at line 64 of file llfloateranimpreview.h.

Referenced by LLPreviewAnimation(), pan(), render(), setZoom(), and zoom().

Definition at line 65 of file llfloateranimpreview.h.

Referenced by pan(), and render().

Definition at line 66 of file llfloateranimpreview.h.

Referenced by render().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:00:19 2008 for SecondLife by  doxygen 1.5.5