#include <llcloud.h>
Collaboration diagram for LLCloudLayer:
Definition at line 149 of file llcloud.h.
LLCloudLayer::LLCloudLayer | ( | ) |
Definition at line 274 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, CLOUD_HEIGHT_MEAN, f, i, j, mCloudGroups, mNeighbors, NULL, S32, LLCloudGroup::setCenterRegion(), LLCloudGroup::setCloudLayerp(), x, and y.
LLCloudLayer::~LLCloudLayer | ( | ) |
void LLCloudLayer::connectNeighbor | ( | LLCloudLayer * | cloudp, | |
U32 | direction | |||
) |
Definition at line 540 of file llcloud.cpp.
References gDirOpposite, and mNeighbors.
Referenced by LLViewerRegion::connectNeighbor().
void LLCloudLayer::create | ( | LLViewerRegion * | regionp | ) |
Definition at line 309 of file llcloud.cpp.
References CLOUD_GRIDS_PER_EDGE, f, i, llassert, mDensityp, and mRegionp.
Referenced by LLWorld::addRegion().
void LLCloudLayer::decompress | ( | LLBitPack & | bitpack, | |
LLGroupHeader * | group_header | |||
) |
Definition at line 463 of file llcloud.cpp.
References decode_patch(), decode_patch_header(), decompress_patch(), gBuffer, init_patch_decompressor(), mDensityp, LLGroupHeader::patch_size, set_group_of_patch_header(), and LLGroupHeader::stride.
void LLCloudLayer::destroy | ( | ) |
Definition at line 328 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, mDensityp, mWindp, NULL, and S32.
Referenced by ~LLCloudLayer(), and LLViewerRegion::~LLViewerRegion().
void LLCloudLayer::disconnectAllNeighbors | ( | ) |
Definition at line 570 of file llcloud.cpp.
References disconnectNeighbor(), i, and S32.
Referenced by LLViewerRegion::disconnectAllNeighbors().
Definition at line 554 of file llcloud.cpp.
References gDirOpposite, mNeighbors, and NULL.
Referenced by disconnectAllNeighbors().
LLCloudGroup * LLCloudLayer::findCloudGroup | ( | const LLCloudPuff & | puff | ) |
Definition at line 521 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, NULL, and S32.
Definition at line 373 of file llcloud.cpp.
References CLOUD_GRIDS_PER_EDGE, i, j, lltrunc(), mDensityp, mMetersPerGrid, LLVector3::mV, S32, VX, and VY.
Referenced by idle(), and LLCloudGroup::updatePuffs().
LLCloudLayer* LLCloudLayer::getNeighbor | ( | const S32 | n | ) | const [inline] |
LLViewerRegion* LLCloudLayer::getRegion | ( | ) | const [inline] |
Definition at line 168 of file llcloud.h.
References mRegionp.
Referenced by LLCloudGroup::inGroup(), and LLCloudGroup::updatePuffs().
void LLCloudLayer::renderDensityField | ( | ) |
Definition at line 429 of file llcloud.cpp.
void LLCloudLayer::reset | ( | ) |
Definition at line 347 of file llcloud.cpp.
void LLCloudLayer::setOriginGlobal | ( | const LLVector3d & | origin_global | ) | [inline] |
Definition at line 170 of file llcloud.h.
References mOriginGlobal.
Referenced by LLViewerRegion::setOriginGlobal().
void LLCloudLayer::setRegion | ( | LLViewerRegion * | regionp | ) |
Definition at line 366 of file llcloud.cpp.
References CLOUD_GRIDS_PER_EDGE, mMetersPerEdge, and mMetersPerGrid.
Referenced by LLWorld::addRegion().
Definition at line 352 of file llcloud.cpp.
References mDensityp, mWindp, NULL, and LLWind::setCloudDensityPointer().
Referenced by LLWorld::addRegion().
void LLCloudLayer::updatePuffCount | ( | ) |
Definition at line 508 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, and S32.
void LLCloudLayer::updatePuffOwnership | ( | ) |
Definition at line 495 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, and S32.
Definition at line 479 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, and S32.
Definition at line 201 of file llcloud.h.
Referenced by destroy(), findCloudGroup(), LLCloudLayer(), updatePuffCount(), updatePuffOwnership(), and updatePuffs().
F32* LLCloudLayer::mDensityp [protected] |
Definition at line 199 of file llcloud.h.
Referenced by create(), decompress(), destroy(), getDensityRegion(), and setWindPointer().
LLCloudLayer* LLCloudLayer::mNeighbors[4] [protected] |
Definition at line 196 of file llcloud.h.
Referenced by connectNeighbor(), disconnectNeighbor(), getNeighbor(), and LLCloudLayer().
LLViewerRegion* LLCloudLayer::mRegionp [protected] |
LLWind* LLCloudLayer::mWindp [protected] |