#include <llwind.h>
Collaboration diagram for LLWind:

| 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 | 
| F32 * | mVelX | 
| F32 * | mVelY | 
| F32 * | mCloudVelX | 
| F32 * | mCloudVelY | 
| F32 * | mCloudDensityp | 
| LLVector3d | mOriginGlobal | 
Definition at line 45 of file llwind.h.
| LLWind::LLWind | ( | ) | 
| LLWind::~LLWind | ( | ) | 
| void LLWind::decompress | ( | LLBitPack & | bitpack, | |
| LLGroupHeader * | group_headerp | |||
| ) | 
Definition at line 105 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.
| LLVector3 LLWind::getAverage | ( | ) | 
Definition at line 182 of file llwind.cpp.
References f, i, mSize, LLVector3::mV, mVelX, mVelY, S32, VX, VY, and WIND_SCALE_HACK.
Referenced by idle().
Definition at line 291 of file llwind.cpp.
References f, gWorldPointer, i, j, llassert, llfloor(), mCloudVelX, mCloudVelY, mSize, LLVector3::mV, S32, VX, VY, VZ, and WIND_SCALE_HACK.
Referenced by LLCloudGroup::updatePuffs().
Definition at line 229 of file llwind.cpp.
References f, gWorldPointer, i, j, llassert, llfloor(), mSize, LLVector3::mV, mVelX, mVelY, S32, VX, VY, VZ, and WIND_SCALE_HACK.
Referenced by LLVolumeImplFlexible::doFlexibleUpdate(), getVelocityNoisy(), idle(), LLVOTree::idleUpdate(), LLVOTree::LLVOTree(), and LLViewerPartGroup::updateParticles().
| void LLWind::init | ( | ) |  [private] | 
Definition at line 85 of file llwind.cpp.
References f, i, mCloudVelX, mCloudVelY, mSize, mVelX, mVelY, and S32.
Referenced by LLWind().
| void LLWind::renderVectors | ( | ) | 
Definition at line 477 of file llglsandbox.cpp.
References f, gAgent, LLAgent::getPosAgentFromGlobal(), glBegin, glEnd, glPopMatrix, glTranslatef, gWorldPointer, i, j, mCloudVelX, mCloudVelY, mOriginGlobal, mSize, LLVector3::mV, S32, VX, VY, WIND_ALTITUDE, WIND_SCALE_HACK, x, and y.
Definition at line 353 of file llwind.cpp.
References mCloudDensityp.
Referenced by LLCloudLayer::setWindPointer().
| void LLWind::setOriginGlobal | ( | const LLVector3d & | origin_global | ) | 
Definition at line 358 of file llwind.cpp.
References mOriginGlobal.
Referenced by LLViewerRegion::setOriginGlobal().
| F32* LLWind::mCloudDensityp  [private] | 
| 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().
| LLVector3d LLWind::mOriginGlobal  [private] | 
| 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().
 1.4.7
 1.4.7