LLImagePreviewAvatar Class Reference

#include <llfloaterimagepreview.h>

Inheritance diagram for LLImagePreviewAvatar:

Inheritance graph
[legend]
Collaboration diagram for LLImagePreviewAvatar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLImagePreviewAvatar (S32 width, S32 height)
virtual ~LLImagePreviewAvatar ()
void setPreviewTarget (const char *joint_name, const char *mesh_name, LLImageRaw *imagep, F32 distance, BOOL male)
void setTexture (U32 name)
BOOL render ()
void refresh ()
void rotate (F32 yaw_radians, F32 pitch_radians)
void zoom (F32 zoom_amt)
void pan (F32 right, F32 up)
virtual BOOL needsRender ()

Protected Attributes

BOOL mNeedsUpdate
LLJointmTargetJoint
LLViewerJointMeshmTargetMesh
F32 mCameraDistance
F32 mCameraYaw
F32 mCameraPitch
F32 mCameraZoom
LLVector3 mCameraOffset
LLPointer< LLVOAvatarmDummyAvatar
U32 mTextureName


Detailed Description

Definition at line 73 of file llfloaterimagepreview.h.


Constructor & Destructor Documentation

LLImagePreviewAvatar::LLImagePreviewAvatar ( S32  width,
S32  height 
)

LLImagePreviewAvatar::~LLImagePreviewAvatar (  )  [virtual]

Definition at line 626 of file llfloaterimagepreview.cpp.

References mDummyAvatar.


Member Function Documentation

void LLImagePreviewAvatar::setPreviewTarget ( const char *  joint_name,
const char *  mesh_name,
LLImageRaw imagep,
F32  distance,
BOOL  male 
)

void LLImagePreviewAvatar::setTexture ( U32  name  )  [inline]

Definition at line 80 of file llfloaterimagepreview.h.

References mTextureName.

Referenced by LLFloaterImagePreview::draw().

Here is the caller graph for this function:

BOOL LLImagePreviewAvatar::render (  )  [virtual]

void LLImagePreviewAvatar::refresh (  ) 

Definition at line 733 of file llfloaterimagepreview.cpp.

References mNeedsUpdate, and TRUE.

Referenced by LLFloaterImagePreview::handleHover(), LLFloaterImagePreview::handleScrollWheel(), and LLFloaterImagePreview::onPreviewTypeCommit().

Here is the caller graph for this function:

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

Definition at line 741 of file llfloaterimagepreview.cpp.

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

Referenced by LLFloaterImagePreview::handleHover().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLImagePreviewAvatar::zoom ( F32  zoom_amt  ) 

Definition at line 751 of file llfloaterimagepreview.cpp.

References llclamp(), and mCameraZoom.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 756 of file llfloaterimagepreview.cpp.

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

Referenced by LLFloaterImagePreview::handleHover().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual BOOL LLImagePreviewAvatar::needsRender (  )  [inline, virtual]

Reimplemented from LLDynamicTexture.

Definition at line 87 of file llfloaterimagepreview.h.

References mNeedsUpdate.


Member Data Documentation

Definition at line 90 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), needsRender(), refresh(), and render().

Definition at line 91 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), render(), and setPreviewTarget().

Definition at line 92 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), and setPreviewTarget().

Definition at line 93 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), pan(), render(), and setPreviewTarget().

Definition at line 94 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), render(), rotate(), and setPreviewTarget().

Definition at line 95 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), render(), rotate(), and setPreviewTarget().

Definition at line 96 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), pan(), render(), setPreviewTarget(), and zoom().

Definition at line 97 of file llfloaterimagepreview.h.

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

Definition at line 99 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewAvatar(), setPreviewTarget(), and setTexture().


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

Generated on Fri May 16 08:49:44 2008 for SecondLife by  doxygen 1.5.5