#include <llviewerparceloverlay.h>
Collaboration diagram for LLViewerParcelOverlay:
Definition at line 48 of file llviewerparceloverlay.h.
LLViewerParcelOverlay::LLViewerParcelOverlay | ( | LLViewerRegion * | region, | |
F32 | region_width_meters | |||
) |
Definition at line 54 of file llviewerparceloverlay.cpp.
References FALSE, i, mImageRaw, mOwnership, mParcelGridsPerEdge, mTexture, OVERLAY_IMG_COMPONENTS, PARCEL_PUBLIC, S32, TRUE, and updateOverlayTexture().
LLViewerParcelOverlay::~LLViewerParcelOverlay | ( | ) |
Definition at line 102 of file llviewerparceloverlay.cpp.
References mColorArray, mImageRaw, mOwnership, mVertexArray, and NULL.
void LLViewerParcelOverlay::addPropertyLine | ( | LLDynamicArray< LLVector3, 256 > & | vertex_array, | |
LLDynamicArray< LLColor4U, 256 > & | color_array, | |||
LLDynamicArray< LLVector2, 256 > & | coord_array, | |||
const F32 | start_x, | |||
const F32 | start_y, | |||
const U32 | edge, | |||
const LLColor4U & | color | |||
) | [private] |
Definition at line 541 of file llviewerparceloverlay.cpp.
References EAST, f, LLViewerRegion::getLand(), i, llendl, llerrs, mRegion, LLColor4U::mV, NORTH, PARCEL_GRID_STEP_METERS, LLDynamicArray< Type, BlockSize >::put(), LLSurface::resolveHeightRegion(), S32, SOUTH, VALPHA, and WEST.
Referenced by updatePropertyLines().
F32 LLViewerParcelOverlay::getOwnedRatio | ( | ) | const |
Definition at line 166 of file llviewerparceloverlay.cpp.
References i, mOwnership, mParcelGridsPerEdge, PARCEL_COLOR_MASK, PARCEL_PUBLIC, S32, and size.
LLImageGL* LLViewerParcelOverlay::getTexture | ( | ) | const [inline] |
Definition at line 55 of file llviewerparceloverlay.h.
References mTexture.
Referenced by LLDrawPoolTerrain::renderOwnership().
void LLViewerParcelOverlay::idleUpdate | ( | bool | update_now = false |
) |
Definition at line 711 of file llviewerparceloverlay.cpp.
References LLFrameTimer::getElapsedTimeF32(), gGLManager, mDirty, LLGLManager::mIsDisabled, mOverlayTextureIdx, mTimeSinceLastUpdate, LLFrameTimer::reset(), updateOverlayTexture(), and updatePropertyLines().
Referenced by LLViewerRegion::forceUpdate(), and LLViewerRegion::idleUpdate().
Definition at line 123 of file llviewerparceloverlay.cpp.
References LLVector3::mV, ownership(), PARCEL_GRID_STEP_METERS, PARCEL_PUBLIC, S32, VX, and VY.
Referenced by LLViewerParcelMgr::isOwnedAt().
Definition at line 137 of file llviewerparceloverlay.cpp.
References LLVector3::mV, ownership(), PARCEL_GRID_STEP_METERS, PARCEL_GROUP, S32, VX, and VY.
Referenced by LLViewerObject::isOverGroupOwnedLand(), and LLViewerRegion::isOwnedGroup().
Definition at line 144 of file llviewerparceloverlay.cpp.
References LLVector3::mV, ownership(), PARCEL_FOR_SALE, PARCEL_GRID_STEP_METERS, PARCEL_OWNED, S32, VX, and VY.
Referenced by LLViewerParcelMgr::isOwnedOtherAt().
Definition at line 130 of file llviewerparceloverlay.cpp.
References LLVector3::mV, ownership(), PARCEL_GRID_STEP_METERS, PARCEL_SELF, S32, VX, and VY.
Referenced by LLViewerObject::isOverAgentOwnedLand(), LLViewerRegion::isOwnedSelf(), and LLViewerParcelMgr::isOwnedSelfAt().
Definition at line 152 of file llviewerparceloverlay.cpp.
References mOwnership, mParcelGridsPerEdge, LLVector3::mV, PARCEL_GRID_STEP_METERS, PARCEL_SOUND_LOCAL, S32, VX, and VY.
Referenced by LLViewerParcelMgr::isSoundLocal().
Definition at line 82 of file llviewerparceloverlay.h.
References mOwnership, and mParcelGridsPerEdge.
Definition at line 159 of file llviewerparceloverlay.cpp.
References LLVector3::mV, PARCEL_GRID_STEP_METERS, S32, VX, and VY.
Referenced by isOwned(), isOwnedGroup(), isOwnedOther(), isOwnedSelf(), and updateOverlayTexture().
S32 LLViewerParcelOverlay::renderPropertyLines | ( | ) |
Definition at line 735 of file llviewerparceloverlay.cpp.
References dist_vec_squared2D(), f, gAgent, gCamera, LLCoordFrame::getAtAxis(), LLControlGroup::getBOOL(), LLAgent::getCameraPositionGlobal(), LLViewerRegion::getLand(), LLCoordFrame::getOrigin(), LLViewerRegion::getOriginAgent(), LLViewerRegion::getPosRegionFromGlobal(), glBegin, glColor4ubv, glEnd, glPopMatrix, glTranslatef, gSavedSettings, i, j, llclamp(), mColorArray, mRegion, LLVector3::mV, mVertexArray, mVertexCount, PARCEL_GRID_STEP_METERS, LLSurface::resolveHeightGlobal(), S32, VX, VY, and VZ.
Referenced by LLViewerRegion::renderPropertyLines().
void LLViewerParcelOverlay::setDirty | ( | ) |
Definition at line 706 of file llviewerparceloverlay.cpp.
Referenced by LLViewerRegion::dirtyHeights(), and uncompressLandOverlay().
Definition at line 294 of file llviewerparceloverlay.cpp.
References mOwnership, mParcelGridsPerEdge, PARCEL_OVERLAY_CHUNKS, S32, setDirty(), and size.
Referenced by LLViewerParcelMgr::processParcelOverlay().
void LLViewerParcelOverlay::updateOverlayTexture | ( | ) | [private] |
Definition at line 195 of file llviewerparceloverlay.cpp.
References a, b, g, gColors, LLControlGroup::getColor4U(), i, mDirty, mImageRaw, mOverlayTextureIdx, mOwnership, mParcelGridsPerEdge, mTexture, LLColor4U::mV, OVERLAY_IMG_COMPONENTS, ownership(), PARCEL_AUCTION, PARCEL_FOR_SALE, PARCEL_GROUP, PARCEL_OWNED, PARCEL_PUBLIC, PARCEL_SELF, r, S32, VALPHA, VBLUE, VGREEN, and VRED.
Referenced by idleUpdate(), and LLViewerParcelOverlay().
void LLViewerParcelOverlay::updatePropertyLines | ( | ) | [private] |
Definition at line 307 of file llviewerparceloverlay.cpp.
References addPropertyLine(), bottom, LLDynamicArray< Type, BlockSize >::count(), EAST, FALSE, gColors, LLDynamicArray< Type, BlockSize >::get(), LLControlGroup::getBOOL(), LLControlGroup::getColor4U(), gSavedSettings, i, left, mColorArray, mDirty, mOwnership, mParcelGridsPerEdge, LLColor4U::mV, LLVector3::mV, mVertexArray, mVertexCount, NORTH, NULL, PARCEL_AUCTION, PARCEL_COLOR_MASK, PARCEL_FOR_SALE, PARCEL_GRID_STEP_METERS, PARCEL_GROUP, PARCEL_OWNED, PARCEL_SELF, PARCEL_SOUTH_LINE, PARCEL_WEST_LINE, right, S32, SOUTH, top, TRUE, VALPHA, VBLUE, VGREEN, VRED, VX, VY, VZ, and WEST.
Referenced by idleUpdate().
U8* LLViewerParcelOverlay::mColorArray [private] |
Definition at line 117 of file llviewerparceloverlay.h.
Referenced by renderPropertyLines(), updatePropertyLines(), and ~LLViewerParcelOverlay().
BOOL LLViewerParcelOverlay::mDirty [private] |
Definition at line 110 of file llviewerparceloverlay.h.
Referenced by idleUpdate(), setDirty(), updateOverlayTexture(), and updatePropertyLines().
LLPointer<LLImageRaw> LLViewerParcelOverlay::mImageRaw [private] |
Definition at line 102 of file llviewerparceloverlay.h.
Referenced by LLViewerParcelOverlay(), updateOverlayTexture(), and ~LLViewerParcelOverlay().
LLUUID LLViewerParcelOverlay::mLineImageID [private] |
Definition at line 114 of file llviewerparceloverlay.h.
S32 LLViewerParcelOverlay::mOverlayTextureIdx [private] |
Definition at line 112 of file llviewerparceloverlay.h.
Referenced by idleUpdate(), and updateOverlayTexture().
U8* LLViewerParcelOverlay::mOwnership [private] |
Definition at line 107 of file llviewerparceloverlay.h.
Referenced by getOwnedRatio(), isSoundLocal(), LLViewerParcelOverlay(), ownership(), uncompressLandOverlay(), updateOverlayTexture(), updatePropertyLines(), and ~LLViewerParcelOverlay().
Definition at line 99 of file llviewerparceloverlay.h.
Referenced by getOwnedRatio(), isSoundLocal(), LLViewerParcelOverlay(), ownership(), uncompressLandOverlay(), updateOverlayTexture(), and updatePropertyLines().
LLViewerRegion* LLViewerParcelOverlay::mRegion [private] |
Definition at line 97 of file llviewerparceloverlay.h.
Referenced by addPropertyLine(), and renderPropertyLines().
LLPointer<LLImageGL> LLViewerParcelOverlay::mTexture [private] |
Definition at line 101 of file llviewerparceloverlay.h.
Referenced by getTexture(), LLViewerParcelOverlay(), and updateOverlayTexture().
F32* LLViewerParcelOverlay::mVertexArray [private] |
Definition at line 116 of file llviewerparceloverlay.h.
Referenced by renderPropertyLines(), updatePropertyLines(), and ~LLViewerParcelOverlay().
S32 LLViewerParcelOverlay::mVertexCount [private] |
Definition at line 115 of file llviewerparceloverlay.h.
Referenced by renderPropertyLines(), and updatePropertyLines().