LLImagePreviewSculpted Class Reference

#include <llfloaterimagepreview.h>

Inheritance diagram for LLImagePreviewSculpted:

Inheritance graph
[legend]
Collaboration diagram for LLImagePreviewSculpted:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLImagePreviewSculpted (S32 width, S32 height)
virtual ~LLImagePreviewSculpted ()
void setPreviewTarget (LLImageRaw *imagep, F32 distance)
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
U32 mTextureName
F32 mCameraDistance
F32 mCameraYaw
F32 mCameraPitch
F32 mCameraZoom
LLVector3 mCameraOffset
LLPointer< LLVolumemVolume


Detailed Description

Definition at line 45 of file llfloaterimagepreview.h.


Constructor & Destructor Documentation

LLImagePreviewSculpted::LLImagePreviewSculpted ( S32  width,
S32  height 
)

LLImagePreviewSculpted::~LLImagePreviewSculpted (  )  [virtual]

Definition at line 796 of file llfloaterimagepreview.cpp.


Member Function Documentation

void LLImagePreviewSculpted::setPreviewTarget ( LLImageRaw imagep,
F32  distance 
)

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

Definition at line 52 of file llfloaterimagepreview.h.

References mTextureName.

Referenced by LLFloaterImagePreview::draw().

Here is the caller graph for this function:

BOOL LLImagePreviewSculpted::render (  )  [virtual]

void LLImagePreviewSculpted::refresh (  ) 

Definition at line 925 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 LLImagePreviewSculpted::rotate ( F32  yaw_radians,
F32  pitch_radians 
)

Definition at line 933 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 LLImagePreviewSculpted::zoom ( F32  zoom_amt  ) 

Definition at line 943 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 LLImagePreviewSculpted::pan ( F32  right,
F32  up 
)

Definition at line 948 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 LLImagePreviewSculpted::needsRender (  )  [inline, virtual]

Reimplemented from LLDynamicTexture.

Definition at line 59 of file llfloaterimagepreview.h.

References mNeedsUpdate.


Member Data Documentation

Definition at line 62 of file llfloaterimagepreview.h.

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

Definition at line 63 of file llfloaterimagepreview.h.

Referenced by LLImagePreviewSculpted(), and setTexture().

Definition at line 64 of file llfloaterimagepreview.h.

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

Definition at line 65 of file llfloaterimagepreview.h.

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

Definition at line 66 of file llfloaterimagepreview.h.

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

Definition at line 67 of file llfloaterimagepreview.h.

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

Definition at line 68 of file llfloaterimagepreview.h.

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

Definition at line 69 of file llfloaterimagepreview.h.

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


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