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 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::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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 57 of file llviewerlayer.cpp.

References mDatap, and mWidth.


Member Data Documentation

F32* LLViewerLayer::mDatap [protected]


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

Generated on Fri May 16 09:27:41 2008 for SecondLife by  doxygen 1.5.5