diff options
author | Jacek Antonelli | 2008-08-15 23:44:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:57 -0500 |
commit | da68d3a57ecb27eba5d7efb8ff77d9640c0be65e (patch) | |
tree | f2fa2b9ed6e8cf49c8a3cb2a1893c4e5c61916a1 /linden/indra/newview/llfloaterimagepreview.h | |
parent | Second Life viewer sources 1.15.1.3 (diff) | |
download | meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.zip meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.gz meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.bz2 meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.xz |
Second Life viewer sources 1.16.0.5
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterimagepreview.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterimagepreview.h b/linden/indra/newview/llfloaterimagepreview.h index 57874f1..1d212be 100644 --- a/linden/indra/newview/llfloaterimagepreview.h +++ b/linden/indra/newview/llfloaterimagepreview.h | |||
@@ -39,6 +39,34 @@ class LLViewerJointMesh; | |||
39 | class LLVOAvatar; | 39 | class LLVOAvatar; |
40 | class LLTextBox; | 40 | class LLTextBox; |
41 | 41 | ||
42 | class LLImagePreviewSculpted : public LLDynamicTexture | ||
43 | { | ||
44 | public: | ||
45 | LLImagePreviewSculpted(S32 width, S32 height); | ||
46 | virtual ~LLImagePreviewSculpted(); | ||
47 | |||
48 | void setPreviewTarget(LLImageRaw *imagep, F32 distance); | ||
49 | void setTexture(U32 name) { mTextureName = name; } | ||
50 | |||
51 | BOOL render(); | ||
52 | void refresh(); | ||
53 | void rotate(F32 yaw_radians, F32 pitch_radians); | ||
54 | void zoom(F32 zoom_amt); | ||
55 | void pan(F32 right, F32 up); | ||
56 | virtual BOOL needsRender() { return mNeedsUpdate; } | ||
57 | |||
58 | protected: | ||
59 | BOOL mNeedsUpdate; | ||
60 | U32 mTextureName; | ||
61 | F32 mCameraDistance; | ||
62 | F32 mCameraYaw; | ||
63 | F32 mCameraPitch; | ||
64 | F32 mCameraZoom; | ||
65 | LLVector3 mCameraOffset; | ||
66 | LLPointer<LLVolume> mVolume; | ||
67 | }; | ||
68 | |||
69 | |||
42 | class LLImagePreviewAvatar : public LLDynamicTexture | 70 | class LLImagePreviewAvatar : public LLDynamicTexture |
43 | { | 71 | { |
44 | public: | 72 | public: |
@@ -91,6 +119,7 @@ protected: | |||
91 | 119 | ||
92 | LLPointer<LLImageRaw> mRawImagep; | 120 | LLPointer<LLImageRaw> mRawImagep; |
93 | LLImagePreviewAvatar* mAvatarPreview; | 121 | LLImagePreviewAvatar* mAvatarPreview; |
122 | LLImagePreviewSculpted* mSculptedPreview; | ||
94 | S32 mLastMouseX; | 123 | S32 mLastMouseX; |
95 | S32 mLastMouseY; | 124 | S32 mLastMouseY; |
96 | LLRect mPreviewRect; | 125 | LLRect mPreviewRect; |