LLViewerLayer Class Reference

#include <llviewerlayer.h>

Inheritance diagram for LLViewerLayer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LLViewerLayer (const S32 width, const F32 scale=1.f)
virtual ~LLViewerLayer ()
F32 getValueScaled (const F32 x, const F32 y) const

Protected Member Functions

F32 getValue (const S32 x, const S32 y) const

Protected Attributes

S32 mWidth
F32 mScale
F32 mScaleInv
F32mDatap

Detailed Description

Definition at line 37 of file llviewerlayer.h.


Constructor & Destructor Documentation

LLViewerLayer::LLViewerLayer ( const S32  width,
const F32  scale = 1.f 
)

Definition at line 38 of file llviewerlayer.cpp.

References f, i, mDatap, mScale, mScaleInv, mWidth, and S32.

LLViewerLayer::~LLViewerLayer (  )  [virtual]

Definition at line 51 of file llviewerlayer.cpp.

References mDatap, and NULL.


Member Function Documentation

F32 LLViewerLayer::getValue ( const S32  x,
const S32  y 
) const [protected]

Definition at line 57 of file llviewerlayer.cpp.

References mDatap, and mWidth.

F32 LLViewerLayer::getValueScaled ( const F32  x,
const F32  y 
) const

Definition at line 67 of file llviewerlayer.cpp.

References llfloor(), llmax(), llmin(), mDatap, mScaleInv, mWidth, and S32.

Referenced by LLVLComposition::generateTexture(), LLViewerRegion::getCompositionXY(), and LLSurfacePatch::updateCompositionStats().


Member Data Documentation

F32* LLViewerLayer::mDatap [protected]

Definition at line 50 of file llviewerlayer.h.

Referenced by LLVLComposition::generateHeights(), getValue(), getValueScaled(), LLViewerLayer(), and ~LLViewerLayer().

F32 LLViewerLayer::mScale [protected]

Definition at line 48 of file llviewerlayer.h.

Referenced by LLVLComposition::generateHeights(), LLVLComposition::generateTexture(), and LLViewerLayer().

F32 LLViewerLayer::mScaleInv [protected]

Definition at line 49 of file llviewerlayer.h.

Referenced by LLVLComposition::generateHeights(), LLVLComposition::generateTexture(), getValueScaled(), and LLViewerLayer().

S32 LLViewerLayer::mWidth [protected]

Definition at line 47 of file llviewerlayer.h.

Referenced by LLVLComposition::generateHeights(), LLVLComposition::generateTexture(), getValue(), getValueScaled(), and LLViewerLayer().


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