LLViewerRegion Class Reference

#include <llviewerregion.h>

Collaboration diagram for LLViewerRegion:

Collaboration graph
[legend]

List of all members.

Public Types

enum  eObjectPartitions {
  PARTITION_HUD = 0, PARTITION_TERRAIN, PARTITION_WATER, PARTITION_TREE,
  PARTITION_PARTICLE, PARTITION_CLOUD, PARTITION_GRASS, PARTITION_VOLUME,
  PARTITION_BRIDGE, PARTITION_NONE, NUM_PARTITIONS
}

Public Member Functions

 LLViewerRegion (const U64 &handle, const LLHost &host, const U32 surface_grid_width, const U32 patch_grid_width, const F32 region_width_meters)
 ~LLViewerRegion ()
void loadCache ()
void saveCache ()
void sendMessage ()
void sendReliableMessage ()
void setOriginGlobal (const LLVector3d &origin)
void updateRenderMatrix ()
void setAllowDamage (BOOL b)
void setAllowLandmark (BOOL b)
void setAllowSetHome (BOOL b)
void setResetHomeOnTeleport (BOOL b)
void setSunFixed (BOOL b)
void setBlockFly (BOOL b)
void setAllowDirectTeleport (BOOL b)
BOOL getAllowDamage () const
BOOL getAllowLandmark () const
BOOL getAllowSetHome () const
BOOL getResetHomeOnTeleport () const
BOOL getSunFixed () const
BOOL getBlockFly () const
BOOL getAllowDirectTeleport () const
BOOL isPrelude () const
BOOL getAllowTerraform () const
BOOL getRestrictPushObject () const
void setWaterHeight (F32 water_level)
F32 getWaterHeight () const
BOOL isVoiceEnabled () const
void setBillableFactor (F32 billable_factor)
F32 getBillableFactor () const
U32 getMaxTasks () const
void setMaxTasks (U32 max_tasks)
S32 renderPropertyLines ()
void dirtyHeights ()
LLViewerParcelOverlaygetParcelOverlay () const
void setRegionFlags (U32 flags)
U32 getRegionFlags () const
void setTimeDilation (F32 time_dilation)
F32 getTimeDilation () const
const LLVector3dgetOriginGlobal () const
LLVector3 getOriginAgent () const
const LLVector3dgetCenterGlobal () const
LLVector3 getCenterAgent () const
void setRegionNameAndZone (const char *name_and_zone)
const LLStringgetName () const
const LLStringgetZoning () const
void setOwner (const LLUUID &owner_id)
const LLUUIDgetOwner () const
void setIsEstateManager (BOOL b)
BOOL isEstateManager () const
BOOL canManageEstate () const
void setSimAccess (U8 sim_access)
U8 getSimAccess () const
const char * getSimAccessString () const
void setCacheID (const LLUUID &id)
F32 getWidth () const
BOOL idleUpdate (F32 max_update_time)
void forceUpdate ()
void connectNeighbor (LLViewerRegion *neighborp, U32 direction)
void updateNetStats ()
U32 getPacketsLost () const
void setSeedCapability (const std::string &url)
void setCapability (const std::string &name, const std::string &url)
std::string getCapability (const std::string &name) const
void logActiveCapabilities () const
const LLHostgetHost () const
const U64getHandle () const
LLSurfacegetLand () const
const LLUUIDgetRegionID () const
void setRegionID (const LLUUID &region_id)
BOOL pointInRegionGlobal (const LLVector3d &point_global) const
LLVector3 getPosRegionFromGlobal (const LLVector3d &point_global) const
LLVector3 getPosRegionFromAgent (const LLVector3 &agent_pos) const
LLVector3 getPosAgentFromRegion (const LLVector3 &region_pos) const
LLVector3d getPosGlobalFromRegion (const LLVector3 &offset) const
LLVLCompositiongetComposition () const
F32 getCompositionXY (const S32 x, const S32 y) const
BOOL isOwnedSelf (const LLVector3 &pos)
BOOL isOwnedGroup (const LLVector3 &pos)
void updateCoarseLocations (LLMessageSystem *msg)
F32 getLandHeightRegion (const LLVector3 &region_pos)
void getInfo (LLSD &info)
void cacheFullUpdate (LLViewerObject *objectp, LLDataPackerBinaryBuffer &dp)
LLDataPackergetDP (U32 local_id, U32 crc)
void requestCacheMisses ()
void addCacheMissFull (const U32 local_id)
void dumpCache ()
void unpackRegionHandshake ()
void calculateCenterGlobal ()
void calculateCameraDistance ()
U32 getNetDetailsForLCD ()
LLSpatialPartitiongetSpatialPartition (U32 type)

Static Public Member Functions

static std::string regionFlagsToString (U32 flags)
static const char * accessToString (U8 access)
static U8 stringToAccess (const char *access_str)
static const char * accessToShortString (U8 access)
static void processRegionInfo (LLMessageSystem *msg, void **)

Public Attributes

LLWind mWind
LLCloudLayer mCloudLayer
LLViewerParcelOverlaymParcelOverlay
BOOL mAlive
LLStat mBitStat
LLStat mPacketsStat
LLStat mPacketsLostStat
LLMatrix4 mRenderMatrix
LLDynamicArray< U32mMapAvatars
LLDynamicArray< LLUUIDmMapAvatarIDs

Protected Types

typedef std::map< U32,
LLVOCacheEntry * > 
cache_map_t
typedef std::map< std::string,
std::string > 
CapabilityMap

Protected Member Functions

void disconnectAllNeighbors ()
void initStats ()
void setFlags (BOOL b, U32 flags)

Protected Attributes

LLSurfacemLandp
LLVector3d mOriginGlobal
LLVector3d mCenterGlobal
F32 mWidth
U64 mHandle
LLHost mHost
LLUUID mRegionID
F32 mTimeDilation
LLString mName
LLString mZoning
LLUUID mOwnerID
BOOL mIsEstateManager
LLTimer mLastNetUpdate
U32 mPacketsIn
U32 mBitsIn
U32 mLastBitsIn
U32 mLastPacketsIn
U32 mPacketsOut
U32 mLastPacketsOut
S32 mPacketsLost
S32 mLastPacketsLost
U32 mPingDelay
F32 mDeltaTime
LLVLCompositionmCompositionp
U32 mRegionFlags
U8 mSimAccess
F32 mBillableFactor
U32 mMaxTasks
F32 mCameraDistanceSquared
BOOL mCacheLoaded
cache_map_t mCacheMap
LLVOCacheEntry mCacheStart
LLVOCacheEntry mCacheEnd
U32 mCacheEntriesCount
LLDynamicArray< U32mCacheMissFull
LLDynamicArray< U32mCacheMissCRC
LLUUID mCacheID
CapabilityMap mCapabilities
LLEventPollmEventPoll

Private Attributes

std::vector< LLSpatialPartition * > mObjectPartition

Friends

std::ostream & operator<< (std::ostream &s, const LLViewerRegion &region)

Classes

struct  CompareDistance


Detailed Description

Definition at line 68 of file llviewerregion.h.


Member Typedef Documentation

typedef std::map<U32, LLVOCacheEntry *> LLViewerRegion::cache_map_t [protected]

Definition at line 354 of file llviewerregion.h.

typedef std::map<std::string, std::string> LLViewerRegion::CapabilityMap [protected]

Definition at line 368 of file llviewerregion.h.


Member Enumeration Documentation

Enumerator:
PARTITION_HUD 
PARTITION_TERRAIN 
PARTITION_WATER 
PARTITION_TREE 
PARTITION_PARTICLE 
PARTITION_CLOUD 
PARTITION_GRASS 
PARTITION_VOLUME 
PARTITION_BRIDGE 
PARTITION_NONE 
NUM_PARTITIONS 

Definition at line 72 of file llviewerregion.h.


Constructor & Destructor Documentation

LLViewerRegion::LLViewerRegion ( const U64 handle,
const LLHost host,
const U32  surface_grid_width,
const U32  patch_grid_width,
const F32  region_width_meters 
)

LLViewerRegion::~LLViewerRegion (  ) 


Member Function Documentation

void LLViewerRegion::loadCache (  ) 

void LLViewerRegion::saveCache (  ) 

void LLViewerRegion::sendMessage (  ) 

Definition at line 354 of file llviewerregion.cpp.

References gMessageSystem, mHost, and LLMessageSystem::sendMessage().

Here is the call graph for this function:

void LLViewerRegion::sendReliableMessage (  ) 

Definition at line 359 of file llviewerregion.cpp.

References gMessageSystem, mHost, and LLMessageSystem::sendReliable().

Referenced by requestCacheMisses().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::setOriginGlobal ( const LLVector3d origin  ) 

Definition at line 397 of file llviewerregion.cpp.

References calculateCenterGlobal(), mCloudLayer, mLandp, mOriginGlobal, mWind, LLCloudLayer::setOriginGlobal(), LLWind::setOriginGlobal(), LLSurface::setOriginGlobal(), and updateRenderMatrix().

Referenced by LLViewerRegion().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::updateRenderMatrix (  ) 

Definition at line 407 of file llviewerregion.cpp.

References getOriginAgent(), mRenderMatrix, and LLMatrix4::setTranslation().

Referenced by LLViewerRegion(), setOriginGlobal(), and LLWorld::shiftRegions().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::setAllowDamage ( BOOL  b  )  [inline]

Definition at line 106 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_DAMAGE, and setFlags().

Here is the call graph for this function:

void LLViewerRegion::setAllowLandmark ( BOOL  b  )  [inline]

Definition at line 107 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_LANDMARK, and setFlags().

Here is the call graph for this function:

void LLViewerRegion::setAllowSetHome ( BOOL  b  )  [inline]

Definition at line 108 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_SET_HOME, and setFlags().

Here is the call graph for this function:

void LLViewerRegion::setResetHomeOnTeleport ( BOOL  b  )  [inline]

Definition at line 109 of file llviewerregion.h.

References REGION_FLAGS_RESET_HOME_ON_TELEPORT, and setFlags().

Here is the call graph for this function:

void LLViewerRegion::setSunFixed ( BOOL  b  )  [inline]

Definition at line 110 of file llviewerregion.h.

References REGION_FLAGS_SUN_FIXED, and setFlags().

Here is the call graph for this function:

void LLViewerRegion::setBlockFly ( BOOL  b  )  [inline]

Definition at line 111 of file llviewerregion.h.

References REGION_FLAGS_BLOCK_FLY, and setFlags().

Here is the call graph for this function:

void LLViewerRegion::setAllowDirectTeleport ( BOOL  b  )  [inline]

Definition at line 112 of file llviewerregion.h.

References REGION_FLAGS_ALLOW_DIRECT_TELEPORT, and setFlags().

Here is the call graph for this function:

BOOL LLViewerRegion::getAllowDamage (  )  const [inline]

Definition at line 378 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_DAMAGE.

Referenced by handle_region_dump_settings(), LLPanelLandOptions::onCommitAny(), and LLStatusBar::refresh().

Here is the caller graph for this function:

BOOL LLViewerRegion::getAllowLandmark (  )  const [inline]

Definition at line 383 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_LANDMARK.

Referenced by handle_region_dump_settings(), and LLWorldEnableCreateLandmark::handleEvent().

Here is the caller graph for this function:

BOOL LLViewerRegion::getAllowSetHome (  )  const [inline]

Definition at line 388 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_SET_HOME.

Referenced by handle_region_dump_settings(), and LLWorldEnableSetHomeLocation::handleEvent().

Here is the caller graph for this function:

BOOL LLViewerRegion::getResetHomeOnTeleport (  )  const [inline]

Definition at line 393 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_RESET_HOME_ON_TELEPORT.

Referenced by handle_region_dump_settings().

Here is the caller graph for this function:

BOOL LLViewerRegion::getSunFixed (  )  const [inline]

Definition at line 398 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_SUN_FIXED.

Referenced by handle_region_dump_settings().

Here is the caller graph for this function:

BOOL LLViewerRegion::getBlockFly (  )  const [inline]

Definition at line 403 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_BLOCK_FLY.

Referenced by LLAgent::canFly(), handle_region_dump_settings(), process_agent_movement_complete(), process_sim_stats(), and LLStatusBar::refresh().

Here is the caller graph for this function:

BOOL LLViewerRegion::getAllowDirectTeleport (  )  const [inline]

Definition at line 408 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_ALLOW_DIRECT_TELEPORT.

Referenced by handle_region_dump_settings().

Here is the caller graph for this function:

BOOL LLViewerRegion::isPrelude (  )  const [inline]

Definition at line 413 of file llviewerregion.h.

References is_prelude(), and mRegionFlags.

Referenced by LLWorldEnableTeleportHome::handleEvent(), LLAgent::inPrelude(), and process_improved_im().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerRegion::getAllowTerraform (  )  const [inline]

Definition at line 418 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_BLOCK_TERRAFORM.

BOOL LLViewerRegion::getRestrictPushObject (  )  const [inline]

Definition at line 423 of file llviewerregion.h.

References mRegionFlags, and REGION_FLAGS_RESTRICT_PUSHOBJECT.

Referenced by LLStatusBar::refresh().

Here is the caller graph for this function:

void LLViewerRegion::setWaterHeight ( F32  water_level  ) 

Definition at line 376 of file llviewerregion.cpp.

References mLandp, and LLSurface::setWaterHeight().

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLViewerRegion::getWaterHeight (  )  const

BOOL LLViewerRegion::isVoiceEnabled (  )  const

Definition at line 386 of file llviewerregion.cpp.

References getRegionFlags(), and REGION_FLAGS_ALLOW_VOICE.

Here is the call graph for this function:

void LLViewerRegion::setBillableFactor ( F32  billable_factor  )  [inline]

Definition at line 131 of file llviewerregion.h.

References mBillableFactor.

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

Here is the caller graph for this function:

F32 LLViewerRegion::getBillableFactor (  )  const [inline]

Definition at line 132 of file llviewerregion.h.

References mBillableFactor.

U32 LLViewerRegion::getMaxTasks (  )  const [inline]

Definition at line 136 of file llviewerregion.h.

References mMaxTasks.

Referenced by LLPanelLandObjects::refresh().

Here is the caller graph for this function:

void LLViewerRegion::setMaxTasks ( U32  max_tasks  )  [inline]

Definition at line 137 of file llviewerregion.h.

References mMaxTasks.

Referenced by process_sim_stats().

Here is the caller graph for this function:

S32 LLViewerRegion::renderPropertyLines (  ) 

Definition at line 560 of file llviewerregion.cpp.

References mParcelOverlay, and LLViewerParcelOverlay::renderPropertyLines().

Referenced by LLWorld::renderPropertyLines().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::dirtyHeights (  ) 

Definition at line 573 of file llviewerregion.cpp.

References mParcelOverlay, and LLViewerParcelOverlay::setDirty().

Referenced by LLSurface::idleUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

LLViewerParcelOverlay* LLViewerRegion::getParcelOverlay (  )  const [inline]

void LLViewerRegion::setRegionFlags ( U32  flags  ) 

Definition at line 391 of file llviewerregion.cpp.

References mRegionFlags.

Referenced by process_sim_stats(), LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

Here is the caller graph for this function:

U32 LLViewerRegion::getRegionFlags (  )  const [inline]

void LLViewerRegion::setTimeDilation ( F32  time_dilation  ) 

Definition at line 412 of file llviewerregion.cpp.

References mTimeDilation.

Referenced by LLViewerObject::processUpdateMessage().

Here is the caller graph for this function:

F32 LLViewerRegion::getTimeDilation (  )  const [inline]

Definition at line 154 of file llviewerregion.h.

References mTimeDilation.

const LLVector3d& LLViewerRegion::getOriginGlobal (  )  const [inline]

LLVector3 LLViewerRegion::getOriginAgent (  )  const

const LLVector3d& LLViewerRegion::getCenterGlobal (  )  const [inline]

Definition at line 161 of file llviewerregion.h.

References mCenterGlobal.

Referenced by calculateCameraDistance(), getCompositionXY(), and LLWorld::printPacketsLost().

Here is the caller graph for this function:

LLVector3 LLViewerRegion::getCenterAgent (  )  const

Definition at line 424 of file llviewerregion.cpp.

References gAgent, LLAgent::getPosAgentFromGlobal(), and mCenterGlobal.

Referenced by LLWorld::updateVisibilities().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::setRegionNameAndZone ( const char *  name_and_zone  ) 

Definition at line 429 of file llviewerregion.cpp.

References mName, mZoning, S32, and LLStringBase< char >::stripNonprintable().

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLString& LLViewerRegion::getName ( void   )  const [inline]

const LLString& LLViewerRegion::getZoning (  )  const [inline]

Definition at line 166 of file llviewerregion.h.

References mZoning.

void LLViewerRegion::setOwner ( const LLUUID owner_id  )  [inline]

Definition at line 168 of file llviewerregion.h.

References mOwnerID.

Referenced by LLDispatchEstateUpdateInfo::operator()(), and unpackRegionHandshake().

Here is the caller graph for this function:

const LLUUID& LLViewerRegion::getOwner (  )  const [inline]

void LLViewerRegion::setIsEstateManager ( BOOL  b  )  [inline]

Definition at line 172 of file llviewerregion.h.

References mIsEstateManager.

Referenced by unpackRegionHandshake().

Here is the caller graph for this function:

BOOL LLViewerRegion::isEstateManager (  )  const [inline]

BOOL LLViewerRegion::canManageEstate (  )  const

void LLViewerRegion::setSimAccess ( U8  sim_access  )  [inline]

Definition at line 176 of file llviewerregion.h.

References mSimAccess.

Referenced by LLFloaterGodTools::processRegionInfo(), and unpackRegionHandshake().

Here is the caller graph for this function:

U8 LLViewerRegion::getSimAccess (  )  const [inline]

Definition at line 177 of file llviewerregion.h.

References mSimAccess.

Referenced by LLPanelRegionGeneralInfo::sendUpdate().

Here is the caller graph for this function:

const char * LLViewerRegion::getSimAccessString (  )  const

Definition at line 456 of file llviewerregion.cpp.

References accessToString(), and mSimAccess.

Referenced by LLStatusBar::refresh().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLViewerRegion::regionFlagsToString ( U32  flags  )  [static]

Definition at line 463 of file llviewerregion.cpp.

References REGION_FLAGS_ALLOW_DAMAGE, and REGION_FLAGS_SANDBOX.

Referenced by LLWorldMapView::handleToolTip().

Here is the caller graph for this function:

const char * LLViewerRegion::accessToString ( U8  access  )  [static]

U8 LLViewerRegion::stringToAccess ( const char *  access_str  )  [static]

Definition at line 511 of file llviewerregion.cpp.

References SIM_ACCESS_MATURE, SIM_ACCESS_MIN, SIM_ACCESS_PG, SIM_ACCESS_STR, and SIM_ACCESS_TRIAL.

Referenced by LLPanelRegionGeneralInfo::sendUpdate().

Here is the caller graph for this function:

const char * LLViewerRegion::accessToShortString ( U8  access  )  [static]

Definition at line 530 of file llviewerregion.cpp.

References SIM_ACCESS_MATURE, SIM_ACCESS_MIN, SIM_ACCESS_PG, and SIM_ACCESS_TRIAL.

void LLViewerRegion::processRegionInfo ( LLMessageSystem msg,
void **   
) [static]

Definition at line 550 of file llviewerregion.cpp.

References LLFloaterReporter::processRegionInfo(), LLFloaterRegionInfo::processRegionInfo(), and LLFloaterGodTools::processRegionInfo().

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::setCacheID ( const LLUUID id  )  [inline]

Definition at line 195 of file llviewerregion.h.

References mCacheID.

Referenced by unpackRegionHandshake().

Here is the caller graph for this function:

F32 LLViewerRegion::getWidth (  )  const [inline]

Definition at line 197 of file llviewerregion.h.

References mWidth.

Referenced by LLWorld::clipToVisibleRegions(), LLToolBrushLand::modifyLandInSelectionGlobal(), and LLAgent::teleportViaLocation().

Here is the caller graph for this function:

BOOL LLViewerRegion::idleUpdate ( F32  max_update_time  ) 

Definition at line 582 of file llviewerregion.cpp.

References LLViewerParcelOverlay::idleUpdate(), LLSurface::idleUpdate(), mLandp, and mParcelOverlay.

Referenced by LLWorld::updateRegions().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::forceUpdate (  ) 

Definition at line 598 of file llviewerregion.cpp.

References LLViewerParcelOverlay::idleUpdate(), LLSurface::idleUpdate(), mLandp, and mParcelOverlay.

Referenced by LLToolBrushLand::modifyLandAtPointGlobal(), and LLToolBrushLand::modifyLandInSelectionGlobal().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::connectNeighbor ( LLViewerRegion neighborp,
U32  direction 
)

Definition at line 608 of file llviewerregion.cpp.

References LLCloudLayer::connectNeighbor(), LLSurface::connectNeighbor(), mCloudLayer, and mLandp.

Referenced by LLWorld::addRegion().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::updateNetStats (  ) 

U32 LLViewerRegion::getPacketsLost (  )  const

Definition at line 773 of file llviewerregion.cpp.

References LLCircuit::findCircuit(), LLCircuitData::getPacketsLost(), gMessageSystem, llendl, llinfos, LLMessageSystem::mCircuitInfo, and mHost.

Here is the call graph for this function:

void LLViewerRegion::setSeedCapability ( const std::string &  url  ) 

void LLViewerRegion::setCapability ( const std::string &  name,
const std::string &  url 
)

Definition at line 1414 of file llviewerregion.cpp.

References getHost(), mCapabilities, mEventPoll, mHost, NULL, and LLHTTPSender::setSender().

Referenced by setSeedCapability().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLViewerRegion::getCapability ( const std::string &  name  )  const

Definition at line 1432 of file llviewerregion.cpp.

References mCapabilities.

Referenced by LLInventoryModel::backgroundFetch(), LLPanelEstateInfo::commitEstateInfoCaps(), copy_inventory_from_notecard(), LLFloaterReleaseMsg::displayMessage(), LLPanelPlace::displayParcelInfo(), LLTextureFetchWorker::doWork(), LLFloaterIMPanel::draw(), LLViewerInventoryCategory::fetchDescendents(), LLVoiceChannelGroup::getChannelInfo(), LLFloaterIMPanel::inviteToSession(), LLIMMgr::inviteUserResponse(), LLPanelActiveSpeakers::onChangeModerationMode(), LLInventoryModel::fetchDescendentsResponder::onClickRetry(), LLFloaterReporter::onClickSend(), LLPanelActiveSpeakers::onModeratorMuteText(), LLPanelActiveSpeakers::onModeratorMuteVoice(), LLVoiceClient::parcelChanged(), LLViewerChatterBoxInvitation::post(), LLVoiceClient::requestVoiceAccountProvision(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewLSL::saveIfNeeded(), LLPreviewNotecard::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), send_start_session_messages(), send_stats(), LLPanelClassified::sendClassifiedClickMessage(), LLPanelClassified::sendClassifiedInfoRequest(), LLPanelGroupVoting::impl::sendGroupProposalBallot(), LLWorldMap::sendMapLayerRequest(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLFloaterPostcard::sendPostcard(), LLTextureFetch::sendRequestListToSimulators(), LLPanelGroupVoting::impl::sendStartGroupProposal(), LLPanelRegionGeneralInfo::sendUpdate(), setSeedCapability(), LLFloaterReleaseMsg::show(), LLVoiceClient::stateMachine(), and upload_new_resource().

Here is the caller graph for this function:

void LLViewerRegion::logActiveCapabilities (  )  const

Definition at line 1442 of file llviewerregion.cpp.

References llendl, llinfos, and mCapabilities.

Referenced by handle_dump_capabilities_info().

Here is the caller graph for this function:

const LLHost& LLViewerRegion::getHost (  )  const [inline]

Definition at line 217 of file llviewerregion.h.

References mHost.

Referenced by LLToolPlacer::addObject(), LLWorld::addRegion(), LLViewerParcelMgr::buyPass(), callback_eject(), callback_freeze(), LLViewerParcelMgr::callbackDivideLand(), LLViewerParcelMgr::callbackJoinLand(), LLTaskInvFVBridge::commitBuyItem(), confirm_replace_attachment_rez(), container_inventory_arrived(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLWorld::destroyClass(), LLWorld::disconnectRegions(), LLFloaterTopObjects::doToObjects(), LLToolDragAndDrop::dropObject(), LLViewerObject::fetchInventoryFromServer(), getInfo(), LLVOAvatar::getObjectHost(), LLFloaterReporter::getObjectInfo(), LLWorld::getRegion(), LLAgent::getRegionHost(), LLFloaterPay::give(), give_money(), handle_export_selected(), LLAvatarGiveCard::handleEvent(), LLObjectTouch::handleEvent(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLFloaterCompileQueue::handleInventory(), LLNetMap::handleToolTip(), idle_startup(), LLFloaterAuction::initialize(), LLFloaterAbout::LLFloaterAbout(), LLLiveLSLEditor::loadAsset(), LLPreviewNotecard::loadAsset(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLViewerObject::moveInventory(), LLPanelLandObjects::onClickRefresh(), LLPanelRequestTools::onClickRequest(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLViewerObject::parameterChanged(), LLObjectBridge::performAction(), LLWorld::printPacketsLost(), LLViewerParcelMgr::reclaimParcel(), LLPanelLandCovenant::refresh(), LLPanelEstateCovenant::refreshFromRegion(), LLPanelRegionInfo::refreshFromRegion(), remove_inventory_category_from_avatar_step2(), LLViewerObject::removeInventory(), LLWorld::removeRegion(), LLViewerParcelMgr::requestHoverParcelProperties(), LLSelectMgr::requestObjectPropertiesFamily(), LLPermissionsView::revokePermissions(), LLViewerObject::saveScript(), LLViewerParcelMgr::selectLand(), LLSelectMgr::selectObjectOnly(), send_agent_pause(), send_agent_resume(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), LLSelectMgr::sendListToRegions(), LLViewerObject::sendMaterialUpdate(), LLAgent::sendMessage(), LLViewerParcelMgr::sendParcelAccessListRequest(), LLViewerParcelMgr::sendParcelAccessListUpdate(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelDwellRequest(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLViewerParcelMgr::sendParcelRelease(), LLAgent::sendReliableMessage(), LLFloaterReporter::sendReportViaLegacy(), LLViewerObject::sendRotationUpdate(), LLSelectMgr::sendSelectionMove(), LLViewerObject::sendShapeUpdate(), LLViewerObject::sendTEUpdate(), setCapability(), LLAgent::setRegion(), LLAgent::setStartPosition(), LLViewerParcelMgr::setupParcelBuy(), LLToolBrushLand::undo(), update_statistics(), LLFloaterBuyLandUI::updateCovenantInfo(), LLViewerObject::updateFlags(), LLViewerObject::updateInventory(), LLVOAvatar::updateTextures(), upload_done_callback(), and wear_inventory_category_on_avatar_step2().

const U64& LLViewerRegion::getHandle (  )  const [inline]

LLSurface& LLViewerRegion::getLand (  )  const [inline]

const LLUUID& LLViewerRegion::getRegionID (  )  const [inline]

Definition at line 223 of file llviewerregion.h.

References mRegionID.

Referenced by LLViewerParcelMedia::update().

Here is the caller graph for this function:

void LLViewerRegion::setRegionID ( const LLUUID region_id  )  [inline]

Definition at line 224 of file llviewerregion.h.

References mRegionID.

Referenced by unpackRegionHandshake().

Here is the caller graph for this function:

BOOL LLViewerRegion::pointInRegionGlobal ( const LLVector3d point_global  )  const

Definition at line 787 of file llviewerregion.cpp.

References FALSE, getPosRegionFromGlobal(), LLVector3::mV, mWidth, TRUE, VX, and VY.

Referenced by LLWorld::getRegionFromPosGlobal(), and LLWorld::positionRegionValidGlobal().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3 LLViewerRegion::getPosRegionFromGlobal ( const LLVector3d point_global  )  const

LLVector3 LLViewerRegion::getPosRegionFromAgent ( const LLVector3 agent_pos  )  const

Definition at line 831 of file llviewerregion.cpp.

References getOriginAgent().

Referenced by LLViewerObject::setPositionAgent(), and LLViewerPartGroup::updateParticles().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVector3 LLViewerRegion::getPosAgentFromRegion ( const LLVector3 region_pos  )  const

LLVector3d LLViewerRegion::getPosGlobalFromRegion ( const LLVector3 offset  )  const

LLVLComposition* LLViewerRegion::getComposition (  )  const [inline]

F32 LLViewerRegion::getCompositionXY ( const S32  x,
const S32  y 
) const

Definition at line 622 of file llviewerregion.cpp.

References getCenterGlobal(), getComposition(), LLSingleton< LLWorld >::getInstance(), LLWorld::getRegionFromPosGlobal(), LLViewerLayer::getValueScaled(), and llabs().

Referenced by LLSurfacePatch::eval(), and LLPipeline::renderDebug().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerRegion::isOwnedSelf ( const LLVector3 pos  ) 

Definition at line 841 of file llviewerregion.cpp.

References FALSE, LLViewerParcelOverlay::isOwnedSelf(), and mParcelOverlay.

Referenced by LLAvatarEnableFreezeEject::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerRegion::isOwnedGroup ( const LLVector3 pos  ) 

Definition at line 852 of file llviewerregion.cpp.

References FALSE, LLViewerParcelOverlay::isOwnedGroup(), and mParcelOverlay.

Referenced by LLAvatarEnableFreezeEject::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::updateCoarseLocations ( LLMessageSystem msg  ) 

F32 LLViewerRegion::getLandHeightRegion ( const LLVector3 region_pos  ) 

Definition at line 836 of file llviewerregion.cpp.

References mLandp, and LLSurface::resolveHeightRegion().

Referenced by LLAgent::setStartPosition().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::getInfo ( LLSD info  ) 

Definition at line 1000 of file llviewerregion.cpp.

References from_region_handle(), getHandle(), getHost(), LLHost::getIPandPort(), and getName().

Referenced by LLWorld::getInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::cacheFullUpdate ( LLViewerObject objectp,
LLDataPackerBinaryBuffer dp 
)

LLDataPacker * LLViewerRegion::getDP ( U32  local_id,
U32  crc 
)

Definition at line 1058 of file llviewerregion.cpp.

References get_if_there(), LLVOCacheEntry::getCRC(), LLVOCacheEntry::getDP(), llassert, mCacheLoaded, mCacheMap, mCacheMissCRC, mCacheMissFull, NULL, and LLVOCacheEntry::recordHit().

Referenced by LLViewerObjectList::processObjectUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::requestCacheMisses (  ) 

void LLViewerRegion::addCacheMissFull ( const U32  local_id  ) 

Definition at line 1087 of file llviewerregion.cpp.

References mCacheMissFull.

Referenced by LLViewerObject::processUpdateMessage().

Here is the caller graph for this function:

void LLViewerRegion::dumpCache (  ) 

Definition at line 1169 of file llviewerregion.cpp.

References LLDLinked< Type >::getNext(), i, llclamp(), llendl, llinfos, mCacheEnd, mCacheEntriesCount, mCacheStart, and S32.

Referenced by handle_dump_region_object_cache().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::unpackRegionHandshake (  ) 

void LLViewerRegion::calculateCenterGlobal (  ) 

Definition at line 712 of file llviewerregion.cpp.

References LLSurface::getMaxZ(), LLSurface::getMinZ(), mCenterGlobal, LLVector3d::mdV, mLandp, mOriginGlobal, mWidth, VX, VY, and VZ.

Referenced by LLViewerRegion(), setOriginGlobal(), and LLSurfacePatch::updateVerticalStats().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::calculateCameraDistance (  ) 

Definition at line 720 of file llviewerregion.cpp.

References gAgent, LLAgent::getCameraPositionGlobal(), getCenterGlobal(), and mCameraDistanceSquared.

Referenced by LLWorld::updateVisibilities().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLViewerRegion::getNetDetailsForLCD (  ) 

Definition at line 725 of file llviewerregion.cpp.

References mPingDelay.

Referenced by LLStatusBar::refresh().

Here is the caller graph for this function:

LLSpatialPartition * LLViewerRegion::getSpatialPartition ( U32  type  ) 

void LLViewerRegion::disconnectAllNeighbors (  )  [protected]

Definition at line 615 of file llviewerregion.cpp.

References LLCloudLayer::disconnectAllNeighbors(), LLSurface::disconnectAllNeighbors(), mCloudLayer, and mLandp.

Referenced by ~LLViewerRegion().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::initStats (  )  [protected]

Definition at line 158 of file llviewerregion.cpp.

References FALSE, mAlive, mBitsIn, mLastBitsIn, mLastNetUpdate, mLastPacketsIn, mLastPacketsLost, mLastPacketsOut, mPacketsIn, mPacketsLost, mPacketsOut, mPingDelay, and LLTimer::reset().

Referenced by LLViewerRegion().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerRegion::setFlags ( BOOL  b,
U32  flags 
) [protected]

Definition at line 364 of file llviewerregion.cpp.

References mRegionFlags.

Referenced by setAllowDamage(), setAllowDirectTeleport(), setAllowLandmark(), setAllowSetHome(), setBlockFly(), setResetHomeOnTeleport(), and setSunFixed().

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const LLViewerRegion region 
) [friend]

Definition at line 730 of file llviewerregion.cpp.


Member Data Documentation

Definition at line 285 of file llviewerregion.h.

Referenced by LLWorld::addRegion(), LLNetMap::draw(), initStats(), and updateNetStats().

Definition at line 287 of file llviewerregion.h.

Referenced by LLWorld::updateNetStats(), and updateNetStats().

Definition at line 288 of file llviewerregion.h.

Referenced by LLWorld::updateNetStats(), and updateNetStats().

Definition at line 289 of file llviewerregion.h.

Referenced by updateNetStats().

Definition at line 291 of file llviewerregion.h.

Referenced by LLVolumeGeometryManager::registerFace(), and updateRenderMatrix().

Definition at line 307 of file llviewerregion.h.

Referenced by calculateCenterGlobal(), getCenterAgent(), and getCenterGlobal().

Definition at line 310 of file llviewerregion.h.

Referenced by getHandle(), loadCache(), and saveCache().

Definition at line 314 of file llviewerregion.h.

Referenced by getRegionID(), and setRegionID().

Definition at line 316 of file llviewerregion.h.

Referenced by getTimeDilation(), and setTimeDilation().

Definition at line 319 of file llviewerregion.h.

Referenced by getName(), and setRegionNameAndZone().

Definition at line 320 of file llviewerregion.h.

Referenced by getZoning(), and setRegionNameAndZone().

Definition at line 323 of file llviewerregion.h.

Referenced by getOwner(), and setOwner().

Definition at line 326 of file llviewerregion.h.

Referenced by isEstateManager(), and setIsEstateManager().

Definition at line 329 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 330 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 331 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 332 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 333 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 334 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 335 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 336 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 337 of file llviewerregion.h.

Referenced by initStats(), and updateNetStats().

Definition at line 338 of file llviewerregion.h.

Referenced by getNetDetailsForLCD(), initStats(), and updateNetStats().

Definition at line 339 of file llviewerregion.h.

Referenced by updateNetStats().

Definition at line 342 of file llviewerregion.h.

Referenced by getComposition(), LLViewerRegion(), and ~LLViewerRegion().

Definition at line 345 of file llviewerregion.h.

Referenced by getSimAccess(), getSimAccessString(), and setSimAccess().

Definition at line 346 of file llviewerregion.h.

Referenced by getBillableFactor(), and setBillableFactor().

Definition at line 347 of file llviewerregion.h.

Referenced by getMaxTasks(), and setMaxTasks().

Definition at line 353 of file llviewerregion.h.

Referenced by getDP(), loadCache(), and saveCache().

Definition at line 355 of file llviewerregion.h.

Referenced by cacheFullUpdate(), getDP(), loadCache(), and saveCache().

Definition at line 356 of file llviewerregion.h.

Referenced by cacheFullUpdate(), dumpCache(), LLViewerRegion(), and saveCache().

Definition at line 357 of file llviewerregion.h.

Referenced by cacheFullUpdate(), dumpCache(), LLViewerRegion(), loadCache(), and saveCache().

Definition at line 358 of file llviewerregion.h.

Referenced by cacheFullUpdate(), dumpCache(), loadCache(), and saveCache().

Definition at line 359 of file llviewerregion.h.

Referenced by addCacheMissFull(), getDP(), and requestCacheMisses().

Definition at line 360 of file llviewerregion.h.

Referenced by getDP(), and requestCacheMisses().

Definition at line 366 of file llviewerregion.h.

Referenced by loadCache(), saveCache(), and setCacheID().

Definition at line 371 of file llviewerregion.h.

Referenced by setCapability(), setSeedCapability(), and ~LLViewerRegion().

Definition at line 375 of file llviewerregion.h.

Referenced by getSpatialPartition(), LLViewerRegion(), and ~LLViewerRegion().


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

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