LLWind Class Reference

#include <llwind.h>

Collaboration diagram for LLWind:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLWind ()
 ~LLWind ()
void renderVectors ()
LLVector3 getVelocity (const LLVector3 &location)
LLVector3 getCloudVelocity (const LLVector3 &location)
LLVector3 getVelocityNoisy (const LLVector3 &location, const F32 dim)
void decompress (LLBitPack &bitpack, LLGroupHeader *group_headerp)
LLVector3 getAverage ()
void setCloudDensityPointer (F32 *densityp)
void setOriginGlobal (const LLVector3d &origin_global)

Private Member Functions

void init ()

Private Attributes

S32 mSize
F32mVelX
F32mVelY
F32mCloudVelX
F32mCloudVelY
F32mCloudDensityp
LLVector3d mOriginGlobal


Detailed Description

Definition at line 45 of file llwind.h.


Constructor & Destructor Documentation

LLWind::LLWind (  ) 

Definition at line 62 of file llwind.cpp.

References init().

Here is the call graph for this function:

LLWind::~LLWind (  ) 

Definition at line 70 of file llwind.cpp.

References mCloudVelX, mCloudVelY, mVelX, and mVelY.


Member Function Documentation

void LLWind::renderVectors (  ) 

LLVector3 LLWind::getVelocity ( const LLVector3 location  ) 

LLVector3 LLWind::getCloudVelocity ( const LLVector3 location  ) 

Definition at line 290 of file llwind.cpp.

References LLSingleton< LLWorld >::getInstance(), LLWorld::getRegionWidthInMeters(), i, j, llassert, llfloor(), mCloudVelX, mCloudVelY, mSize, LLVector3::mV, S32, VX, VY, VZ, and WIND_SCALE_HACK.

Referenced by LLCloudGroup::updatePuffs().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3 LLWind::getVelocityNoisy ( const LLVector3 location,
const F32  dim 
)

Definition at line 198 of file llwind.cpp.

References getVelocity(), and WIND_SCALE_HACK.

Here is the call graph for this function:

void LLWind::decompress ( LLBitPack bitpack,
LLGroupHeader group_headerp 
)

Definition at line 104 of file llwind.cpp.

References CLOUD_DIVERGENCE_COEF, decode_patch(), decode_patch_header(), decompress_patch(), i, init_patch_decompressor(), j, mCloudDensityp, mCloudVelX, mCloudVelY, mSize, mVelX, mVelY, LLGroupHeader::patch_size, S32, set_group_of_patch_header(), and LLGroupHeader::stride.

Referenced by LLVLManager::unpackData().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3 LLWind::getAverage (  ) 

Definition at line 181 of file llwind.cpp.

References i, mSize, LLVector3::mV, mVelX, mVelY, S32, VX, VY, and WIND_SCALE_HACK.

Referenced by LLAppViewer::idle().

Here is the caller graph for this function:

void LLWind::setCloudDensityPointer ( F32 densityp  ) 

Definition at line 352 of file llwind.cpp.

References mCloudDensityp.

Referenced by LLCloudLayer::setWindPointer().

Here is the caller graph for this function:

void LLWind::setOriginGlobal ( const LLVector3d origin_global  ) 

Definition at line 357 of file llwind.cpp.

References mOriginGlobal.

Referenced by LLViewerRegion::setOriginGlobal().

Here is the caller graph for this function:

void LLWind::init ( void   )  [private]

Definition at line 84 of file llwind.cpp.

References i, mCloudVelX, mCloudVelY, mSize, mVelX, mVelY, and S32.

Referenced by LLWind().

Here is the caller graph for this function:


Member Data Documentation

S32 LLWind::mSize [private]

Definition at line 61 of file llwind.h.

Referenced by decompress(), getAverage(), getCloudVelocity(), getVelocity(), init(), and renderVectors().

F32* LLWind::mVelX [private]

Definition at line 62 of file llwind.h.

Referenced by decompress(), getAverage(), getVelocity(), init(), and ~LLWind().

F32* LLWind::mVelY [private]

Definition at line 63 of file llwind.h.

Referenced by decompress(), getAverage(), getVelocity(), init(), and ~LLWind().

F32* LLWind::mCloudVelX [private]

Definition at line 64 of file llwind.h.

Referenced by decompress(), getCloudVelocity(), init(), renderVectors(), and ~LLWind().

F32* LLWind::mCloudVelY [private]

Definition at line 65 of file llwind.h.

Referenced by decompress(), getCloudVelocity(), init(), renderVectors(), and ~LLWind().

Definition at line 66 of file llwind.h.

Referenced by decompress(), and setCloudDensityPointer().

Definition at line 68 of file llwind.h.

Referenced by renderVectors(), and setOriginGlobal().


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

Generated on Fri May 16 09:39:35 2008 for SecondLife by  doxygen 1.5.5