LLViewerObject Class Reference

#include <llviewerobject.h>

Inheritance diagram for LLViewerObject:

Inheritance graph
[legend]
Collaboration diagram for LLViewerObject:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< LLPointer<
LLViewerObject > > 
child_list_t
typedef enum LLViewerObject::e_vo_types EVOType
 MEDIA_TYPE_NONE = 0
 MEDIA_TYPE_WEB_PAGE = 1
 MEDIA_URL_REMOVED = 0x1
 MEDIA_URL_ADDED = 0x2
 MEDIA_URL_UPDATED = 0x4
 CLICK_ACTION_TOUCH = 0
 CLICK_ACTION_SIT = 1
 CLICK_ACTION_BUY = 2
 LL_VO_CLOUDS = LL_PCODE_APP | 0x20
 LL_VO_SURFACE_PATCH = LL_PCODE_APP | 0x30
 LL_VO_STARS = LL_PCODE_APP | 0x40
 LL_VO_SQUARE_TORUS = LL_PCODE_APP | 0x50
 LL_VO_SKY = LL_PCODE_APP | 0x60
 LL_VO_WATER = LL_PCODE_APP | 0x70
 LL_VO_GROUND = LL_PCODE_APP | 0x80
 LL_VO_PART_GROUP = LL_PCODE_APP | 0x90
 LL_VO_TRIANGLE_TORUS = LL_PCODE_APP | 0xa0
enum  { MEDIA_TYPE_NONE = 0, MEDIA_TYPE_WEB_PAGE = 1 }
enum  { MEDIA_URL_REMOVED = 0x1, MEDIA_URL_ADDED = 0x2, MEDIA_URL_UPDATED = 0x4 }
enum  { CLICK_ACTION_TOUCH = 0, CLICK_ACTION_SIT = 1, CLICK_ACTION_BUY = 2 }
enum  e_vo_types {
  LL_VO_CLOUDS = LL_PCODE_APP | 0x20, LL_VO_SURFACE_PATCH = LL_PCODE_APP | 0x30, LL_VO_STARS = LL_PCODE_APP | 0x40, LL_VO_SQUARE_TORUS = LL_PCODE_APP | 0x50,
  LL_VO_SKY = LL_PCODE_APP | 0x60, LL_VO_WATER = LL_PCODE_APP | 0x70, LL_VO_GROUND = LL_PCODE_APP | 0x80, LL_VO_PART_GROUP = LL_PCODE_APP | 0x90,
  LL_VO_TRIANGLE_TORUS = LL_PCODE_APP | 0xa0
}

Public Member Functions

 LLViewerObject (const LLUUID &id, const LLPCode type, LLViewerRegion *regionp)
 MEM_TYPE_NEW (LLMemType::MTYPE_OBJECT)
virtual void markDead ()
BOOL isDead () const
BOOL isOrphaned () const
BOOL isParticleSource () const
void addNVPair (const std::string &data)
BOOL removeNVPair (const char *name)
LLNameValuegetNVPair (const char *name) const
virtual BOOL idleUpdate (LLAgent &agent, LLWorld &world, const F64 &time)
virtual U32 processUpdateMessage (LLMessageSystem *mesgsys, void **user_data, U32 block_num, const EObjectUpdateType update_type, LLDataPacker *dp)
virtual BOOL isActive () const
BOOL onActiveList () const
void setOnActiveList (BOOL on_active)
virtual BOOL isAttachment () const
virtual BOOL isHUDAttachment () const
virtual void updateRadius ()
virtual F32 getVObjRadius () const
BOOL isJointChild () const
EHavokJointType getJointType () const
LLViewerObjectgetSubParent ()
const LLViewerObjectgetSubParent () const
virtual void setPixelAreaAndAngle (LLAgent &agent)
virtual U32 getNumVertices () const
virtual U32 getNumIndices () const
S32 getNumFaces () const
virtual void updateTextures (LLAgent &agent)
virtual void boostTexturePriority (BOOL boost_children=TRUE)
virtual LLDrawablecreateDrawable (LLPipeline *pipeline)
virtual BOOL updateGeometry (LLDrawable *drawable)
virtual void updateFaceSize (S32 idx)
virtual BOOL updateLOD ()
virtual BOOL setDrawableParent (LLDrawable *parentp)
virtual BOOL updateLighting (BOOL do_lighting)
F32 getRotTime ()
void resetRot ()
void applyAngularVelocity (F32 dt)
void setLineWidthForWindowSize (S32 window_width)
LLViewerRegiongetRegion () const
BOOL isSelected () const
virtual void setSelected (BOOL sel)
const LLUUIDgetID () const
U32 getLocalID () const
U32 getCRC () const
virtual BOOL isFlexible () const
BOOL isOverAgentOwnedLand () const
BOOL isOverGroupOwnedLand () const
virtual void setParent (LLViewerObject *parent)
virtual void addChild (LLViewerObject *childp)
virtual void removeChild (LLViewerObject *childp)
child_list_tgetChildren ()
void addThisAndAllChildren (LLDynamicArray< LLViewerObject * > &objects)
void addThisAndNonJointChildren (LLDynamicArray< LLViewerObject * > &objects)
BOOL isChild (LLViewerObject *childp) const
BOOL isSeat () const
virtual BOOL lineSegmentIntersect (const LLVector3 &start, LLVector3 &end) const
const LLVector3d getPositionGlobal () const
const LLVector3getPositionRegion () const
const LLVector3 getPositionEdit () const
const LLVector3getPositionAgent () const
const LLVector3 getRenderPosition () const
virtual const LLVector3 getPivotPositionAgent () const
LLViewerObjectgetRootEdit () const
const LLQuaternion getRotationRegion () const
const LLQuaternion getRotationEdit () const
const LLQuaternion getRenderRotation () const
virtual const LLMatrix4 getRenderMatrix () const
void setPosition (const LLVector3 &pos, BOOL damped=FALSE)
void setPositionGlobal (const LLVector3d &position, BOOL damped=FALSE)
void setPositionRegion (const LLVector3 &position, BOOL damped=FALSE)
void setPositionEdit (const LLVector3 &position, BOOL damped=FALSE)
void setPositionAgent (const LLVector3 &pos_agent, BOOL damped=FALSE)
void setPositionParent (const LLVector3 &pos_parent, BOOL damped=FALSE)
void setPositionAbsoluteGlobal (const LLVector3d &pos_global, BOOL damped=FALSE)
void sendPositionUpdate () const
virtual const LLMatrix4getWorldMatrix (LLXformMatrix *xform) const
void setRotation (const F32 x, const F32 y, const F32 z, BOOL damped=FALSE)
void setRotation (const LLQuaternion &quat, BOOL damped=FALSE)
void sendRotationUpdate () const
void setNumTEs (const U8 num_tes)
void setTE (const U8 te, const LLTextureEntry &texture_entry)
S32 setTETexture (const U8 te, const LLUUID &uuid)
S32 setTETextureCore (const U8 te, const LLUUID &uuid, LLHost host)
S32 setTEColor (const U8 te, const LLColor4 &color)
S32 setTEScale (const U8 te, const F32 s, const F32 t)
S32 setTEScaleS (const U8 te, const F32 s)
S32 setTEScaleT (const U8 te, const F32 t)
S32 setTEOffset (const U8 te, const F32 s, const F32 t)
S32 setTEOffsetS (const U8 te, const F32 s)
S32 setTEOffsetT (const U8 te, const F32 t)
S32 setTERotation (const U8 te, const F32 r)
S32 setTEBumpmap (const U8 te, const U8 bump)
S32 setTETexGen (const U8 te, const U8 texgen)
S32 setTEShiny (const U8 te, const U8 shiny)
S32 setTEFullbright (const U8 te, const U8 fullbright)
S32 setTEMediaFlags (const U8 te, const U8 media_flags)
BOOL setMaterial (const U8 material)
virtual void setTEImage (const U8 te, LLViewerImage *imagep)
LLViewerImagegetTEImage (const U8 te) const
void fitFaceTexture (const U8 face)
void sendTEUpdate () const
virtual void setScale (const LLVector3 &scale, BOOL damped=FALSE)
void sendScaleUpdate ()
void sendShapeUpdate ()
U8 getState ()
F32 getAppAngle () const
F32 getPixelArea () const
void setPixelArea (F32 area)
F32 getMaxScale () const
F32 getMidScale () const
F32 getMinScale () const
void setAttachedSound (const LLUUID &audio_uuid, const LLUUID &owner_id, const F32 gain, const U8 flags)
void adjustAudioGain (const F32 gain)
void clearAttachedSound ()
LLAudioSourcegetAudioSource (const LLUUID &owner_id)
U8 getMediaType () const
void setMediaType (U8 media_type)
const LLStringgetMediaURL () const
void setMediaURL (const LLString &media_url)
BOOL getMediaPassedWhitelist () const
void setMediaPassedWhitelist (BOOL passed)
void sendMaterialUpdate () const
void setCanSelect (BOOL canSelect)
void setDebugText (const std::string &utf8text)
void setIcon (LLViewerImage *icon_image)
void clearIcon ()
void markForUpdate (BOOL priority)
void updateVolume (const LLVolumeParams &volume_params)
virtual void updateSpatialExtents (LLVector3 &min, LLVector3 &max)
virtual F32 getBinRadius ()
LLBBox getBoundingBoxAgent () const
void updatePositionCaches () const
void updateText ()
virtual void updateDrawable (BOOL force_damped)
void setDrawableState (U32 state, BOOL recursive=TRUE)
void clearDrawableState (U32 state, BOOL recursive=TRUE)
virtual void onShift (const LLVector3 &shift_vector)
void registerInventoryListener (LLVOInventoryListener *listener, void *user_data)
void removeInventoryListener (LLVOInventoryListener *listener)
BOOL isInventoryPending ()
void clearInventoryListeners ()
void requestInventory ()
void removeInventory (const LLUUID &item_id)
void updateInventory (LLViewerInventoryItem *item, U8 key, bool is_new)
LLInventoryObjectgetInventoryObject (const LLUUID &item_id)
void getInventoryContents (InventoryObjectList &objects)
LLInventoryObjectgetInventoryRoot ()
LLViewerInventoryItemgetInventoryItemByAsset (const LLUUID &asset_id)
S16 getInventorySerial () const
void updateViewerInventoryAsset (const LLViewerInventoryItem *item, const LLUUID &new_asset)
void dirtyInventory ()
BOOL isInventoryDirty ()
void saveScript (const LLViewerInventoryItem *item, BOOL active, bool is_new)
void moveInventory (const LLUUID &agent_folder, const LLUUID &item_id)
S32 countInventoryContents (LLAssetType::EType type)
BOOL permAnyOwner () const
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
BOOL permYouOwner () const
BOOL permGroupOwner () const
BOOL permOwnerModify () const
BOOL permModify () const
BOOL permCopy () const
BOOL permMove () const
BOOL permTransfer () const
BOOL usePhysics () const
BOOL flagScripted () const
BOOL flagHandleTouch () const
BOOL flagTakesMoney () const
BOOL flagPhantom () const
BOOL flagInventoryEmpty () const
BOOL flagCastShadows () const
BOOL flagAllowInventoryAdd () const
BOOL flagTemporary () const
BOOL flagTemporaryOnRez () const
BOOL flagAnimSource () const
BOOL flagCameraSource () const
BOOL flagCameraDecoupled () const
bool getIncludeInSearch () const
void setIncludeInSearch (bool include_in_search)
BOOL allowOpen () const
void setClickAction (U8 action)
U8 getClickAction () const
bool specialHoverCursor () const
void setRegion (LLViewerRegion *regionp)
virtual void updateRegion (LLViewerRegion *regionp)
void updateFlags ()
BOOL setFlags (U32 flag, BOOL state)
virtual void dump () const
void printNameValuePairs () const
virtual S32 getLOD () const
virtual U32 getPartitionType () const
virtual LLNetworkDatagetParameterEntry (U16 param_type) const
virtual bool setParameterEntry (U16 param_type, const LLNetworkData &new_value, bool local_origin)
virtual BOOL getParameterEntryInUse (U16 param_type) const
virtual bool setParameterEntryInUse (U16 param_type, BOOL in_use, bool local_origin)
virtual void parameterChanged (U16 param_type, bool local_origin)
virtual void parameterChanged (U16 param_type, LLNetworkData *data, BOOL in_use, bool local_origin)

Static Public Member Functions

static void initVOClasses ()
static void cleanupVOClasses ()
static void increaseArrowLength ()
static void decreaseArrowLength ()
static void processTaskInv (LLMessageSystem *msg, void **user_data)
static U32 getNumZombieObjects ()

Public Attributes

child_list_t mChildList
LLUUID mID
U32 mLocalID
U32 mTotalCRC
LLPointer< LLViewerImage > * mTEImages
U32 mGLName
BOOL mbCanSelect
U32 mFlags
LLPointer< LLDrawablemDrawable
BOOL mCreateSelected
BOOL mRenderMedia
S32 mBestUpdatePrecision
LLPointer< LLHUDTextmText
LLPointer< LLHUDIconmIcon
LLPointer< LLViewerPartSourceScriptmPartSourcep

Static Public Attributes

static BOOL sUseSharedDrawables

Protected Types

typedef std::map< char *,
LLNameValue * > 
name_value_map_t

Protected Member Functions

 ~LLViewerObject ()
void deleteInventoryItem (const LLUUID &item_id)
void doUpdateInventory (LLViewerInventoryItem *item, U8 key, bool is_new)
BOOL setData (const U8 *datap, const U32 data_size)
void hideExtraDisplayItems (BOOL hidden)
void loadTaskInvFile (const char *filename)
void doInventoryCallback ()
BOOL isOnMap ()
void unpackParticleSource (const S32 block_num, const LLUUID &owner_id)
void unpackParticleSource (LLDataPacker &dp, const LLUUID &owner_id)
void deleteParticleSource ()

Static Protected Member Functions

static LLViewerObjectcreateObject (const LLUUID &id, LLPCode pcode, LLViewerRegion *regionp)
static void processTaskInvFile (void **user_data, S32 error_code, LLExtStat ext_status)

Protected Attributes

std::map< U16, ExtraParameter * > mExtraParameterList
name_value_map_t mNameValuePairs
F64 mLastInterpUpdateSecs
F64 mLastMessageUpdateSecs
TPACKETID mLatestRecvPacketID
U8mData
LLAudioSourceVOmAudioSourcep
F32 mAudioGain
F32 mAppAngle
F32 mPixelArea
InventoryObjectListmInventory
LLLinkedList< LLInventoryCallbackInfomInventoryCallbacks
S16 mInventorySerialNum
LLViewerRegionmRegionp
BOOL mInventoryPending
BOOL mInventoryDirty
BOOL mDead
BOOL mOrphaned
BOOL mUserSelected
BOOL mOnActiveList
BOOL mOnMap
BOOL mStatic
S32 mNumFaces
S32 mLastUpdateFrame
F32 mTimeDilation
F32 mRotTime
LLQuaternion mLastRot
LLVOJointInfomJointInfo
U8 mState
LLViewerObjectMediamMedia
U8 mClickAction
LLVector3 mPositionRegion
LLVector3 mPositionAgent

Static Protected Attributes

static U32 sNumZombieObjects = 0
static BOOL sMapDebug = TRUE
static LLColor4 sEditSelectColor
static LLColor4 sNoEditSelectColor
static F32 sCurrentPulse
static BOOL sPulseEnabled
static S32 sAxisArrowLength

Private Member Functions

ExtraParametercreateNewParameterEntry (U16 param_type)
ExtraParametergetExtraParameterEntry (U16 param_type) const
ExtraParametergetExtraParameterEntryCreate (U16 param_type)
bool unpackParameterEntry (U16 param_type, LLDataPacker *dp)
void setNameValueList (const std::string &list)
void deleteTEImages ()

Static Private Attributes

static S32 sNumObjects = 0

Friends

class LLViewerObjectList
class LLViewerMediaList

Classes

struct  ExtraParameter
class  LLInventoryCallbackInfo

Detailed Description

Definition at line 119 of file llviewerobject.h.


Member Typedef Documentation

typedef std::vector<LLPointer<LLViewerObject> > LLViewerObject::child_list_t

Definition at line 133 of file llviewerobject.h.

typedef enum LLViewerObject::e_vo_types LLViewerObject::EVOType

typedef std::map<char *, LLNameValue *> LLViewerObject::name_value_map_t [protected]

Definition at line 566 of file llviewerobject.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
MEDIA_TYPE_NONE 
MEDIA_TYPE_WEB_PAGE 

Definition at line 154 of file llviewerobject.h.

anonymous enum

Enumerator:
MEDIA_URL_REMOVED 
MEDIA_URL_ADDED 
MEDIA_URL_UPDATED 

Definition at line 157 of file llviewerobject.h.

anonymous enum

Enumerator:
CLICK_ACTION_TOUCH 
CLICK_ACTION_SIT 
CLICK_ACTION_BUY 

Definition at line 159 of file llviewerobject.h.

enum LLViewerObject::e_vo_types

Enumerator:
LL_VO_CLOUDS 
LL_VO_SURFACE_PATCH 
LL_VO_STARS 
LL_VO_SQUARE_TORUS 
LL_VO_SKY 
LL_VO_WATER 
LL_VO_GROUND 
LL_VO_PART_GROUP 
LL_VO_TRIANGLE_TORUS 

Definition at line 478 of file llviewerobject.h.


Constructor & Destructor Documentation

LLViewerObject::~LLViewerObject (  )  [protected]

Definition at line 218 of file llviewerobject.cpp.

References clearInventoryListeners(), deleteTEImages(), llassert, mChildList, mData, mExtraParameterList, mInventory, mJointInfo, mMedia, mNameValuePairs, mPartSourcep, NULL, sNumObjects, and sNumZombieObjects.

LLViewerObject::LLViewerObject ( const LLUUID id,
const LLPCode  type,
LLViewerRegion regionp 
)

Definition at line 162 of file llviewerobject.cpp.

References f, LLFrameTimer::getElapsedSeconds(), LLViewerRegion::getOriginAgent(), LLXform::init(), llassert, mLastInterpUpdateSecs, mPositionAgent, mPositionRegion, mRegionp, and sNumObjects.


Member Function Documentation

void LLViewerObject::addChild ( LLViewerObject childp  )  [virtual]

Reimplemented in LLVOAvatar.

Definition at line 499 of file llviewerobject.cpp.

References getID(), i, LLPrimitive::isAvatar(), llendl, llwarns, mbCanSelect, mChildList, mJointInfo, NULL, removeChild(), setParent(), and TRUE.

Referenced by LLVOAvatar::addChild(), LLViewerObjectList::findOrphans(), and processUpdateMessage().

void LLViewerObject::addNVPair ( const std::string &  data  ) 

Definition at line 2917 of file llviewerobject.cpp.

References LLNameValue::mName, mNameValuePairs, and NVC_READ_ONLY.

Referenced by process_name_value(), and setNameValueList().

void LLViewerObject::addThisAndAllChildren ( LLDynamicArray< LLViewerObject * > &  objects  ) 

Definition at line 562 of file llviewerobject.cpp.

References count, i, LLPrimitive::isAvatar(), mChildList, LLDynamicArray< Type, BlockSize >::put(), and S32.

Referenced by LLSelectMgr::deselectObjectAndFamily().

void LLViewerObject::addThisAndNonJointChildren ( LLDynamicArray< LLViewerObject * > &  objects  ) 

Definition at line 575 of file llviewerobject.cpp.

References count, i, LLPrimitive::isAvatar(), isJointChild(), mChildList, LLDynamicArray< Type, BlockSize >::put(), and S32.

Referenced by LLSelectMgr::selectObjectAndFamily(), and LLSelectMgr::setHoverObject().

void LLViewerObject::adjustAudioGain ( const F32  gain  ) 

Definition at line 4262 of file llviewerobject.cpp.

References gAudiop, LLControlGroup::getF32(), gSavedSettings, mAudioGain, mAudioSourcep, and LLAudioSourceVO::setGain().

Referenced by process_attached_sound_gain_change().

BOOL LLViewerObject::allowOpen (  )  const

Definition at line 4659 of file llviewerobject.cpp.

References flagInventoryEmpty(), permModify(), and permYouOwner().

Referenced by LLObjectEnableOpen::handleEvent(), LLToolPie::handleHover(), and LLToolPie::pickAndShowMenu().

void LLViewerObject::applyAngularVelocity ( F32  dt  ) 

Definition at line 4781 of file llviewerobject.cpp.

References angle, f, LLPrimitive::getAngularVelocity(), LLXform::getRotation(), LLVector3::magVecSquared(), LLXform::MOVED, mRotTime, LLXform::setChanged(), LLQuaternion::setQuat(), setRotation(), and LLXform::SILHOUETTE.

Referenced by idleUpdate().

void LLViewerObject::boostTexturePriority ( BOOL  boost_children = TRUE  )  [virtual]

Definition at line 2840 of file llviewerobject.cpp.

References LLViewerImage::BOOST_SELECTED, LLPrimitive::getNumTEs(), getTEImage(), i, isDead(), mChildList, and S32.

Referenced by LLViewerObjectList::updateApparentAngles().

void LLViewerObject::cleanupVOClasses (  )  [static]

Definition at line 443 of file llviewerobject.cpp.

References LLVOAvatar::cleanupClass(), LLVOTree::cleanupClass(), LLVOWater::cleanupClass(), and LLVOGrass::cleanupClass().

Referenced by cleanup_app().

void LLViewerObject::clearAttachedSound (  )  [inline]

Definition at line 324 of file llviewerobject.h.

References mAudioSourcep, and NULL.

void LLViewerObject::clearDrawableState ( U32  state,
BOOL  recursive = TRUE 
)

Definition at line 4475 of file llviewerobject.cpp.

References i, mChildList, and mDrawable.

void LLViewerObject::clearIcon (  ) 

Definition at line 3987 of file llviewerobject.cpp.

References mIcon, and NULL.

void LLViewerObject::clearInventoryListeners (  ) 

Definition at line 2331 of file llviewerobject.cpp.

References mInventoryCallbacks.

Referenced by ~LLViewerObject().

S32 LLViewerObject::countInventoryContents ( LLAssetType::EType  type  ) 

Definition at line 3920 of file llviewerobject.cpp.

References count, end, mInventory, and S32.

LLDrawable * LLViewerObject::createDrawable ( LLPipeline pipeline  )  [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOGround, LLVOPartGroup, LLVOSky, LLVOStars, LLVOSurfacePatch, LLVOTextBubble, LLVOTree, LLVOTreeNew, LLVOVolume, and LLVOWater.

Definition at line 2737 of file llviewerobject.cpp.

References NULL.

Referenced by LLPipeline::addObject().

LLViewerObject::ExtraParameter * LLViewerObject::createNewParameterEntry ( U16  param_type  )  [private]

Definition at line 4294 of file llviewerobject.cpp.

References LLViewerObject::ExtraParameter::data, LLViewerObject::ExtraParameter::in_use, llendl, llinfos, mExtraParameterList, NULL, LLNetworkData::PARAMS_FLEXIBLE, LLNetworkData::PARAMS_LIGHT, and LLNetworkData::PARAMS_SCULPT.

Referenced by getExtraParameterEntryCreate().

LLViewerObject * LLViewerObject::createObject ( const LLUUID id,
LLPCode  pcode,
LLViewerRegion regionp 
) [static, protected]

Definition at line 116 of file llviewerobject.cpp.

References LLFastTimer::FTM_CREATE_OBJECT, LL_PCODE_LEGACY_AVATAR, LL_PCODE_LEGACY_GRASS, LL_PCODE_LEGACY_PART_SYS, LL_PCODE_LEGACY_TEXT_BUBBLE, LL_PCODE_LEGACY_TREE, LL_PCODE_TREE_NEW, LL_PCODE_VOLUME, LL_VO_CLOUDS, LL_VO_GROUND, LL_VO_PART_GROUP, LL_VO_SKY, LL_VO_STARS, LL_VO_SURFACE_PATCH, LL_VO_WATER, llendl, llwarns, NULL, and S32.

Referenced by LLViewerObjectList::createObject(), and LLViewerObjectList::createObjectViewer().

void LLViewerObject::decreaseArrowLength (  )  [static]

Definition at line 2902 of file llviewerobject.cpp.

void LLViewerObject::deleteInventoryItem ( const LLUUID item_id  )  [protected]

Definition at line 2122 of file llviewerobject.cpp.

References doInventoryCallback(), end, and mInventory.

Referenced by doUpdateInventory(), moveInventory(), and removeInventory().

void LLViewerObject::deleteParticleSource (  )  [protected]

Definition at line 4142 of file llviewerobject.cpp.

References mPartSourcep, LLPointer< Type >::notNull(), and NULL.

Referenced by processUpdateMessage().

void LLViewerObject::deleteTEImages (  )  [private]

Definition at line 266 of file llviewerobject.cpp.

References mTEImages, and NULL.

Referenced by setNumTEs(), and ~LLViewerObject().

void LLViewerObject::dirtyInventory (  ) 

Definition at line 2291 of file llviewerobject.cpp.

References mInventory, mInventoryCallbacks, mInventoryDirty, NULL, and TRUE.

Referenced by LLSelectMgr::processObjectProperties().

void LLViewerObject::doInventoryCallback (  )  [protected]

Definition at line 2509 of file llviewerobject.cpp.

References FALSE, llendl, llinfos, mInventory, mInventoryCallbacks, mInventoryPending, mInventorySerialNum, and NULL.

Referenced by deleteInventoryItem(), doUpdateInventory(), loadTaskInvFile(), processTaskInv(), and requestInventory().

void LLViewerObject::doUpdateInventory ( LLViewerInventoryItem item,
U8  key,
bool  is_new 
) [protected]

Definition at line 2141 of file llviewerobject.cpp.

References LLAssetType::AT_OBJECT, deleteInventoryItem(), doInventoryCallback(), FALSE, LLSelectMgr::findObjectPermissions(), gAgent, LLInventoryItem::getAssetUUID(), LLPermissions::getGroup(), LLAgent::getID(), getInventoryItemByAsset(), getInventoryObject(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), gSelectMgr, LLPermissions::isGroupOwned(), LLUUID::isNull(), mInventory, mInventorySerialNum, LLMemType::MTYPE_OBJECT, LLUUID::null, NULL, permYouOwner(), S32, LLPermissions::setOwnerAndGroup(), LLInventoryItem::setPermissions(), TASK_INVENTORY_ASSET_KEY, and TASK_INVENTORY_ITEM_KEY.

Referenced by saveScript(), updateInventory(), and updateViewerInventoryAsset().

void LLViewerObject::dump (  )  const [virtual]

Definition at line 366 of file llviewerobject.cpp.

References LLFrameTimer::getElapsedSeconds(), LLXform::getParent(), getPositionAgent(), getPositionGlobal(), getPositionRegion(), LLPrimitive::getVelocity(), llendl, llinfos, mDrawable, mID, mLastMessageUpdateSecs, mLocalID, LLPrimitive::mPrimitiveCode, LLPointer< Type >::notNull(), and LLPrimitive::pCodeToString().

Referenced by LLSelectMgr::selectionDump().

void LLViewerObject::fitFaceTexture ( const U8  face  ) 

Definition at line 3862 of file llviewerobject.cpp.

References llendl, and llinfos.

BOOL LLViewerObject::flagAllowInventoryAdd (  )  const [inline]

Definition at line 426 of file llviewerobject.h.

References FLAGS_ALLOW_INVENTORY_DROP, and mFlags.

Referenced by LLHoverView::updateText(), and LLToolDragAndDrop::willObjectAcceptInventory().

BOOL LLViewerObject::flagAnimSource (  )  const [inline]

Definition at line 429 of file llviewerobject.h.

References FLAGS_ANIM_SOURCE, and mFlags.

Referenced by markDead().

BOOL LLViewerObject::flagCameraDecoupled (  )  const [inline]

Definition at line 431 of file llviewerobject.h.

References FLAGS_CAMERA_DECOUPLED, and mFlags.

Referenced by LLAgent::endAnimationUpdateUI().

BOOL LLViewerObject::flagCameraSource (  )  const [inline]

Definition at line 430 of file llviewerobject.h.

References FLAGS_CAMERA_SOURCE, and mFlags.

Referenced by markDead().

BOOL LLViewerObject::flagCastShadows (  )  const [inline]

Definition at line 425 of file llviewerobject.h.

References FLAGS_CAST_SHADOWS, and mFlags.

Referenced by LLPanelObject::getState(), and updateFlags().

BOOL LLViewerObject::flagHandleTouch (  )  const [inline]

Definition at line 421 of file llviewerobject.h.

References FLAGS_HANDLE_TOUCH, and mFlags.

Referenced by LLSelectMgr::dump(), LLObjectEnableTouch::handleEvent(), LLToolPie::handleHover(), LLToolGrab::handleObjectHit(), LLToolPie::pickAndShowMenu(), renderScriptedTouchBeacons(), and LLHoverView::updateText().

BOOL LLViewerObject::flagInventoryEmpty (  )  const [inline]

Definition at line 424 of file llviewerobject.h.

References FLAGS_INVENTORY_EMPTY, and mFlags.

Referenced by allowOpen().

BOOL LLViewerObject::flagPhantom (  )  const [inline]

Definition at line 423 of file llviewerobject.h.

References FLAGS_PHANTOM, and mFlags.

Referenced by LLPanelObject::getState(), LLPanelVolume::sendIsFlexible(), updateFlags(), and LLHoverView::updateText().

BOOL LLViewerObject::flagScripted (  )  const [inline]

Definition at line 420 of file llviewerobject.h.

References FLAGS_SCRIPTED, and mFlags.

Referenced by LLSelectMgr::dump(), renderScriptedBeacons(), renderScriptedTouchBeacons(), LLHoverView::updateText(), and warn_move_inventory().

BOOL LLViewerObject::flagTakesMoney (  )  const [inline]

Definition at line 422 of file llviewerobject.h.

References FLAGS_TAKES_MONEY, and mFlags.

Referenced by LLSelectionPayable::apply(), LLSelectMgr::dump(), LLEnablePayObject::handleEvent(), LLToolPie::handleHover(), LLToolPie::pickAndShowMenu(), and LLHoverView::updateText().

BOOL LLViewerObject::flagTemporary (  )  const [inline]

Definition at line 427 of file llviewerobject.h.

References FLAGS_TEMPORARY, and mFlags.

Referenced by LLHoverView::updateText().

BOOL LLViewerObject::flagTemporaryOnRez (  )  const [inline]

Definition at line 428 of file llviewerobject.h.

References FLAGS_TEMPORARY_ON_REZ, and mFlags.

Referenced by LLPanelObject::getState(), and updateFlags().

F32 LLViewerObject::getAppAngle (  )  const [inline]

Definition at line 314 of file llviewerobject.h.

References mAppAngle.

Referenced by LLDrawPoolTree::renderTree().

LLAudioSource * LLViewerObject::getAudioSource ( const LLUUID owner_id  ) 

Definition at line 4247 of file llviewerobject.cpp.

References LLAudioEngine::addAudioSource(), f, gAudiop, mAudioSourcep, and mID.

Referenced by process_preload_sound(), and setAttachedSound().

F32 LLViewerObject::getBinRadius (  )  [virtual]

Reimplemented in LLVOPartGroup, and LLVOVolume.

Definition at line 2783 of file llviewerobject.cpp.

References LLXform::getScale(), LLVector3::magVec(), mDrawable, and LLPointer< Type >::notNull().

LLBBox LLViewerObject::getBoundingBoxAgent (  )  const

Definition at line 3868 of file llviewerobject.cpp.

References f, LLXform::getParent(), getPositionAgent(), getPositionEdit(), getRootEdit(), getRotationEdit(), getRotationRegion(), LLXform::getScale(), LLPrimitive::isAvatar(), mDrawable, and LLPointer< Type >::notNull().

Referenced by LLManipScale::stretchFace(), and LLSelectMgr::updateSelectionCenter().

LLViewerObject::child_list_t & LLViewerObject::getChildren (  ) 

Definition at line 557 of file llviewerobject.cpp.

References mChildList.

Referenced by LLViewerWindow::performPick(), and setRegion().

U8 LLViewerObject::getClickAction (  )  const [inline]

Definition at line 440 of file llviewerobject.h.

References mClickAction.

Referenced by final_click_action(), LLSelectMgr::packObjectClickAction(), LLToolPie::pickAndShowMenu(), LLSelectMgr::selectionGetClickAction(), LLPanelVolume::sendIsFlexible(), and LLToolPie::useClickAction().

U32 LLViewerObject::getCRC (  )  const [inline]

Definition at line 217 of file llviewerobject.h.

References mTotalCRC.

Referenced by LLViewerRegion::cacheFullUpdate().

LLViewerObject::ExtraParameter * LLViewerObject::getExtraParameterEntry ( U16  param_type  )  const [private]

Definition at line 4333 of file llviewerobject.cpp.

References mExtraParameterList, and NULL.

Referenced by getExtraParameterEntryCreate(), getParameterEntry(), getParameterEntryInUse(), and parameterChanged().

LLViewerObject::ExtraParameter * LLViewerObject::getExtraParameterEntryCreate ( U16  param_type  )  [private]

Definition at line 4343 of file llviewerobject.cpp.

References createNewParameterEntry(), getExtraParameterEntry(), and param.

Referenced by setParameterEntry(), setParameterEntryInUse(), and unpackParameterEntry().

const LLUUID& LLViewerObject::getID (  )  const [inline]

Definition at line 215 of file llviewerobject.h.

References mID.

Referenced by add_duplicate(), add_object(), addChild(), LLPanelGroupInvite::addUsers(), complete_give_money(), LLToolDragAndDrop::dad3dGiveInventory(), LLToolDragAndDrop::dad3dGiveInventoryCategory(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLToolDragAndDrop::dad3dUpdateInventoryCategory(), LLVOAvatar::detachObject(), LLToolDragAndDrop::dropObject(), enable_detach(), LLVOAvatar::getOffObject(), handle_export_selected(), LLAvatarGiveCard::handleEvent(), LLObjectMute::handleEvent(), LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLFloaterCompileQueue::handleInventory(), LLToolSelect::handleMouseDown(), LLToolTexEyedropper::handleMouseDown(), LLToolGrab::handleObjectHit(), LLToolSelect::handleObjectSelection(), LLPanelInventory::inventoryChanged(), LLFloaterScriptQueue::inventoryChanged(), LLLiveLSLEditor::loadAsset(), LLFloaterOpenObject::moveToInventory(), LLFloaterInspect::onClickCreatorProfile(), LLFloaterInspect::onClickOwnerProfile(), LLViewerObjectList::orphanize(), LLToolPie::pickAndShowMenu(), LLVOVolume::processUpdateMessage(), processUpdateMessage(), LLSelectMgr::renderSilhouettes(), LLPanelAvatar::setAvatar(), setTETextureCore(), and LLToolDragAndDrop::willObjectAcceptInventory().

bool LLViewerObject::getIncludeInSearch (  )  const

Definition at line 4691 of file llviewerobject.cpp.

References FLAGS_INCLUDE_IN_SEARCH, and mFlags.

Referenced by LLSelectMgr::packObjectIncludeInSearch(), and LLSelectMgr::selectionGetIncludeInSearch().

void LLViewerObject::getInventoryContents ( InventoryObjectList objects  ) 

Definition at line 2608 of file llviewerobject.cpp.

References LLAssetType::AT_CATEGORY, end, and mInventory.

Referenced by move_inv_category_world_to_agent(), move_task_inventory_callback(), and LLPanelInventory::updateInventory().

LLViewerInventoryItem * LLViewerObject::getInventoryItemByAsset ( const LLUUID asset_id  ) 

Definition at line 2633 of file llviewerobject.cpp.

References LLAssetType::AT_CATEGORY, end, LLInventoryItem::getAssetUUID(), mInventory, and NULL.

Referenced by doUpdateInventory(), and LLToolDragAndDrop::handleDropTextureProtections().

LLInventoryObject * LLViewerObject::getInventoryObject ( const LLUUID item_id  ) 

Definition at line 2589 of file llviewerobject.cpp.

References end, mInventory, and NULL.

Referenced by doUpdateInventory(), LLTaskInvFVBridge::findItem(), LLFloaterProperties::findItem(), LLPreview::getItem(), LLTaskInvFVBridge::isItemRenameable(), LLLiveLSLEditor::loadAsset(), LLToolDragAndDrop::locateInventory(), moveInventory(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLTaskInvFVBridge::renameItem(), LLLiveLSLEditor::saveIfNeeded(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), and LLUpdateTaskInventoryResponder::uploadComplete().

LLInventoryObject * LLViewerObject::getInventoryRoot (  ) 

Definition at line 2624 of file llviewerobject.cpp.

References mInventory, and NULL.

Referenced by LLPanelInventory::updateInventory().

S16 LLViewerObject::getInventorySerial (  )  const [inline]

Definition at line 387 of file llviewerobject.h.

References mInventorySerialNum.

Referenced by LLPanelInventory::refresh().

EHavokJointType LLViewerObject::getJointType (  )  const [inline]

Definition at line 178 of file llviewerobject.h.

References HJT_INVALID, mJointInfo, and LLVOJointInfo::mJointType.

U32 LLViewerObject::getLocalID (  )  const [inline]

Definition at line 216 of file llviewerobject.h.

References mLocalID.

Referenced by LLViewerRegion::cacheFullUpdate(), container_inventory_arrived(), LLSelectMgr::deselectObjectOnly(), handle_detach_from_avatar(), LLSelectMgr::packBuyObjectIDs(), LLSelectMgr::packDuplicate(), LLSelectMgr::packMultipleUpdate(), LLSelectMgr::packObjectCategory(), LLSelectMgr::packObjectClickAction(), LLSelectMgr::packObjectDescription(), LLSelectMgr::packObjectIDAndRotation(), LLSelectMgr::packObjectIDAsParam(), LLSelectMgr::packObjectIncludeInSearch(), LLSelectMgr::packObjectLocalID(), LLSelectMgr::packObjectName(), LLSelectMgr::packObjectSaleInfo(), LLSelectMgr::packPermissions(), processUpdateMessage(), LLSelectMgr::selectObjectOnly(), and updateFlags().

virtual S32 LLViewerObject::getLOD (  )  const [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 454 of file llviewerobject.h.

F32 LLViewerObject::getMaxScale (  )  const

Definition at line 2794 of file llviewerobject.cpp.

References LLXform::getScale(), llmax(), VX, VY, and VZ.

Referenced by LLViewerJointAttachment::calcLOD(), confirm_replace_attachment(), LLVOTree::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), and setPixelAreaAndAngle().

BOOL LLViewerObject::getMediaPassedWhitelist (  )  const

Definition at line 3409 of file llviewerobject.cpp.

References FALSE, mMedia, and LLViewerObjectMedia::mPassedWhitelist.

U8 LLViewerObject::getMediaType (  )  const

Definition at line 3350 of file llviewerobject.cpp.

References MEDIA_TYPE_NONE, mMedia, and LLViewerObjectMedia::mMediaType.

const LLString & LLViewerObject::getMediaURL (  )  const

Definition at line 3376 of file llviewerobject.cpp.

References mMedia, LLViewerObjectMedia::mMediaURL, and LLStringBase< char >::null.

F32 LLViewerObject::getMidScale (  )  const

Definition at line 2804 of file llviewerobject.cpp.

References LLXform::getScale(), LLVector3::mV, VX, VY, and VZ.

Referenced by LLViewerJointAttachment::calcLOD(), LLVOPartGroup::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), and setPixelAreaAndAngle().

F32 LLViewerObject::getMinScale (  )  const

Definition at line 2799 of file llviewerobject.cpp.

References LLXform::getScale(), and llmin().

Referenced by setPixelAreaAndAngle().

S32 LLViewerObject::getNumFaces (  )  const [inline]

Definition at line 188 of file llviewerobject.h.

References mNumFaces.

Referenced by LLVOTextBubble::updateGeometry().

U32 LLViewerObject::getNumIndices (  )  const [virtual]

Definition at line 3904 of file llviewerobject.cpp.

References i, mDrawable, LLPointer< Type >::notNull(), and S32.

U32 LLViewerObject::getNumVertices (  )  const [virtual]

Definition at line 3889 of file llviewerobject.cpp.

References i, mDrawable, LLPointer< Type >::notNull(), and S32.

static U32 LLViewerObject::getNumZombieObjects (  )  [inline, static]

Definition at line 450 of file llviewerobject.h.

References sNumZombieObjects.

Referenced by output_statistics().

LLNameValue * LLViewerObject::getNVPair ( const char *  name  )  const

Definition at line 2982 of file llviewerobject.cpp.

References LLStringTable::addString(), gNVNameTable, mNameValuePairs, and NULL.

Referenced by LLViewerJointAttachment::addObject(), LLPanelGroupInvite::addUsers(), derez_objects(), LLVOAvatar::getFullname(), LLFloaterReporter::getObjectInfo(), LLAvatarSendIM::handleEvent(), LLAvatarGiveCard::handleEvent(), LLObjectMute::handleEvent(), LLObjectEnableMute::handleEvent(), LLVOAvatar::idleUpdate(), process_offer_callingcard(), LLVOAvatar::renderSkinned(), request_friendship(), LLPanelAvatar::setAvatar(), LLHoverView::updateText(), and LLVOAvatar::updateVisibility().

LLNetworkData * LLViewerObject::getParameterEntry ( U16  param_type  )  const [virtual]

Definition at line 4353 of file llviewerobject.cpp.

References getExtraParameterEntry(), NULL, and param.

Referenced by LLVOVolume::getLightBaseColor(), LLVOVolume::getLightColor(), LLVOVolume::getLightCutoff(), LLVOVolume::getLightFalloff(), LLVOVolume::getLightIntensity(), LLVOVolume::getLightRadius(), LLPanelVolume::getState(), LLPanelObject::getState(), LLPanelVolume::onCommitFlexible(), LLVOVolume::processUpdateMessage(), LLVOVolume::setLightColor(), LLVOVolume::setLightCutoff(), LLVOVolume::setLightFalloff(), LLVOVolume::setLightIntensity(), LLVOVolume::setLightRadius(), LLVOVolume::setVolume(), and LLVOVolume::updateTextures().

BOOL LLViewerObject::getParameterEntryInUse ( U16  param_type  )  const [virtual]

Definition at line 4366 of file llviewerobject.cpp.

References FALSE, getExtraParameterEntry(), and param.

Referenced by LLVOVolume::getIsLight(), LLPanelObject::getState(), LLVOVolume::isFlexible(), and LLVOVolume::isSculpted().

U32 LLViewerObject::getPartitionType (  )  const [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOPartGroup, LLVOSurfacePatch, LLVOTextBubble, LLVOTree, LLVOVolume, and LLVOWater.

Definition at line 4808 of file llviewerobject.cpp.

References LLPipeline::PARTITION_NONE.

Referenced by LLPipeline::getSpatialPartition().

const LLVector3 LLViewerObject::getPivotPositionAgent (  )  const [virtual]

Reimplemented in LLVOVolume.

Definition at line 3094 of file llviewerobject.cpp.

References getRenderPosition().

Referenced by LLVOVolume::getPivotPositionAgent().

F32 LLViewerObject::getPixelArea (  )  const [inline]

Reimplemented in LLVOAvatar.

Definition at line 315 of file llviewerobject.h.

References mPixelArea.

Referenced by LLVolumeImplFlexible::doIdleUpdate().

const LLVector3 & LLViewerObject::getPositionAgent (  )  const

Definition at line 3027 of file llviewerobject.cpp.

References LLXform::getParent(), LLViewerRegion::getPosAgentFromRegion(), LLXform::getPosition(), getPositionRegion(), LLXform::getRotation(), mDrawable, mPositionAgent, mRegionp, and LLPointer< Type >::notNull().

Referenced by LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), confirm_replace_attachment(), LLManipRotate::drag(), dump(), LLSelectMgr::dump(), LLViewerObjectList::findOrphans(), getBoundingBoxAgent(), LLVOAvatar::getCharacterPosition(), LLVOTextBubble::getGeometry(), getRenderPosition(), LLManipTranslate::handleHover(), LLToolGrab::handleObjectHit(), LLVOAvatar::idleUpdate(), LLAgent::lookAtObject(), process_avatar_sit_response(), process_chat_from_simulator(), LLDrawPoolAvatar::renderAvatars(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), LLManipTranslate::renderTranslationHandles(), LLDrawPoolTree::renderTree(), LLVOAvatar::resolveHeightGlobal(), LLVOTree::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), setPositionAbsoluteGlobal(), LLAgent::setPositionAgent(), LLVOAvatar::slamPosition(), LLVOAvatar::updateCharacter(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOClouds::updateGeometry(), LLVOWater::updateSpatialExtents(), LLVOSurfacePatch::updateSpatialExtents(), LLVOPartGroup::updateSpatialExtents(), LLLocalSpeakerMgr::updateSpeakerList(), updateText(), LLVOTextBubble::updateTextures(), and LLVOAvatar::updateVisibility().

const LLVector3 LLViewerObject::getPositionEdit (  )  const

Definition at line 3056 of file llviewerobject.cpp.

References LLXform::getParent(), LLXform::getPosition(), getPositionEdit(), getRotationEdit(), and LLXform::isRootEdit().

Referenced by LLManipRotate::drag(), LLManipScale::dragCorner(), getBoundingBoxAgent(), getPositionEdit(), LLPanelObject::getState(), LLManipTranslate::renderText(), and LLManipScale::stretchFace().

const LLVector3d LLViewerObject::getPositionGlobal (  )  const

Definition at line 3015 of file llviewerobject.cpp.

References gAgent, LLAgent::getPosGlobalFromAgent(), LLViewerRegion::getPosGlobalFromRegion(), getPositionRegion(), getRenderPosition(), isAttachment(), and mRegionp.

Referenced by LLViewerWindow::analyzeHit(), LLViewerWindow::clickPointInWorldGlobal(), LLViewerWindow::clickPointOnSurfaceGlobal(), dump(), LLSelectMgr::dump(), LLViewerObjectList::findOrphans(), LLAvatarTracker::getDegreesAndDist(), LLAvatarTracker::getGlobalPos(), LLWorld::getMinAllowedZ(), LLToolsSnapObjectXY::handleEvent(), LLManipTranslate::handleHover(), LLVOAvatar::idleUpdate(), LLAgent::lookAtObject(), process_kill_object(), processUpdateMessage(), LLSelectMgr::saveSelectedObjectTransform(), LLAgent::startFollowPilot(), LLToolGrab::startGrab(), and LLVOAvatar::updateCharacter().

const LLVector3 & LLViewerObject::getPositionRegion (  )  const

Definition at line 3046 of file llviewerobject.cpp.

References LLXform::getParent(), LLXform::getPosition(), getPositionRegion(), LLXform::getRotation(), LLXform::isRoot(), and mPositionRegion.

Referenced by LLFloaterTelehub::addBeacons(), LLFloaterScriptDebug::addScriptLine(), dump(), LLSelectMgr::dump(), LLVOGrass::getGeometry(), LLFloaterReporter::getObjectInfo(), getPositionAgent(), getPositionGlobal(), getPositionRegion(), LLAvatarEnableFreezeEject::handleEvent(), LLVOTree::idleUpdate(), idleUpdate(), isOverAgentOwnedLand(), isOverGroupOwnedLand(), LLVOTree::LLVOTree(), sendPositionUpdate(), setPositionAbsoluteGlobal(), setPositionEdit(), setPositionRegion(), and updatePositionCaches().

LLViewerRegion* LLViewerObject::getRegion (  )  const [inline]

Definition at line 210 of file llviewerobject.h.

References mRegionp.

Referenced by callback_eject(), callback_freeze(), LLTaskInvFVBridge::commitBuyItem(), derez_objects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLVOAvatar::getObjectHost(), LLFloaterReporter::getObjectInfo(), LLFloaterPay::give(), handle_sit_or_stand(), LLAvatarGiveCard::handleEvent(), LLAvatarEnableFreezeEject::handleEvent(), LLObjectTouch::handleEvent(), LLFloaterCompileQueue::handleInventory(), LLVOAvatar::idleUpdate(), LLLiveLSLEditor::loadAsset(), notify_cautioned_script_question(), LLLiveLSLEditor::onReset(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLViewerObjectList::orphanize(), parameterChanged(), LLFloaterPay::payViaObject(), process_chat_from_simulator(), process_kill_object(), LLViewerObjectList::processObjectUpdate(), LLVOVolume::processUpdateMessage(), processUpdateMessage(), LLViewerObjectList::removeFromLocalIDTable(), LLSelectMgr::requestObjectPropertiesFamily(), LLWorld::resolveStepHeightGlobal(), LLPermissionsView::revokePermissions(), LLSelectMgr::selectObjectOnly(), send_eject(), send_freeze(), LLSelectMgr::sendListToRegions(), sendMaterialUpdate(), sendPositionUpdate(), sendRotationUpdate(), sendScaleUpdate(), sendShapeUpdate(), sendTEUpdate(), setPositionAgent(), updateFlags(), LLVOVolume::updateRelativeXform(), and LLVOAvatar::updateTextures().

const LLMatrix4 LLViewerObject::getRenderMatrix (  )  const [virtual]

Reimplemented in LLVOVolume.

Definition at line 3121 of file llviewerobject.cpp.

References mDrawable.

Referenced by LLAgent::calcFocusOffset(), LLSelectMgr::getGrid(), and LLSelectNode::renderOneSilhouette().

const LLVector3 LLViewerObject::getRenderPosition (  )  const

Definition at line 3070 of file llviewerobject.cpp.

References LLXform::getPosition(), getPositionAgent(), LLPrimitive::isAvatar(), LLPointer< Type >::isNull(), LLXform::isRoot(), and mDrawable.

Referenced by LLVOVolume::agentPositionToVolume(), LLViewerWindow::analyzeHit(), LLViewerCamera::areVertsVisible(), LLAgent::calcFocusOffset(), LLVOVolume::calcLightAtPoint(), LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLVOVolume::generateSilhouette(), LLVolumeImplFlexible::getFramePosition(), LLSelectMgr::getGrid(), LLVOVolume::getLightDistance(), getPivotPositionAgent(), getPositionGlobal(), LLAgent::lookAtObject(), LLViewerJointAttachment::removeObject(), LLSelectNode::renderOneSilhouette(), LLAgent::setFocusGlobal(), LLVOPartGroup::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), setPixelAreaAndAngle(), LLViewerJointAttachment::setupDrawable(), LLVOAvatar::sitOnObject(), LLVOCloth::update(), LLVOAvatar::updateCharacter(), LLVOTree::updateSpatialExtents(), LLVOAvatar::updateSpatialExtents(), updateSpatialExtents(), updateText(), and LLVOVolume::volumePositionToAgent().

const LLQuaternion LLViewerObject::getRenderRotation (  )  const

Definition at line 3099 of file llviewerobject.cpp.

References LLXform::getRotation(), getRotationEdit(), LLPointer< Type >::isNull(), and mDrawable.

Referenced by LLVOVolume::agentDirectionToVolume(), LLVOVolume::agentPositionToVolume(), LLViewerCamera::areVertsVisible(), LLAgent::calcFocusOffset(), LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLManipRotate::drag(), LLVOVolume::generateSilhouette(), LLVolumeImplFlexible::getFrameRotation(), LLSelectMgr::getGrid(), LLVOAvatar::getOffObject(), LLToolGrab::handleObjectHit(), LLManipRotate::highlightManipulators(), LLViewerJointAttachment::removeObject(), LLManipRotate::renderSnapGuides(), LLSelectMgr::saveSelectedObjectTransform(), LLAgent::setFocusGlobal(), LLViewerJointAttachment::setupDrawable(), LLVOAvatar::sitOnObject(), LLVOCloth::update(), LLSelectMgr::updatePointAt(), and LLVOVolume::volumePositionToAgent().

LLViewerObject * LLViewerObject::getRootEdit (  )  const

Definition at line 3338 of file llviewerobject.cpp.

References mJointInfo, and LLXform::mParent.

Referenced by final_click_action(), getBoundingBoxAgent(), LLSelectMgr::getGrid(), LLObjectEnableOpen::handleEvent(), LLToolPie::handleHover(), LLManipTranslate::handleHover(), LLToolGrab::handleObjectHit(), LLToolSelect::handleObjectSelection(), LLToolPie::pickAndShowMenu(), LLSelectMgr::setHoverObject(), LLSelectMgr::updateSelectionCenter(), LLSelectMgr::updateSilhouettes(), and LLHoverView::updateText().

const LLQuaternion LLViewerObject::getRotationEdit (  )  const

Definition at line 3136 of file llviewerobject.cpp.

References LLXform::getParent(), LLXform::getRotation(), and LLXform::isRootEdit().

Referenced by LLManipRotate::drag(), LLManipScale::dragCorner(), getBoundingBoxAgent(), getPositionEdit(), getRenderRotation(), LLPanelObject::getState(), LLManipRotate::render(), LLSelectMgr::selectionRotateAroundZ(), sendRotationUpdate(), and LLManipScale::stretchFace().

const LLQuaternion LLViewerObject::getRotationRegion (  )  const

Definition at line 3126 of file llviewerobject.cpp.

References LLXform::getParent(), LLXform::getRotation(), and LLXform::isRoot().

Referenced by LLFloaterTelehub::addBeacons(), getBoundingBoxAgent(), LLSelectMgr::saveSelectedObjectTransform(), setPositionAbsoluteGlobal(), and setPositionRegion().

F32 LLViewerObject::getRotTime (  )  [inline]

Definition at line 200 of file llviewerobject.h.

References mRotTime.

U8 LLViewerObject::getState (  )  [inline]

Definition at line 312 of file llviewerobject.h.

References mState.

Referenced by LLVOAvatar::getTargetAttachmentPoint(), and LLAttachmentEnableDrop::handleEvent().

const LLViewerObject * LLViewerObject::getSubParent (  )  const

Definition at line 4004 of file llviewerobject.cpp.

References LLXform::getParent(), and isJointChild().

LLViewerObject * LLViewerObject::getSubParent (  ) 

Definition at line 3995 of file llviewerobject.cpp.

References LLXform::getParent(), and isJointChild().

Referenced by LLPanelVolume::getState(), and LLPanelObject::getState().

LLViewerImage * LLViewerObject::getTEImage ( const U8  te  )  const

Definition at line 3839 of file llviewerobject.cpp.

References LLPrimitive::getNumTEs(), llendl, llerrs, llformat(), mTEImages, NULL, and LLViewerImage::sDefaultImagep.

Referenced by LLVOVolume::addFace(), LLUndoWearable::applyUndoRedo(), boostTexturePriority(), LLVOAvatar::canGrabLocalTexture(), LLTextureView::draw(), LLVOAvatar::dumpArchetypeXML(), LLVOAvatar::dumpAvatarTEs(), LLVOAvatar::dumpLocalTextures(), LLDrawPoolAvatar::getDebugTexture(), LLVOAvatar::getLocalTextureRaw(), LLPanelFace::getState(), LLVOAvatar::grabLocalTexture(), LLToolTexEyedropper::handleMouseDown(), LLWearable::isDirty(), LLVOAvatar::isFullyBaked(), LLVOAvatar::isWearingWearableType(), LLVOAvatar::onBakedTextureMasksLoaded(), LLVOAvatar::onCustomizeStart(), LLVOAvatar::onFirstTEMessageReceived(), LLPanelEditWearable::onTextureCommit(), LLVOGrass::plantBlades(), LLWearable::readFromAvatar(), LLVOVolume::regenFaces(), LLVOAvatar::removeMissingBakedTextures(), LLVOAvatar::requestLayerSetUploads(), LLVOAvatar::setLocTexTE(), LLVOVolume::setTexture(), LLVOAvatar::setupComposites(), LLUndoWearable::setWearable(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOClouds::updateGeometry(), LLVOAvatar::updateMeshTextures(), LLVOTextBubble::updateTextures(), LLVOGrass::updateTextures(), LLVOClouds::updateTextures(), LLVOAvatar::updateTextures(), and LLVOAvatar::useBakedTexture().

F32 LLViewerObject::getVObjRadius (  )  const [virtual]

Definition at line 4176 of file llviewerobject.cpp.

References mDrawable, and LLPointer< Type >::notNull().

Referenced by LLAgent::lookAtObject().

virtual const LLMatrix4& LLViewerObject::getWorldMatrix ( LLXformMatrix xform  )  const [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 277 of file llviewerobject.h.

References xform().

void LLViewerObject::hideExtraDisplayItems ( BOOL  hidden  )  [protected]

Definition at line 652 of file llviewerobject.cpp.

References LLPointer< Type >::get(), mIcon, mPartSourcep, mText, LLPointer< Type >::notNull(), LLHUDIcon::setHidden(), LLHUDText::setHidden(), and LLViewerPartSource::setSuspended().

Referenced by LLViewerObjectList::findOrphans(), and processUpdateMessage().

BOOL LLViewerObject::idleUpdate ( LLAgent agent,
LLWorld world,
const F64 time 
) [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOGround, LLVOPartGroup, LLVOSky, LLVOStars, LLVOTextBubble, LLVOTree, LLVOTreeNew, LLVOVolume, and LLVOWater.

Definition at line 1959 of file llviewerobject.cpp.

References angle, applyAngularVelocity(), f, FALSE, LLPrimitive::getAcceleration(), LLPrimitive::getAngularVelocity(), LLXform::getParent(), LLXform::getPosition(), getPositionRegion(), LLXform::getRotation(), LLPrimitive::getVelocity(), gNoRender, gVelocityInterpolate, HAVOK_TIMESTEP, HJT_HINGE, HJT_POINT, isAttachment(), LLVector3::isExactlyZero(), isSelected(), LLVector3::magVecSquared(), LLVOJointInfo::mAxisOrAnchor, mDead, mJointInfo, LLVOJointInfo::mJointType, mLastInterpUpdateSecs, LLXform::MOVED, LLVOJointInfo::mPivot, mStatic, mTimeDilation, mUserSelected, LLXform::setChanged(), setPosition(), setPositionRegion(), LLQuaternion::setQuat(), setRotation(), LLPrimitive::setVelocity(), LLXform::SILHOUETTE, TRUE, and updateDrawable().

Referenced by LLVOVolume::idleUpdate(), LLVOTextBubble::idleUpdate(), LLVOAvatar::idleUpdate(), and LLViewerObjectList::update().

void LLViewerObject::increaseArrowLength (  )  [static]

Definition at line 2887 of file llviewerobject.cpp.

void LLViewerObject::initVOClasses (  )  [static]

Definition at line 426 of file llviewerobject.cpp.

References gNoRender, LLVOVolume::initClass(), LLVOSky::initClass(), LLVOWater::initClass(), LLVOGrass::initClass(), LLVOTree::initClass(), LLVOAvatar::initClass(), llendl, and llinfos.

Referenced by idle_startup().

BOOL LLViewerObject::isActive (  )  const [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOPartGroup, LLVOSurfacePatch, LLVOTextBubble, LLVOVolume, and LLVOWater.

Definition at line 1954 of file llviewerobject.cpp.

References TRUE.

Referenced by LLViewerObjectList::updateActive().

virtual BOOL LLViewerObject::isAttachment (  )  const [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 172 of file llviewerobject.h.

References FALSE.

Referenced by add_duplicate(), add_object(), LLTaskInvFVBridge::buyItem(), complete_give_money(), LLToolDragAndDrop::dad3dUpdateInventoryCategory(), LLManipRotate::drag(), LLManipScale::dragCorner(), enable_detach(), enable_save_into_inventory(), enable_save_into_task_inventory(), final_click_action(), find_avatar(), find_avatar_from_object(), LLVOAvatar::findAvatarFromAttachment(), LLObjectSelection::getFirstCopyableObject(), LLObjectSelection::getFirstDeleteableObject(), LLFloaterReporter::getObjectInfo(), getPositionGlobal(), LLSelectMgr::getSelectTypeForObject(), LLPanelObject::getState(), LLManipTranslate::handleHover(), LLToolSelectRect::handleRectangleSelection(), idleUpdate(), LLVOAvatar::needsRenderBeam(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolDragAndDrop::pickCallback(), LLSelectMgr::saveSelectedObjectTransform(), LLAgent::setLookAt(), LLAgent::setPointAt(), setPositionAbsoluteGlobal(), setPositionGlobal(), LLSpatialBridge::setVisible(), LLTaskInvFVBridge::startDrag(), LLManipScale::stretchFace(), LLSelectMgr::updateSilhouettes(), LLHoverView::updateText(), LLToolPie::useClickAction(), and LLToolDragAndDrop::willObjectAcceptInventory().

BOOL LLViewerObject::isChild ( LLViewerObject childp  )  const

Definition at line 594 of file llviewerobject.cpp.

References count, FALSE, i, mChildList, S32, and TRUE.

Referenced by LLSelectMgr::updateSelectionCenter().

BOOL LLViewerObject::isDead (  )  const [inline]

Definition at line 139 of file llviewerobject.h.

References mDead.

Referenced by LLObjectSelection::addNode(), LLObjectSelection::addNodeAtEnd(), boostTexturePriority(), LLSelectMgr::canSelectObject(), LLVOAvatar::clampAttachmentPositions(), LLViewerObjectList::cleanDeadObjects(), LLObjectSelection::cleanupNodes(), LLVOAvatar::findAvatarFromAttachment(), LLViewerObjectList::findOrphans(), LLAvatarTracker::getDegreesAndDist(), LLAvatarTracker::getGlobalPos(), LLViewerObjectList::getObject(), LLVOAvatar::getObjectHost(), LLTrackingData::haveTrackingInfo(), LLVOAvatar::idleUpdate(), LLMorphView::initialize(), LLViewerObjectList::killObject(), markDead(), LLTexLayerSetBuffer::onTextureUploadComplete(), LLAgent::processAgentCachedTextureResponse(), LLViewerObjectList::processObjectUpdate(), LLViewerObjectList::processUpdateCore(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolAvatar::renderForSelect(), LLViewerObjectList::renderObjectsForSelect(), setScale(), LLHUDEffectBeam::setSourceObject(), LLMorphView::shutdown(), LLViewerObjectList::updateActive(), LLViewerObjectList::updateApparentAngles(), updateText(), and LLWorld::updateWaterObjects().

virtual BOOL LLViewerObject::isFlexible (  )  const [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 219 of file llviewerobject.h.

virtual BOOL LLViewerObject::isHUDAttachment (  )  const [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 173 of file llviewerobject.h.

References FALSE.

Referenced by LLSelectMgr::getSelectTypeForObject(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolDragAndDrop::pickCallback(), processUpdateMessage(), LLSelectNode::renderOneSilhouette(), LLSelectMgr::renderSilhouettes(), LLViewerJointAttachment::setAttachmentVisibility(), setDebugText(), LLVOPartGroup::setPixelAreaAndAngle(), setPixelAreaAndAngle(), LLSpatialBridge::setVisible(), and LLHoverView::updateText().

BOOL LLViewerObject::isInventoryDirty (  )  [inline]

Definition at line 396 of file llviewerobject.h.

References mInventoryDirty.

Referenced by LLPanelInventory::refresh().

BOOL LLViewerObject::isInventoryPending (  )  [inline]

Definition at line 373 of file llviewerobject.h.

References mInventoryPending.

Referenced by LLTaskAnimationBridge::openItem(), LLTaskGestureBridge::openItem(), LLTaskNotecardBridge::openItem(), and LLTaskLSLBridge::openItem().

BOOL LLViewerObject::isJointChild (  )  const [inline]

Definition at line 177 of file llviewerobject.h.

References FALSE, mJointInfo, and TRUE.

Referenced by addThisAndNonJointChildren(), LLSelectMgrApplyFlags::apply(), LLSelectMgr::deselectObjectAndFamily(), getSubParent(), LLObjectSelection::is_root_object::operator()(), LLObjectSelection::is_valid_root::operator()(), LLObjectSelection::is_root::operator()(), LLSelectMgr::promoteSelectionToRoot(), LLSelectMgr::selectObjectAndFamily(), setPositionEdit(), and LLSelectMgr::updateSelectionCenter().

BOOL LLViewerObject::isOnMap (  )  [protected]

Definition at line 4013 of file llviewerobject.cpp.

References mOnMap.

Referenced by LLViewerObjectList::cleanupReferences().

BOOL LLViewerObject::isOrphaned (  )  const [inline]

Definition at line 140 of file llviewerobject.h.

References mOrphaned.

Referenced by LLPipeline::allocDrawable(), and LLSelectMgr::canSelectObject().

BOOL LLViewerObject::isOverAgentOwnedLand (  )  const

Definition at line 478 of file llviewerobject.cpp.

References LLViewerRegion::getParcelOverlay(), getPositionRegion(), LLViewerParcelOverlay::isOwnedSelf(), and mRegionp.

Referenced by LLObjectSelection::getFirstDeleteableObject().

BOOL LLViewerObject::isOverGroupOwnedLand (  )  const

Definition at line 487 of file llviewerobject.cpp.

References LLViewerRegion::getParcelOverlay(), getPositionRegion(), LLViewerParcelOverlay::isOwnedGroup(), and mRegionp.

Referenced by LLObjectSelection::getFirstDeleteableObject().

BOOL LLViewerObject::isParticleSource (  )  const

Definition at line 4040 of file llviewerobject.cpp.

References LLPointer< Type >::isNull(), and mPartSourcep.

Referenced by addParticleSourcesToList(), and renderParticleBeacons().

BOOL LLViewerObject::isSeat (  )  const

Definition at line 607 of file llviewerobject.cpp.

References count, FALSE, i, mChildList, S32, and TRUE.

BOOL LLViewerObject::isSelected (  )  const [inline]

Definition at line 212 of file llviewerobject.h.

References mUserSelected.

Referenced by LLVOAvatar::attachObject(), LLSelectMgr::deselectHighlightedObjects(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), LLViewerObjectList::findOrphans(), getSelectedParentObject(), LLToolSelect::handleObjectSelection(), LLToolSelectRect::handleRectangleSelection(), LLVOAvatar::idleUpdate(), idleUpdate(), LLToolFace::pickCallback(), processUpdateMessage(), LLVolumeGeometryManager::registerFace(), removeChild(), LLSelectMgr::renderSilhouettes(), LLSelectMgr::selectHighlightedObjects(), LLSelectMgr::selectObjectAndFamily(), LLSelectMgr::selectObjectOnly(), updateDrawable(), and LLSelectMgr::updatePointAt().

BOOL LLViewerObject::lineSegmentIntersect ( const LLVector3 start,
LLVector3 end 
) const [virtual]

Reimplemented in LLVOVolume.

Definition at line 4776 of file llviewerobject.cpp.

References FALSE.

Referenced by LLOctreePick::check().

void LLViewerObject::loadTaskInvFile ( const char *  filename  )  [protected]

Definition at line 2457 of file llviewerobject.cpp.

References doInventoryCallback(), gDirUtilp, LLDir::getExpandedFilename(), tut::inv(), LL_PATH_CACHE, llendl, llifstream, llwarns, MAX_STRING, mInventory, LLMemType::MTYPE_OBJECT, and LLFile::remove().

Referenced by processTaskInvFile().

void LLViewerObject::markDead (  )  [virtual]

Reimplemented in LLVOAvatar, LLVOSurfacePatch, and LLVOWater.

Definition at line 272 of file llviewerobject.cpp.

References LLViewerObjectList::cleanupReferences(), flagAnimSource(), flagCameraSource(), gAgent, gAudiop, LLAgent::getAvatarObject(), LLXform::getParent(), LLPrimitive::getPCode(), gObjectList, isDead(), LL_PCODE_LEGACY_AVATAR, markDead(), mAudioSourcep, mChildList, mDead, mDrawable, mIcon, mID, mJointInfo, mPartSourcep, mText, LLPointer< Type >::notNull(), NULL, removeChild(), LLFollowCamMgr::removeFollowCamParams(), setDrawableParent(), setParent(), sNumZombieObjects, LLVOAvatar::stopMotionFromSource(), and TRUE.

Referenced by LLViewerObjectList::killObject(), LLVOWater::markDead(), LLVOSurfacePatch::markDead(), LLVOAvatar::markDead(), and markDead().

void LLViewerObject::markForUpdate ( BOOL  priority  ) 

Reimplemented in LLVOVolume.

Definition at line 4682 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), LLPipeline::markTextured(), mDrawable, LLPointer< Type >::notNull(), and LLDrawable::REBUILD_GEOMETRY.

Referenced by LLVolumeImplFlexible::doFlexibleUpdate(), LLVOVolume::markForUpdate(), and updateVolume().

LLViewerObject::MEM_TYPE_NEW ( LLMemType::MTYPE_OBJECT   ) 

void LLViewerObject::moveInventory ( const LLUUID agent_folder,
const LLUUID item_id 
)

Definition at line 2264 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_FolderID, _PREHASH_InventoryData, _PREHASH_ItemID, _PREHASH_LocalID, _PREHASH_MoveTaskInventory, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLPermissions::allowCopyBy(), deleteInventoryItem(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getInventoryObject(), LLInventoryItem::getPermissions(), LLAgent::getSessionID(), gMessageSystem, lldebugs, llendl, mInventorySerialNum, mLocalID, mRegionp, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

BOOL LLViewerObject::onActiveList (  )  const [inline]

Definition at line 169 of file llviewerobject.h.

References mOnActiveList.

Referenced by LLViewerObjectList::cleanupReferences(), and LLViewerObjectList::updateActive().

virtual void LLViewerObject::onShift ( const LLVector3 shift_vector  )  [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 361 of file llviewerobject.h.

void LLViewerObject::parameterChanged ( U16  param_type,
LLNetworkData data,
BOOL  in_use,
bool  local_origin 
) [virtual]

Reimplemented in LLVOVolume.

Definition at line 4423 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectExtraParams, _PREHASH_ObjectLocalID, _PREHASH_ParamData, _PREHASH_ParamInUse, _PREHASH_ParamSize, _PREHASH_ParamType, _PREHASH_SessionID, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addBOOLFast(), LLMessageSystem::addU16Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLDataPackerBinaryBuffer::getCurrentSize(), LLViewerRegion::getHost(), LLAgent::getID(), getRegion(), LLAgent::getSessionID(), gMessageSystem, llendl, llwarns, MAX_OBJECT_PARAMS_SIZE, mLocalID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLNetworkData::pack(), and LLMessageSystem::sendReliable().

void LLViewerObject::parameterChanged ( U16  param_type,
bool  local_origin 
) [virtual]

Reimplemented in LLVOVolume.

Definition at line 4414 of file llviewerobject.cpp.

References getExtraParameterEntry(), and param.

Referenced by LLVOVolume::parameterChanged(), processUpdateMessage(), setParameterEntry(), setParameterEntryInUse(), and unpackParameterEntry().

BOOL LLViewerObject::permAnyOwner (  )  const

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 4495 of file llviewerobject.cpp.

References FLAGS_OBJECT_ANY_OWNER, LLXform::getParent(), LLXform::isRootEdit(), and mFlags.

Referenced by LLLiveLSLEditor::draw(), enable_buy(), and LLObjectSelection::getFirstDeleteableObject().

BOOL LLViewerObject::permCopy (  )  const

Definition at line 4589 of file llviewerobject.cpp.

References FLAGS_OBJECT_COPY, gAgent, LLAgent::getGodLevel(), LLXform::getParent(), gInProductionGrid, GOD_MAINTENANCE, LLXform::isRootEdit(), mFlags, and TRUE.

Referenced by derez_objects(), LLObjectSelection::getFirstCopyableObject(), LLPanelPermissions::refresh(), LLSelectMgr::selectGetRootsCopy(), and LLHoverView::updateText().

BOOL LLViewerObject::permGroupOwner (  )  const

Definition at line 4530 of file llviewerobject.cpp.

References FLAGS_OBJECT_GROUP_OWNED, LLXform::getParent(), LLXform::isRootEdit(), and mFlags.

BOOL LLViewerObject::permModify (  )  const

Definition at line 4566 of file llviewerobject.cpp.

References FLAGS_OBJECT_MODIFY, gAgent, LLAgent::getGodLevel(), LLXform::getParent(), gInProductionGrid, GOD_MAINTENANCE, LLXform::isRootEdit(), mFlags, and TRUE.

Referenced by LLSelectMgr::adjustTexturesByScale(), allowOpen(), LLSelectMgrApplyFlags::apply(), LLSelectMgrSendFunctor::apply(), LLToolDragAndDrop::dad3dTextureObject(), derez_objects(), LLManipScale::drag(), LLManipRotate::drag(), LLManipScale::dragCorner(), enable_take(), LLObjectSelection::getFirstDeleteableObject(), LLObjectSelection::getFirstEditableObject(), LLPanelVolume::getState(), LLPanelObject::getState(), LLPanelFace::getState(), LLPanelContents::getState(), LLToolsSnapObjectXY::handleEvent(), LLTaskInvFVBridge::isItemRemovable(), LLTaskAnimationBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLPanelPermissions::refresh(), LLTaskInvFVBridge::removeBatch(), LLTaskInvFVBridge::removeItem(), LLViewerWindow::renderSelections(), LLSelectMgr::selectGetModify(), LLSelectMgr::selectGetRootsModify(), LLSelectMgr::selectionRevertColors(), LLSelectMgr::selectionRevertTextures(), LLSelectMgr::selectionSetAlphaOnly(), LLSelectMgr::selectionSetBumpmap(), LLSelectMgr::selectionSetColor(), LLSelectMgr::selectionSetColorOnly(), LLSelectMgr::selectionSetFullbright(), LLSelectMgr::selectionSetMaterial(), LLSelectMgr::selectionSetMediaTypeAndURL(), LLSelectMgr::selectionSetShiny(), LLSelectMgr::selectionSetTexGen(), LLSelectMgr::selectionTexScaleAutofit(), LLManipScale::stretchFace(), and LLToolDragAndDrop::willObjectAcceptInventory().

BOOL LLViewerObject::permMove (  )  const

Definition at line 4612 of file llviewerobject.cpp.

References FLAGS_OBJECT_MOVE, gAgent, LLAgent::getGodLevel(), LLXform::getParent(), gInProductionGrid, GOD_MAINTENANCE, LLXform::isRootEdit(), mFlags, and TRUE.

Referenced by LLSelectMgr::canSelectObject(), LLManipScale::drag(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLObjectSelection::getFirstMoveableNode(), LLObjectSelection::getFirstMoveableObject(), LLPanelObject::getState(), handle_take(), LLManipTranslate::handleHover(), LLToolGrab::handleObjectHit(), LLSelectMgr::highlightObjectOnly(), LLSelectMgr::overrideObjectUpdates(), LLPanelPermissions::refresh(), LLViewerWindow::renderSelections(), and LLManipScale::stretchFace().

BOOL LLViewerObject::permOwnerModify (  )  const

Definition at line 4543 of file llviewerobject.cpp.

References FLAGS_OBJECT_OWNER_MODIFY, gAgent, LLAgent::getGodLevel(), LLXform::getParent(), gInProductionGrid, GOD_MAINTENANCE, LLXform::isRootEdit(), mFlags, and TRUE.

Referenced by LLFloaterProperties::refreshFromItem().

BOOL LLViewerObject::permTransfer (  )  const

Definition at line 4635 of file llviewerobject.cpp.

References FLAGS_OBJECT_TRANSFER, gAgent, LLAgent::getGodLevel(), LLXform::getParent(), gInProductionGrid, GOD_MAINTENANCE, LLXform::isRootEdit(), mFlags, and TRUE.

Referenced by LLPanelPermissions::refresh(), and LLSelectMgr::selectGetRootsTransfer().

BOOL LLViewerObject::permYouOwner (  )  const

Definition at line 4507 of file llviewerobject.cpp.

References FLAGS_OBJECT_YOU_OWNER, gAgent, LLAgent::getGodLevel(), LLXform::getParent(), gInProductionGrid, GOD_MAINTENANCE, LLXform::isRootEdit(), mFlags, and TRUE.

Referenced by allowOpen(), LLSelectMgr::canSelectObject(), LLToolDragAndDrop::dad3dUpdateInventoryCategory(), doUpdateInventory(), LLFolderBridge::dragItemIntoFolder(), LLObjectSelection::getFirstDeleteableObject(), LLPanelContents::getState(), handle_take(), LLSelectMgr::highlightObjectOnly(), is_selection_buy_not_take(), LLTaskInvFVBridge::isItemRemovable(), move_inv_category_world_to_agent(), LLToolPie::pickAndShowMenu(), process_chat_from_simulator(), process_improved_im(), LLSelectMgr::processObjectProperties(), selection_price(), setScale(), LLTaskCategoryBridge::startDrag(), LLTaskInvFVBridge::startDrag(), and LLToolDragAndDrop::willObjectAcceptInventory().

void LLViewerObject::printNameValuePairs (  )  const

Definition at line 416 of file llviewerobject.cpp.

References llendl, llinfos, and mNameValuePairs.

Referenced by print_agent_nvpairs().

void LLViewerObject::processTaskInv ( LLMessageSystem msg,
void **  user_data 
) [static]

Definition at line 2390 of file llviewerobject.cpp.

References _PREHASH_Filename, _PREHASH_InventoryData, _PREHASH_Serial, _PREHASH_TaskID, LLAssetType::AT_CATEGORY, doInventoryCallback(), LLViewerObjectList::findObject(), gDirUtilp, LLDir::getExpandedFilename(), LLViewerRegion::getHost(), LLMessageSystem::getS16Fast(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), gObjectList, gXferManager, LLXferManager::HIGH_PRIORITY, LL_PATH_CACHE, lldebugs, llendl, llwarns, MAX_STRING, LLFilenameAndTask::mFilename, mID, mInventory, mInventorySerialNum, mRegionp, LLFilenameAndTask::mTaskID, LLMemType::MTYPE_OBJECT, LLUUID::null, processTaskInvFile(), LLXferManager::requestFile(), and TRUE.

Referenced by register_viewer_callbacks().

void LLViewerObject::processTaskInvFile ( void **  user_data,
S32  error_code,
LLExtStat  ext_status 
) [static, protected]

Definition at line 2438 of file llviewerobject.cpp.

References LLViewerObjectList::findObject(), gObjectList, lldebugs, llendl, loadTaskInvFile(), LLFilenameAndTask::mFilename, LLFilenameAndTask::mTaskID, and NULL.

Referenced by processTaskInv().

U32 LLViewerObject::processUpdateMessage ( LLMessageSystem mesgsys,
void **  user_data,
U32  block_num,
const EObjectUpdateType  update_type,
LLDataPacker dp 
) [virtual]

Reimplemented in LLVOAvatar, LLVOGrass, LLVOTree, LLVOTreeNew, and LLVOVolume.

Definition at line 674 of file llviewerobject.cpp.

References _PREHASH_ClickAction, _PREHASH_CRC, _PREHASH_Data, _PREHASH_ExtraParams, _PREHASH_Flags, _PREHASH_Gain, _PREHASH_JointAxisOrAnchor, _PREHASH_JointPivot, _PREHASH_JointType, _PREHASH_Material, _PREHASH_MediaURL, _PREHASH_NameValue, _PREHASH_ObjectData, _PREHASH_OwnerID, _PREHASH_ParentID, _PREHASH_RegionData, _PREHASH_RegionHandle, _PREHASH_Scale, _PREHASH_Sound, _PREHASH_State, _PREHASH_Text, _PREHASH_TextColor, _PREHASH_TimeDilation, _PREHASH_UpdateFlags, LLViewerRegion::addCacheMissFull(), addChild(), LLHUDObject::addHUDObject(), LLPipeline::addObject(), LLHUDText::ALIGN_VERT_TOP, LLVOAvatar::clampAttachmentPositions(), LLDrawable::CLEAR_INVISIBLE, count, LLViewerObjectList::createObjectViewer(), deleteParticleSource(), dialog_refresh_all(), f, FALSE, LLCircuit::findCircuit(), LLViewerObjectList::findObject(), FLAGS_CREATE_SELECTED, FLAGS_LOCAL, LLDrawable::FORCE_INVISIBLE, from_region_handle(), gain(), LLPrimitive::getAcceleration(), LLPrimitive::getAngularVelocity(), LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getCurrentRecvPacketID(), LLFrameTimer::getElapsedSeconds(), LLMessageSystem::getF32Fast(), getID(), getLocalID(), LLPrimitive::getMaterial(), LLXform::getParent(), LLCircuitData::getPingDelay(), LLXform::getPosition(), getPositionGlobal(), getRegion(), LLXform::getScale(), LLMessageSystem::getSender(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), LLMessageSystem::getSizeFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getU16Fast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLViewerObjectList::getUUIDFromLocal(), LLMessageSystem::getVector3Fast(), LLPrimitive::getVelocity(), gFrameDTClamped, gMessageSystem, gObjectList, gPingInterpolate, gPipeline, gSelectMgr, gShowObjectUpdates, gWorldPointer, hideExtraDisplayItems(), htonmemcpy(), i, LLPrimitive::isAvatar(), LLVector3::isExactlyZero(), isHUDAttachment(), isSelected(), LLViewerObjectList::killObject(), LLHUDObject::LL_HUD_TEXT, LL_PCODE_LEGACY_AVATAR, LL_PCODE_LEGACY_TEXT_BUBBLE, llendl, llerrs, llinfos, llwarns, LLVector3::magVecSquared(), LLPipeline::markMoved(), MAX_OBJECT_PARAMS_SIZE, MAX_STRING, LLVOJointInfo::mAxisOrAnchor, mBestUpdatePrecision, mChildList, LLMessageSystem::mCircuitInfo, LLVOTextBubble::mColor, mCreateSelected, mData, mDrawable, MEDIA_TYPE_WEB_PAGE, MEDIA_URL_ADDED, MEDIA_URL_REMOVED, MEDIA_URL_UPDATED, mExtraParameterList, mFlags, MIN_HEIGHT, mJointInfo, LLVOJointInfo::mJointType, mLastInterpUpdateSecs, mLastMessageUpdateSecs, mLastRot, mLatestRecvPacketID, mLocalID, mMedia, LLViewerObjectMedia::mMediaType, LLViewerObjectMedia::mMediaURL, mOrphaned, LLXform::MOVED, LLXform::mParent, LLViewerObjectMedia::mPassedWhitelist, LLVOJointInfo::mPivot, LLPrimitive::mPrimitiveCode, LLQuaternion::mQ, mRegionp, mState, mStatic, mText, mTimeDilation, mTotalCRC, LLMemType::MTYPE_OBJECT, mUserSelected, LLColor4U::mV, LLVector3::mV, LLVector4::mV, MVT_LLVector3, MVT_LLVector4, MVT_U16Quat, MVT_U16Vec3, LLQuaternion::normQuat(), LLPointer< Type >::notNull(), NULL, LLViewerObjectList::orphanize(), OUT_FULL, OUT_FULL_CACHED, OUT_FULL_COMPRESSED, OUT_TERSE_IMPROVED, param, parameterChanged(), LLVector3::quantize16(), LLVector3::quantize8(), removeChild(), resetRot(), LLXform::ROTATED, S32, LLXform::SCALED, LLPrimitive::setAcceleration(), LLPrimitive::setAngularVelocity(), setAttachedSound(), LLXform::setChanged(), setClickAction(), setDrawableParent(), setMaterial(), setNameValueList(), setParent(), LLDataPacker::setPassFlags(), setPositionGlobal(), setPositionParent(), setRotation(), setScale(), LLViewerRegion::setTimeDilation(), LLColor4::setVec(), LLVector3::setVec(), LLPrimitive::setVelocity(), LLXform::SILHOUETTE, size, specialHoverCursor(), LLFontGL::sSansSerif, LLXform::TEXTURE, TRUE, U16_to_F32(), U8_to_F32(), LLDataPacker::unpackBinaryData(), LLDataPackerBinaryBuffer::unpackBinaryData(), LLDataPacker::unpackBinaryDataFixed(), LLDataPacker::unpackF32(), LLQuaternion::unpackFromVector3(), unpackParameterEntry(), unpackParticleSource(), LLDataPacker::unpackString(), LLDataPacker::unpackU16(), LLDataPackerBinaryBuffer::unpackU16(), LLDataPacker::unpackU32(), LLDataPacker::unpackU8(), LLDataPackerBinaryBuffer::unpackU8(), LLDataPacker::unpackUUID(), LLDataPacker::unpackVector3(), LLDataPacker::unpackVector4(), LLSelectMgr::updateSelectionCenter(), VS, VW, VX, VY, VZ, x, y, and LLVector3::zero.

Referenced by LLViewerObjectList::processUpdateCore(), LLVOVolume::processUpdateMessage(), LLVOTree::processUpdateMessage(), LLVOGrass::processUpdateMessage(), and LLVOAvatar::processUpdateMessage().

void LLViewerObject::registerInventoryListener ( LLVOInventoryListener listener,
void user_data 
)

Definition at line 2305 of file llviewerobject.cpp.

References mInventoryCallbacks, LLViewerObject::LLInventoryCallbackInfo::mInventoryData, LLViewerObject::LLInventoryCallbackInfo::mListener, and LLMemType::MTYPE_OBJECT.

Referenced by LLVOInventoryListener::registerVOInventoryListener().

void LLViewerObject::removeChild ( LLViewerObject childp  )  [virtual]

Reimplemented in LLVOAvatar.

Definition at line 532 of file llviewerobject.cpp.

References LLSelectMgr::deselectObjectAndFamily(), gPipeline, gSelectMgr, i, LLPrimitive::isAvatar(), isSelected(), LLPipeline::markRebuild(), mChildList, mDrawable, LLPointer< Type >::notNull(), NULL, LLDrawable::REBUILD_VOLUME, LLSelectMgr::selectObjectAndFamily(), setParent(), and TRUE.

Referenced by addChild(), markDead(), processUpdateMessage(), and LLVOAvatar::removeChild().

void LLViewerObject::removeInventory ( const LLUUID item_id  ) 

Definition at line 2531 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_InventoryData, _PREHASH_ItemID, _PREHASH_LocalID, _PREHASH_RemoveTaskInventory, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLFloaterProperties::closeByID(), deleteInventoryItem(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mID, mInventorySerialNum, mLocalID, mRegionp, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropScript(), LLToolDragAndDrop::handleDropTextureProtections(), remove_task_inventory_callback(), LLTaskInvFVBridge::removeBatch(), and LLTaskInvFVBridge::removeItem().

void LLViewerObject::removeInventoryListener ( LLVOInventoryListener listener  ) 

Definition at line 2315 of file llviewerobject.cpp.

References mInventoryCallbacks, LLViewerObject::LLInventoryCallbackInfo::mListener, and NULL.

Referenced by LLVOInventoryListener::removeVOInventoryListener().

BOOL LLViewerObject::removeNVPair ( const char *  name  ) 

Definition at line 2945 of file llviewerobject.cpp.

References LLStringTable::addString(), FALSE, gNVNameTable, lldebugs, llendl, mNameValuePairs, mRegionp, and TRUE.

Referenced by process_remove_name_value().

void LLViewerObject::requestInventory (  ) 

Definition at line 2336 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_InventoryData, _PREHASH_LocalID, _PREHASH_RequestTaskInventory, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), doInventoryCallback(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mInventory, mInventoryDirty, mInventoryPending, mLocalID, mRegionp, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and TRUE.

Referenced by LLVOInventoryListener::requestVOInventory().

void LLViewerObject::resetRot (  ) 

Definition at line 4803 of file llviewerobject.cpp.

References mRotTime.

Referenced by processUpdateMessage(), LLSelectMgr::selectObjectAndFamily(), and LLSelectMgr::selectObjectOnly().

void LLViewerObject::saveScript ( const LLViewerInventoryItem item,
BOOL  active,
bool  is_new 
)

Definition at line 2225 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Enabled, _PREHASH_GroupID, _PREHASH_InventoryBlock, _PREHASH_ObjectLocalID, _PREHASH_RezScript, _PREHASH_SessionID, _PREHASH_UpdateBlock, LLMessageSystem::addBOOLFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), doUpdateInventory(), gAgent, LLInventoryItem::getAssetUUID(), LLInventoryItem::getCreationDate(), LLInventoryItem::getDescription(), LLInventoryItem::getFlags(), LLAgent::getGroupID(), LLViewerRegion::getHost(), LLAgent::getID(), LLInventoryItem::getInventoryType(), LLInventoryObject::getName(), LLInventoryItem::getPermissions(), LLInventoryItem::getSaleInfo(), LLAgent::getSessionID(), LLViewerInventoryItem::getTransactionID(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), gMessageSystem, lldebugs, llendl, mID, mLocalID, mRegionp, LLMemType::MTYPE_OBJECT, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and TASK_INVENTORY_ITEM_KEY.

Referenced by LLToolDragAndDrop::dropScript(), LLPanelContents::onClickNewScript(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLFloaterCompileQueue::saveItemByAssetID(), and LLLiveLSLEditor::uploadAssetLegacy().

void LLViewerObject::sendMaterialUpdate (  )  const

Definition at line 3484 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Material, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_ObjectMaterial, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLPrimitive::getMaterial(), getRegion(), LLAgent::getSessionID(), gMessageSystem, mLocalID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by LLSelectMgr::selectionSetFullbright(), and LLSelectMgr::selectionSetMaterial().

void LLViewerObject::sendPositionUpdate (  )  const

Definition at line 3516 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_ObjectPosition, _PREHASH_Position, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getPositionRegion(), getRegion(), LLAgent::getSessionID(), gMessageSystem, mLocalID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

void LLViewerObject::sendRotationUpdate (  )  const

Definition at line 3500 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_ObjectRotation, _PREHASH_Rotation, _PREHASH_SessionID, LLMessageSystem::addQuatFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getRegion(), getRotationEdit(), LLAgent::getSessionID(), gMessageSystem, mLocalID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by LLSelectMgr::selectionResetRotation(), and LLSelectMgr::selectionRotateAroundZ().

void LLViewerObject::sendScaleUpdate (  ) 

Definition at line 3531 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_ObjectScale, _PREHASH_Scale, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getRegion(), LLXform::getScale(), LLAgent::getSessionID(), gMessageSystem, mLocalID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

void LLViewerObject::sendShapeUpdate (  ) 

Definition at line 3547 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_ObjectShape, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getRegion(), LLAgent::getSessionID(), LLPrimitive::getVolume(), gMessageSystem, mLocalID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLVolumeMessage::packVolumeParams(), and LLMessageSystem::sendReliable().

Referenced by updateVolume().

void LLViewerObject::sendTEUpdate (  )  const

Definition at line 3563 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectImage, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addString(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getRegion(), LLAgent::getSessionID(), gMessageSystem, mLocalID, mMedia, LLViewerObjectMedia::mMediaURL, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, LLPrimitive::packTEMessage(), and LLMessageSystem::sendReliable().

Referenced by LLSelectMgr::adjustTexturesByScale(), LLSelectMgrSendFunctor::apply(), LLPanelFaceSendFunctor::apply(), LLToolDragAndDrop::dropTextureAllFaces(), LLToolDragAndDrop::dropTextureOneFace(), LLSelectMgr::selectionSetFullbright(), LLSelectMgr::selectionSetImage(), and LLSelectMgr::selectionSetMediaTypeAndURL().

void LLViewerObject::setAttachedSound ( const LLUUID audio_uuid,
const LLUUID owner_id,
const F32  gain,
const U8  flags 
)

Definition at line 4181 of file llviewerobject.cpp.

References LLAudioEngine::cleanupAudioSource(), gAudiop, getAudioSource(), LLAudioSource::getCurrentData(), LLControlGroup::getF32(), LLAudioData::getID(), gSavedSettings, LLAudioSource::hasPendingPreloads(), LLAudioSource::isDone(), LLAudioSource::isLoop(), LLUUID::isNull(), LL_SOUND_FLAG_LOOP, LL_SOUND_FLAG_QUEUE, LL_SOUND_FLAG_STOP, LL_SOUND_FLAG_SYNC_MASTER, LL_SOUND_FLAG_SYNC_SLAVE, mAudioGain, mAudioSourcep, LLUUID::null, NULL, LLAudioSource::play(), LLAudioSourceVO::setGain(), LLAudioSource::setLoop(), LLAudioSource::setQueueSounds(), LLAudioSource::setSyncMaster(), and LLAudioSource::setSyncSlave().

Referenced by process_attached_sound(), and processUpdateMessage().

void LLViewerObject::setCanSelect ( BOOL  canSelect  ) 

Definition at line 3939 of file llviewerobject.cpp.

References i, mbCanSelect, and mChildList.

void LLViewerObject::setClickAction ( U8  action  )  [inline]

Definition at line 439 of file llviewerobject.h.

References mClickAction.

Referenced by processUpdateMessage(), and LLSelectMgr::selectionSetClickAction().

BOOL LLViewerObject::setData ( const U8 datap,
const U32  data_size 
) [protected]

Definition at line 2101 of file llviewerobject.cpp.

References FALSE, mData, LLMemType::MTYPE_OBJECT, and TRUE.

void LLViewerObject::setDebugText ( const std::string &  utf8text  ) 

Definition at line 3948 of file llviewerobject.cpp.

References LLHUDObject::addHUDObject(), LLHUDText::ALIGN_VERT_TOP, FALSE, isHUDAttachment(), LLHUDObject::LL_HUD_TEXT, mText, LLFontGL::sSansSerif, updateText(), and LLColor4::white.

Referenced by LLVOAvatar::updateCharacter(), LLVOVolume::updateTextures(), LLVOTree::updateTextures(), LLVOGrass::updateTextures(), and LLVOAvatar::updateTextures().

BOOL LLViewerObject::setDrawableParent ( LLDrawable parentp  )  [virtual]

Reimplemented in LLVOVolume.

Definition at line 622 of file llviewerobject.cpp.

References FALSE, gPipeline, LLDrawable::isActive(), LLPointer< Type >::isNull(), LLPipeline::markMoved(), LLPipeline::markRebuild(), mDrawable, LLDrawable::mXform, NULL, LLDrawable::REBUILD_VOLUME, and TRUE.

Referenced by LLPipeline::addObject(), LLViewerObjectList::findOrphans(), markDead(), processUpdateMessage(), and LLVOVolume::setDrawableParent().

void LLViewerObject::setDrawableState ( U32  state,
BOOL  recursive = TRUE 
)

Definition at line 4460 of file llviewerobject.cpp.

References i, mChildList, and mDrawable.

BOOL LLViewerObject::setFlags ( U32  flag,
BOOL  state 
)

Definition at line 4747 of file llviewerobject.cpp.

References FALSE, mFlags, TRUE, and updateFlags().

Referenced by LLSelectMgrApplyFlags::apply(), and LLVOVolume::setIsFlexible().

void LLViewerObject::setIcon ( LLViewerImage icon_image  ) 

Definition at line 3971 of file llviewerobject.cpp.

References LLHUDObject::addHUDObject(), f, LLHUDObject::LL_HUD_ICON, and mIcon.

Referenced by LLFloaterScriptDebug::addScriptLine().

void LLViewerObject::setIncludeInSearch ( bool  include_in_search  ) 

Definition at line 4696 of file llviewerobject.cpp.

References FLAGS_INCLUDE_IN_SEARCH, and mFlags.

Referenced by LLSelectMgr::selectionSetIncludeInSearch().

void LLViewerObject::setLineWidthForWindowSize ( S32  window_width  ) 

Definition at line 2866 of file llviewerobject.cpp.

References f, and LLUI::setLineWidth().

BOOL LLViewerObject::setMaterial ( const U8  material  )  [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3429 of file llviewerobject.cpp.

References LLXform::setChanged(), LLPrimitive::setMaterial(), and LLXform::TEXTURE.

Referenced by processUpdateMessage(), LLSelectMgr::selectionSetFullbright(), LLSelectMgr::selectionSetMaterial(), and LLVOVolume::setMaterial().

void LLViewerObject::setMediaPassedWhitelist ( BOOL  passed  ) 

Definition at line 3421 of file llviewerobject.cpp.

References mMedia, and LLViewerObjectMedia::mPassedWhitelist.

void LLViewerObject::setMediaType ( U8  media_type  ) 

Definition at line 3362 of file llviewerobject.cpp.

References mMedia, and LLViewerObjectMedia::mMediaType.

Referenced by LLSelectMgr::selectionSetMediaTypeAndURL().

void LLViewerObject::setMediaURL ( const LLString media_url  ) 

Definition at line 3388 of file llviewerobject.cpp.

References FALSE, mMedia, LLViewerObjectMedia::mMediaURL, LLViewerObjectMedia::mPassedWhitelist, and LLMemType::MTYPE_OBJECT.

Referenced by LLSelectMgr::selectionSetMediaTypeAndURL().

void LLViewerObject::setNameValueList ( const std::string &  list  )  [private]

Definition at line 453 of file llviewerobject.cpp.

References addNVPair(), end, mNameValuePairs, and start.

Referenced by processUpdateMessage().

void LLViewerObject::setNumTEs ( const U8  num_tes  )  [virtual]

Reimplemented from LLPrimitive.

Definition at line 3439 of file llviewerobject.cpp.

References deleteTEImages(), LLPrimitive::getNumTEs(), gPipeline, i, LLPipeline::markTextured(), mDrawable, mTEImages, LLMemType::MTYPE_OBJECT, LLPointer< Type >::notNull(), NULL, LLXform::setChanged(), LLPrimitive::setNumTEs(), and LLXform::TEXTURE.

Referenced by LLVOAvatar::LLVOAvatar(), LLVOClouds::LLVOClouds(), LLVOGrass::LLVOGrass(), and LLVOPartGroup::LLVOPartGroup().

void LLViewerObject::setOnActiveList ( BOOL  on_active  )  [inline]

Definition at line 170 of file llviewerobject.h.

References mOnActiveList.

Referenced by LLViewerObjectList::cleanupReferences(), and LLViewerObjectList::updateActive().

bool LLViewerObject::setParameterEntry ( U16  param_type,
const LLNetworkData new_value,
bool  local_origin 
) [virtual]

Definition at line 4379 of file llviewerobject.cpp.

References getExtraParameterEntryCreate(), param, parameterChanged(), and TRUE.

Referenced by LLPanelVolume::onCommitFlexible().

bool LLViewerObject::setParameterEntryInUse ( U16  param_type,
BOOL  in_use,
bool  local_origin 
) [virtual]

Definition at line 4402 of file llviewerobject.cpp.

References getExtraParameterEntryCreate(), param, and parameterChanged().

Referenced by LLVOVolume::setIsFlexible(), LLVOVolume::setIsLight(), and LLVOVolume::setVolume().

void LLViewerObject::setParent ( LLViewerObject parent  )  [virtual]

Reimplemented in LLVOAvatar, and LLVOVolume.

Definition at line 494 of file llviewerobject.cpp.

References LLXform::setParent().

Referenced by addChild(), markDead(), processUpdateMessage(), removeChild(), LLVOVolume::setParent(), and LLVOAvatar::setParent().

void LLViewerObject::setPixelArea ( F32  area  )  [inline]

Definition at line 316 of file llviewerobject.h.

References mPixelArea.

void LLViewerObject::setPixelAreaAndAngle ( LLAgent agent  )  [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOPartGroup, LLVOSurfacePatch, LLVOTree, and LLVOWater.

Definition at line 2672 of file llviewerobject.cpp.

References f, gCamera, LLAgent::getCameraPositionAgent(), getMaxScale(), getMidScale(), getMinScale(), LLViewerCamera::getPixelMeterRatio(), getRenderPosition(), LLViewerCamera::getScreenPixelArea(), LLPrimitive::getVolume(), isHUDAttachment(), mAppAngle, mPixelArea, LLVector3::mV, RAD_TO_DEG, range, VX, VY, and VZ.

Referenced by LLVOTree::setPixelAreaAndAngle(), and LLViewerObjectList::updateApparentAngles().

void LLViewerObject::setPosition ( const LLVector3 pos,
BOOL  damped = FALSE 
)

Definition at line 3195 of file llviewerobject.cpp.

References LLXform::getPosition(), LLXform::isRoot(), LLXform::setChanged(), LLXform::setPosition(), LLXform::SILHOUETTE, LLXform::TRANSLATED, updateDrawable(), and updatePositionCaches().

Referenced by LLViewerJointAttachment::clampObjectPosition(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLManipTranslate::handleHover(), idleUpdate(), LLSelectMgr::overrideObjectUpdates(), setPositionAbsoluteGlobal(), setPositionEdit(), setPositionGlobal(), setPositionParent(), setPositionRegion(), and LLManipScale::stretchFace().

void LLViewerObject::setPositionAbsoluteGlobal ( const LLVector3d pos_global,
BOOL  damped = FALSE 
)

Definition at line 3146 of file llviewerobject.cpp.

References LLVOAvatar::clampAttachmentPositions(), LLXform::getParent(), getPositionAgent(), getPositionRegion(), LLViewerRegion::getPosRegionFromGlobal(), getRotationRegion(), gPipeline, isAttachment(), LLPrimitive::isAvatar(), LLXform::isRoot(), LLXform::isRootEdit(), mDrawable, LLXform::mParent, mRegionp, setPosition(), setPositionRegion(), and LLPipeline::updateMoveNormalAsync().

Referenced by LLManipScale::dragCorner().

void LLViewerObject::setPositionAgent ( const LLVector3 pos_agent,
BOOL  damped = FALSE 
)

Definition at line 3300 of file llviewerobject.cpp.

References LLViewerRegion::getPosRegionFromAgent(), getRegion(), and setPositionRegion().

Referenced by LLManipRotate::drag(), LLManipTranslate::handleHover(), and process_agent_movement_complete().

void LLViewerObject::setPositionEdit ( const LLVector3 position,
BOOL  damped = FALSE 
)

Definition at line 3310 of file llviewerobject.cpp.

References LLXform::getParent(), LLViewerRegion::getPosAgentFromRegion(), LLXform::getPosition(), getPositionRegion(), LLXform::getRotation(), isJointChild(), LLXform::isRootEdit(), mPositionAgent, mPositionRegion, mRegionp, setPosition(), LLQuaternion::transQuat(), and updateDrawable().

void LLViewerObject::setPositionGlobal ( const LLVector3d position,
BOOL  damped = FALSE 
)

Definition at line 3211 of file llviewerobject.cpp.

References LLVOAvatar::clampAttachmentPositions(), LLXform::getParent(), LLXform::getPosition(), LLViewerRegion::getPosRegionFromGlobal(), LLXform::getRotation(), isAttachment(), LLPrimitive::isAvatar(), LLXform::isRoot(), LLXform::isRootEdit(), mDrawable, LLXform::mParent, mRegionp, LLXform::setChanged(), setPosition(), setPositionRegion(), LLVector3d::setVec(), LLXform::SILHOUETTE, LLXform::TRANSLATED, LLQuaternion::transQuat(), and updateDrawable().

Referenced by LLToolsSnapObjectXY::handleEvent(), process_kill_object(), processUpdateMessage(), LLManipScale::stretchFace(), and LLWorld::updateWaterObjects().

void LLViewerObject::setPositionParent ( const LLVector3 pos_parent,
BOOL  damped = FALSE 
)

Definition at line 3271 of file llviewerobject.cpp.

References LLXform::isRoot(), setPosition(), setPositionRegion(), and updateDrawable().

Referenced by LLManipRotate::drag(), LLManipTranslate::handleHover(), and processUpdateMessage().

void LLViewerObject::setPositionRegion ( const LLVector3 position,
BOOL  damped = FALSE 
)

Definition at line 3285 of file llviewerobject.cpp.

References LLXform::getParent(), LLViewerRegion::getPosAgentFromRegion(), getPositionRegion(), getRotationRegion(), LLXform::isRootEdit(), mPositionAgent, mPositionRegion, mRegionp, and setPosition().

Referenced by LLVOSurfacePatch::dirtyPatch(), idleUpdate(), setPositionAbsoluteGlobal(), setPositionAgent(), setPositionGlobal(), and setPositionParent().

void LLViewerObject::setRegion ( LLViewerRegion regionp  ) 

Definition at line 4708 of file llviewerobject.cpp.

References FALSE, getChildren(), i, llassert, mLatestRecvPacketID, LLXform::MOVED, mRegionp, LLXform::setChanged(), LLXform::SILHOUETTE, and updateDrawable().

Referenced by LLViewerObjectList::processObjectUpdate(), and LLWorld::updateWaterObjects().

void LLViewerObject::setRotation ( const LLQuaternion quat,
BOOL  damped = FALSE 
) [inline]

Definition at line 642 of file llviewerobject.h.

References LLXform::ROTATED, LLXform::setChanged(), LLXform::setRotation(), LLXform::SILHOUETTE, and updateDrawable().

void LLViewerObject::setRotation ( const F32  x,
const F32  y,
const F32  z,
BOOL  damped = FALSE 
) [inline]

Definition at line 649 of file llviewerobject.h.

References LLXform::ROTATED, LLXform::setChanged(), LLXform::setRotation(), LLXform::SILHOUETTE, and updateDrawable().

Referenced by applyAngularVelocity(), LLManipRotate::drag(), LLVOAvatar::idleUpdate(), idleUpdate(), LLSelectMgr::overrideObjectUpdates(), processUpdateMessage(), LLSelectMgr::selectionResetRotation(), and LLSelectMgr::selectionRotateAroundZ().

void LLViewerObject::setScale ( const LLVector3 scale,
BOOL  damped = FALSE 
) [virtual]

Reimplemented in LLVOVolume.

Definition at line 2742 of file llviewerobject.cpp.

References LLViewerObjectList::addToMap(), f, FALSE, LLPrimitive::getPCode(), gObjectList, isDead(), LL_PCODE_VOLUME, LLVector3::magVecSquared(), mDrawable, mOnMap, LLPointer< Type >::notNull(), permYouOwner(), LLViewerObjectList::removeFromMap(), LLXform::setScale(), TRUE, and updateDrawable().

Referenced by LLVOSurfacePatch::dirtyPatch(), LLManipScale::dragCorner(), LLVOTextBubble::idleUpdate(), LLVOSurfacePatch::LLVOSurfacePatch(), LLVOTextBubble::LLVOTextBubble(), LLVOWater::LLVOWater(), LLSelectMgr::overrideObjectUpdates(), process_kill_object(), processUpdateMessage(), LLVOVolume::setScale(), LLManipScale::stretchFace(), and LLWorld::updateWaterObjects().

virtual void LLViewerObject::setSelected ( BOOL  sel  )  [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 213 of file llviewerobject.h.

References mRotTime, and mUserSelected.

Referenced by LLSelectMgr::addAsIndividual(), LLSelectMgr::remove(), LLSelectMgr::removeAll(), LLSelectMgr::selectHighlightedObjects(), and LLVOVolume::setSelected().

void LLViewerObject::setTE ( const U8  te,
const LLTextureEntry texture_entry 
) [virtual]

Reimplemented from LLPrimitive.

Definition at line 3591 of file llviewerobject.cpp.

References LLTextureEntry::getID(), LLViewerImageList::getImage(), LLPrimitive::getTE(), gImageList, mTEImages, and LLPrimitive::setTE().

S32 LLViewerObject::setTEBumpmap ( const U8  te,
const U8  bump 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3663 of file llviewerobject.cpp.

References LLTextureEntry::getBumpmap(), LLPrimitive::getTE(), gPipeline, llendl, llwarns, LLPipeline::markRebuild(), LLPipeline::markTextured(), mDrawable, mID, LLPointer< Type >::notNull(), LLDrawable::REBUILD_GEOMETRY, S32, LLXform::setChanged(), LLPrimitive::setTEBumpmap(), LLXform::TEXTURE, and TRUE.

Referenced by LLSelectMgr::selectionSetBumpmap(), and LLVOVolume::setTEBumpmap().

S32 LLViewerObject::setTEColor ( const U8  te,
const LLColor4 color 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3642 of file llviewerobject.cpp.

References LLTextureEntry::getColor(), LLPrimitive::getTE(), gPipeline, llendl, llwarns, LLPipeline::markTextured(), mDrawable, mID, LLPointer< Type >::notNull(), S32, LLXform::setChanged(), LLPrimitive::setTEColor(), and LLXform::TEXTURE.

Referenced by LLVOTextBubble::idleUpdate(), LLVOGrass::LLVOGrass(), LLVOTextBubble::LLVOTextBubble(), LLSelectMgr::selectionRevertColors(), LLSelectMgr::selectionSetAlphaOnly(), LLSelectMgr::selectionSetColor(), LLSelectMgr::selectionSetColorOnly(), and LLVOVolume::setTEColor().

S32 LLViewerObject::setTEFullbright ( const U8  te,
const U8  fullbright 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3716 of file llviewerobject.cpp.

References LLTextureEntry::getFullbright(), LLPrimitive::getTE(), gPipeline, llendl, llwarns, LLPipeline::markTextured(), mDrawable, mID, LLPointer< Type >::notNull(), S32, LLXform::setChanged(), LLPrimitive::setTEFullbright(), and LLXform::TEXTURE.

Referenced by LLVOTextBubble::idleUpdate(), LLSelectMgr::selectionSetFullbright(), and LLVOVolume::setTEFullbright().

void LLViewerObject::setTEImage ( const U8  te,
LLViewerImage imagep 
) [virtual]

Reimplemented in LLVOVolume.

Definition at line 3602 of file llviewerobject.cpp.

References LLViewerImage::getID(), gPipeline, LLPipeline::markTextured(), mDrawable, mTEImages, LLPointer< Type >::notNull(), LLXform::setChanged(), LLPrimitive::setTETexture(), and LLXform::TEXTURE.

Referenced by LLToolDragAndDrop::dropTextureAllFaces(), LLToolDragAndDrop::dropTextureOneFace(), LLVOAvatar::invalidateComposite(), LLVOClouds::LLVOClouds(), LLVOAvatar::onCustomizeEnd(), LLVOAvatar::onCustomizeStart(), LLVOAvatar::removeMissingBakedTextures(), LLSelectMgr::selectionRevertTextures(), LLSelectMgr::selectionSetImage(), LLVOAvatar::setLocTexTE(), LLVOAvatar::setNewBakedTexture(), LLVOVolume::setTEImage(), LLVOAvatar::updateMeshTextures(), and LLVOGrass::updateSpecies().

S32 LLViewerObject::setTEMediaFlags ( const U8  te,
const U8  media_flags 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3737 of file llviewerobject.cpp.

References LLTextureEntry::getMediaFlags(), LLPrimitive::getTE(), gPipeline, llendl, llwarns, LLPipeline::markRebuild(), LLPipeline::markTextured(), mDrawable, mID, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, LLXform::setChanged(), LLPrimitive::setTEMediaFlags(), LLXform::TEXTURE, and TRUE.

Referenced by LLSelectMgr::selectionSetMediaTypeAndURL(), and LLVOVolume::setTEMediaFlags().

S32 LLViewerObject::setTEOffset ( const U8  te,
const F32  s,
const F32  t 
) [virtual]

Reimplemented from LLPrimitive.

Definition at line 3796 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, and LLPrimitive::setTEOffset().

Referenced by LLVOVolume::animateTextures().

S32 LLViewerObject::setTEOffsetS ( const U8  te,
const F32  s 
) [virtual]

Reimplemented from LLPrimitive.

Definition at line 3806 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, and LLPrimitive::setTEOffsetS().

Referenced by LLPanelFaceSetMediaFunctor::apply(), and LLPanelFaceSetTEFunctor::apply().

S32 LLViewerObject::setTEOffsetT ( const U8  te,
const F32  t 
) [virtual]

Reimplemented from LLPrimitive.

Definition at line 3817 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, and LLPrimitive::setTEOffsetT().

Referenced by LLPanelFaceSetMediaFunctor::apply(), and LLPanelFaceSetTEFunctor::apply().

S32 LLViewerObject::setTERotation ( const U8  te,
const F32  r 
) [virtual]

Reimplemented from LLPrimitive.

Definition at line 3828 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, and LLPrimitive::setTERotation().

Referenced by LLVOVolume::animateTextures(), and LLPanelFaceSetTEFunctor::apply().

S32 LLViewerObject::setTEScale ( const U8  te,
const F32  s,
const F32  t 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3762 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, LLXform::setChanged(), LLPrimitive::setTEScale(), and LLXform::TEXTURE.

Referenced by LLSelectMgr::adjustTexturesByScale(), LLSelectMgr::selectionTexScaleAutofit(), and LLVOVolume::setTEScale().

S32 LLViewerObject::setTEScaleS ( const U8  te,
const F32  s 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3774 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, and LLPrimitive::setTEScaleS().

Referenced by LLPanelFaceSetMediaFunctor::apply(), LLPanelFaceSetTEFunctor::apply(), and LLVOVolume::setTEScaleS().

S32 LLViewerObject::setTEScaleT ( const U8  te,
const F32  t 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3785 of file llviewerobject.cpp.

References gPipeline, LLPipeline::markRebuild(), mDrawable, LLPointer< Type >::notNull(), LLDrawable::REBUILD_TCOORD, S32, and LLPrimitive::setTEScaleT().

Referenced by LLPanelFaceSetMediaFunctor::apply(), LLPanelFaceSetTEFunctor::apply(), and LLVOVolume::setTEScaleT().

S32 LLViewerObject::setTEShiny ( const U8  te,
const U8  shiny 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3700 of file llviewerobject.cpp.

References LLTextureEntry::getShiny(), LLPrimitive::getTE(), llendl, llwarns, mID, S32, LLXform::setChanged(), LLPrimitive::setTEShiny(), and LLXform::TEXTURE.

Referenced by LLSelectMgr::selectionSetShiny(), and LLVOVolume::setTEShiny().

S32 LLViewerObject::setTETexGen ( const U8  te,
const U8  texgen 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOVolume.

Definition at line 3684 of file llviewerobject.cpp.

References LLPrimitive::getTE(), LLTextureEntry::getTexGen(), llendl, llwarns, mID, S32, LLXform::setChanged(), LLPrimitive::setTETexGen(), and LLXform::TEXTURE.

Referenced by LLSelectMgr::selectionSetTexGen(), and LLVOVolume::setTETexGen().

S32 LLViewerObject::setTETexture ( const U8  te,
const LLUUID uuid 
) [virtual]

Reimplemented from LLPrimitive.

Reimplemented in LLVOAvatar, and LLVOVolume.

Definition at line 3635 of file llviewerobject.cpp.

References LLHost::invalid, and setTETextureCore().

Referenced by LLVOPartGroup::LLVOPartGroup(), LLVOTextBubble::LLVOTextBubble(), and LLVOVolume::setTETexture().

S32 LLViewerObject::setTETextureCore ( const U8  te,
const LLUUID uuid,
LLHost  host 
)

Definition at line 3617 of file llviewerobject.cpp.

References getID(), LLViewerImageList::getImageFromHost(), LLPrimitive::getTE(), gImageList, gPipeline, LLPipeline::markTextured(), mDrawable, mTEImages, LLPointer< Type >::notNull(), LLUUID::null, S32, LLXform::setChanged(), LLPrimitive::setTETexture(), and LLXform::TEXTURE.

Referenced by LLVOAvatar::setTETexture(), and setTETexture().

bool LLViewerObject::specialHoverCursor (  )  const

Definition at line 4724 of file llviewerobject.cpp.

References FLAGS_HANDLE_TOUCH, FLAGS_USE_PHYSICS, mClickAction, and mFlags.

Referenced by processUpdateMessage().

bool LLViewerObject::unpackParameterEntry ( U16  param_type,
LLDataPacker dp 
) [private]

Definition at line 4278 of file llviewerobject.cpp.

References getExtraParameterEntryCreate(), param, parameterChanged(), and TRUE.

Referenced by processUpdateMessage().

void LLViewerObject::unpackParticleSource ( LLDataPacker dp,
const LLUUID owner_id 
) [protected]

Definition at line 4094 of file llviewerobject.cpp.

References LLMute::flagParticles, LLViewerImageList::getImage(), LLControlGroup::getString(), gImageList, gMuteListp, gViewerArt, gWorldPointer, LLMuteList::isMuted(), LLPointer< Type >::isNull(), mPartSourcep, LLUUID::null, NULL, LLImageGL::setImage(), and LLViewerPartSourceScript::unpackPSS().

void LLViewerObject::unpackParticleSource ( const S32  block_num,
const LLUUID owner_id 
) [protected]

Definition at line 4045 of file llviewerobject.cpp.

References LLMute::flagParticles, LLViewerImageList::getImage(), LLControlGroup::getString(), gImageList, gMuteListp, gViewerArt, gWorldPointer, LLMuteList::isMuted(), LLPointer< Type >::isNull(), mPartSourcep, LLUUID::null, NULL, LLImageGL::setImage(), and LLViewerPartSourceScript::unpackPSS().

Referenced by processUpdateMessage().

void LLViewerObject::updateDrawable ( BOOL  force_damped  )  [virtual]

Reimplemented in LLStaticViewerObject, LLVOClouds, and LLVOGrass.

Definition at line 4152 of file llviewerobject.cpp.

References LLXform::clearChanged(), LLFrameTimer::getFrameCount(), LLXform::getParent(), LLPrimitive::getPCode(), LLPrimitive::getVelocity(), gPipeline, LLPrimitive::isAvatar(), LLXform::isChanged(), LLVector3::isExactlyZero(), isSelected(), LL_PCODE_VOLUME, LLPipeline::markMoved(), mDrawable, mLastUpdateFrame, LLXform::MOVED, LLPointer< Type >::notNull(), LLDrawable::ON_MOVE_LIST, and LLXform::SHIFTED.

Referenced by idleUpdate(), setPosition(), setPositionEdit(), setPositionGlobal(), setPositionParent(), setRegion(), setRotation(), and setScale().

void LLViewerObject::updateFaceSize ( S32  idx  )  [virtual]

Reimplemented in LLVOClouds, LLVOGrass, LLVOPartGroup, LLVOSurfacePatch, LLVOTextBubble, and LLVOVolume.

Definition at line 2732 of file llviewerobject.cpp.

void LLViewerObject::updateFlags (  ) 

Definition at line 4731 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectLocalID, _PREHASH_SessionID, _PREHASH_UsePhysics, LLMessageSystem::addBOOL(), LLMessageSystem::addBOOLFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), flagCastShadows(), flagPhantom(), flagTemporaryOnRez(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), getLocalID(), getRegion(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), and usePhysics().

Referenced by setFlags().

BOOL LLViewerObject::updateGeometry ( LLDrawable drawable  )  [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOGround, LLVOPartGroup, LLVOSky, LLVOStars, LLVOSurfacePatch, LLVOTextBubble, LLVOTree, LLVOTreeNew, LLVOVolume, and LLVOWater.

Definition at line 2727 of file llviewerobject.cpp.

References TRUE.

Referenced by LLVOVolume::updateGeometry().

void LLViewerObject::updateInventory ( LLViewerInventoryItem item,
U8  key,
bool  is_new 
)

Definition at line 2554 of file llviewerobject.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_InventoryData, _PREHASH_Key, _PREHASH_LocalID, _PREHASH_SessionID, _PREHASH_UpdateData, _PREHASH_UpdateTaskInventory, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), doUpdateInventory(), gAgent, LLInventoryItem::getAssetUUID(), LLInventoryItem::getCreationDate(), LLInventoryItem::getDescription(), LLInventoryItem::getFlags(), LLViewerRegion::getHost(), LLAgent::getID(), LLInventoryItem::getInventoryType(), LLInventoryObject::getName(), LLInventoryItem::getPermissions(), LLInventoryItem::getSaleInfo(), LLAgent::getSessionID(), LLViewerInventoryItem::getTransactionID(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), gMessageSystem, mID, mLocalID, mRegionp, LLMemType::MTYPE_OBJECT, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::handleDropTextureProtections(), LLPreview::onCommit(), LLFloaterProperties::onCommitDescription(), LLFloaterProperties::onCommitName(), LLFloaterProperties::onCommitPermissions(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLTaskInvFVBridge::renameItem(), and LLFloaterProperties::updateSaleInfo().

virtual BOOL LLViewerObject::updateLighting ( BOOL  do_lighting  )  [inline, virtual]

Reimplemented in LLVOVolume.

Definition at line 199 of file llviewerobject.h.

References TRUE.

BOOL LLViewerObject::updateLOD (  )  [virtual]

Reimplemented in LLVOAvatar, LLVOGrass, LLVOSurfacePatch, LLVOTextBubble, and LLVOVolume.

Definition at line 2716 of file llviewerobject.cpp.

References FALSE, LLControlGroup::getF32(), gSavedSettings, LLAudioSource::isLoop(), mAudioGain, mAudioSourcep, and LLAudioSourceVO::setGain().

Referenced by LLVOVolume::updateLOD().

void LLViewerObject::updatePositionCaches (  )  const

Definition at line 3001 of file llviewerobject.cpp.

References LLXform::getParent(), LLViewerRegion::getPosAgentFromRegion(), LLXform::getPosition(), getPositionRegion(), LLXform::getRotation(), LLXform::isRoot(), mPositionAgent, mPositionRegion, and mRegionp.

Referenced by setPosition(), and LLViewerObjectList::shiftObjects().

virtual void LLViewerObject::updateRadius (  )  [inline, virtual]

Reimplemented in LLVOTree, and LLVOVolume.

Definition at line 174 of file llviewerobject.h.

virtual void LLViewerObject::updateRegion ( LLViewerRegion regionp  )  [inline, virtual]

Reimplemented in LLVOAvatar.

Definition at line 444 of file llviewerobject.h.

Referenced by LLViewerObjectList::processObjectUpdate().

void LLViewerObject::updateSpatialExtents ( LLVector3 min,
LLVector3 max 
) [virtual]

Reimplemented in LLVOAvatar, LLVOPartGroup, LLVOSurfacePatch, LLVOTree, LLVOVolume, and LLVOWater.

Definition at line 2774 of file llviewerobject.cpp.

References f, getRenderPosition(), LLXform::getScale(), mDrawable, LLVector3::setVec(), and size.

void LLViewerObject::updateText (  ) 

Definition at line 4019 of file llviewerobject.cpp.

References getPositionAgent(), getRenderPosition(), LLXform::getScale(), isDead(), mDrawable, mText, LLVector3::mV, LLPointer< Type >::notNull(), and VZ.

Referenced by setDebugText().

void LLViewerObject::updateTextures ( LLAgent agent  )  [virtual]

Reimplemented in LLVOAvatar, LLVOClouds, LLVOGrass, LLVOGround, LLVOPartGroup, LLVOSky, LLVOSurfacePatch, LLVOTextBubble, LLVOTree, LLVOTreeNew, LLVOVolume, and LLVOWater.

Definition at line 2836 of file llviewerobject.cpp.

Referenced by LLViewerObjectList::updateApparentAngles().

void LLViewerObject::updateViewerInventoryAsset ( const LLViewerInventoryItem item,
const LLUUID new_asset 
)

Definition at line 2660 of file llviewerobject.cpp.

References doUpdateInventory(), and TASK_INVENTORY_ITEM_KEY.

Referenced by LLUpdateTaskInventoryResponder::uploadComplete().

void LLViewerObject::updateVolume ( const LLVolumeParams volume_params  ) 

Definition at line 4672 of file llviewerobject.cpp.

References markForUpdate(), sendShapeUpdate(), LLPrimitive::setVolume(), and TRUE.

BOOL LLViewerObject::usePhysics (  )  const [inline]

Definition at line 419 of file llviewerobject.h.

References FLAGS_USE_PHYSICS, and mFlags.

Referenced by LLPanelObject::getState(), LLToolPie::handleHover(), LLToolGrab::handleObjectHit(), LLToolPie::pickAndShowMenu(), renderPhysicalBeacons(), updateFlags(), and LLHoverView::updateText().


Friends And Related Function Documentation

friend class LLViewerMediaList [friend]

Definition at line 466 of file llviewerobject.h.

friend class LLViewerObjectList [friend]

Definition at line 465 of file llviewerobject.h.


Member Data Documentation

F32 LLViewerObject::mAppAngle [protected]

Definition at line 580 of file llviewerobject.h.

Referenced by LLVOVolume::calcLOD(), getAppAngle(), LLVOAvatar::idleUpdate(), LLVOWater::setPixelAreaAndAngle(), LLVOTree::setPixelAreaAndAngle(), LLVOSurfacePatch::setPixelAreaAndAngle(), LLVOPartGroup::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), LLVOClouds::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), and setPixelAreaAndAngle().

F32 LLViewerObject::mAudioGain [protected]

Definition at line 578 of file llviewerobject.h.

Referenced by adjustAudioGain(), setAttachedSound(), and updateLOD().

LLAudioSourceVO* LLViewerObject::mAudioSourcep [protected]

Definition at line 577 of file llviewerobject.h.

Referenced by adjustAudioGain(), clearAttachedSound(), getAudioSource(), markDead(), setAttachedSound(), and updateLOD().

BOOL LLViewerObject::mbCanSelect

Definition at line 505 of file llviewerobject.h.

Referenced by addChild(), LLVOAvatar::LLVOAvatar(), LLVOClouds::LLVOClouds(), LLVOGrass::LLVOGrass(), LLVOGround::LLVOGround(), LLVOPartGroup::LLVOPartGroup(), LLVOSky::LLVOSky(), LLVOSurfacePatch::LLVOSurfacePatch(), LLVOTextBubble::LLVOTextBubble(), LLVOWater::LLVOWater(), LLViewerWindow::performPick(), and setCanSelect().

S32 LLViewerObject::mBestUpdatePrecision

Definition at line 520 of file llviewerobject.h.

Referenced by processUpdateMessage().

child_list_t LLViewerObject::mChildList

Definition at line 491 of file llviewerobject.h.

Referenced by addChild(), LLSelectMgr::addGridObject(), LLViewerJointAttachment::addObject(), addThisAndAllChildren(), addThisAndNonJointChildren(), boostTexturePriority(), LLViewerJointAttachment::calcLOD(), clearDrawableState(), LLVOAvatar::detachObject(), LLManipRotate::drag(), LLManipScale::dragCorner(), get_family_count(), getChildren(), LLVOAvatar::getOffObject(), LLManipTranslate::handleHover(), LLToolSelect::handleObjectSelection(), LLSelectMgr::highlightObjectAndFamily(), isChild(), isSeat(), markDead(), object_selected_and_point_valid(), processUpdateMessage(), removeChild(), LLViewerJointAttachment::removeObject(), setCanSelect(), setDrawableState(), LLViewerJointAttachment::setupDrawable(), LLManipScale::stretchFace(), LLSelectMgr::unhighlightObjectAndFamily(), LLSelectMgr::updateSilhouettes(), LLVOVolume::writeCAL3D(), and ~LLViewerObject().

U8 LLViewerObject::mClickAction [protected]

Definition at line 616 of file llviewerobject.h.

Referenced by getClickAction(), setClickAction(), and specialHoverCursor().

BOOL LLViewerObject::mCreateSelected

Definition at line 514 of file llviewerobject.h.

Referenced by processUpdateMessage().

U8* LLViewerObject::mData [protected]

Definition at line 573 of file llviewerobject.h.

Referenced by LLVOTree::processUpdateMessage(), processUpdateMessage(), setData(), ~LLViewerObject(), and LLVOTree::~LLVOTree().

BOOL LLViewerObject::mDead [protected]

Definition at line 598 of file llviewerobject.h.

Referenced by LLVOWater::idleUpdate(), LLVOVolume::idleUpdate(), LLVOTree::idleUpdate(), LLVOGround::idleUpdate(), LLVOGrass::idleUpdate(), idleUpdate(), isDead(), LLVOCloth::markAsDead(), markDead(), LLVOSky::updateSky(), and LLVOAvatar::~LLVOAvatar().

LLPointer<LLDrawable> LLViewerObject::mDrawable

Definition at line 511 of file llviewerobject.h.

Referenced by LLVOVolume::addFace(), LLViewerJointAttachment::addObject(), LLPipeline::allocDrawable(), LLViewerWindow::analyzeHit(), LLVOVolume::animateTextures(), LLViewerCamera::areVertsVisible(), LLVOSurfacePatch::calcColor(), LLVOVolume::calcLOD(), LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLOctreePick::check(), LLViewerObjectList::cleanupReferences(), clearDrawableState(), LLVOWater::createDrawable(), LLVOVolume::createDrawable(), LLVOTree::createDrawable(), LLVOTextBubble::createDrawable(), LLVOSurfacePatch::createDrawable(), LLVOStars::createDrawable(), LLVOSky::createDrawable(), LLVOPartGroup::createDrawable(), LLVOGround::createDrawable(), LLVOGrass::createDrawable(), LLVOClouds::createDrawable(), LLVOAvatar::createDrawable(), LLVOVolume::deleteFaces(), LLVOSurfacePatch::dirtyGeom(), LLVolumeImplFlexible::doFlexibleUpdate(), LLVolumeImplFlexible::doIdleUpdate(), LLVolumeImplFlexible::doUpdateGeometry(), LLManipRotate::drag(), dump(), LLSelectMgr::dump(), LLViewerObjectList::findOrphans(), LLViewerObjectList::findReferences(), LLVOVolume::genBBoxes(), LLVOVolume::generateSilhouette(), LLVolumeImplFlexible::getAnchorPosition(), LLVOVolume::getBinRadius(), getBinRadius(), getBoundingBoxAgent(), LLVOAvatar::getCharacterPosition(), LLVOTextBubble::getGeometry(), LLVOSurfacePatch::getGeometry(), LLVOPartGroup::getGeometry(), LLVOGrass::getGeometry(), LLVOClouds::getGeometry(), LLSelectMgr::getGrid(), getNumIndices(), getNumVertices(), LLVOAvatar::getOffObject(), getPositionAgent(), LLVOVolume::getRenderMatrix(), getRenderMatrix(), getRenderPosition(), getRenderRotation(), getVObjRadius(), LLManipTranslate::handleHover(), LLVOWater::idleUpdate(), LLVOVolume::idleUpdate(), LLVOTextBubble::idleUpdate(), LLVOGrass::idleUpdate(), LLVOClouds::idleUpdate(), LLVOAvatar::idleUpdate(), LLVOAvatar::isVisible(), LLViewerJointAttachment::lazyAttach(), markDead(), markForUpdate(), LLViewerObjectList::orphanize(), LLVOVolume::parameterChanged(), LLVOGrass::plantBlades(), LLVisualParamHint::preRender(), LLVOVolume::processUpdateMessage(), LLVOGrass::processUpdateMessage(), processUpdateMessage(), LLManip::rebuild(), LLVOVolume::regenFaces(), LLVolumeGeometryManager::registerFace(), LLVOAvatar::releaseMeshData(), LLVolumeImplFlexible::remapSections(), removeChild(), LLViewerJointAttachment::removeObject(), LLVisualParamReset::render(), LLVisualParamHint::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), LLDrawPoolAvatar::renderAvatars(), LLPipeline::renderForSelect(), LLDrawPoolAvatar::renderForSelect(), LLViewerObjectList::renderObjectsForSelect(), LLSelectNode::renderOneSilhouette(), LLViewerWindow::renderSelections(), LLVOAvatar::renderSkinned(), LLVOSky::restoreGL(), LLVOAvatar::restoreMeshData(), LLSelectMgr::saveSelectedObjectTransform(), LLSelectMgr::selectionResetRotation(), LLSelectMgr::selectionRotateAroundZ(), LLViewerJointAttachment::setAttachmentVisibility(), LLVolumeImplFlexible::setAttributesOfAllSections(), LLVOVolume::setDrawableParent(), setDrawableParent(), setDrawableState(), LLVOVolume::setIsFlexible(), LLVOVolume::setIsLight(), LLVOVolume::setLightColor(), LLVOVolume::setMaterial(), setNumTEs(), LLVOVolume::setParent(), setPositionAbsoluteGlobal(), setPositionGlobal(), LLVOVolume::setScale(), setScale(), LLVOVolume::setSelected(), LLVOVolume::setTEBumpmap(), setTEBumpmap(), LLVOVolume::setTEColor(), setTEColor(), LLVOVolume::setTEFullbright(), setTEFullbright(), LLVOVolume::setTEImage(), setTEImage(), LLVOVolume::setTEMediaFlags(), setTEMediaFlags(), setTEOffset(), setTEOffsetS(), setTEOffsetT(), setTERotation(), LLVOVolume::setTEScale(), setTEScale(), LLVOVolume::setTEScaleS(), setTEScaleS(), LLVOVolume::setTEScaleT(), setTEScaleT(), LLVOVolume::setTEShiny(), LLVOVolume::setTETexGen(), LLVOVolume::setTETexture(), setTETextureCore(), LLVOVolume::setVolume(), LLVOTextBubble::setVolume(), LLViewerObjectList::shiftObjects(), LLVOAvatar::sitOnObject(), LLVOAvatar::slamPosition(), LLManipScale::stretchFace(), LLVOAvatar::updateCharacter(), LLVOGrass::updateDrawable(), LLVOClouds::updateDrawable(), LLStaticViewerObject::updateDrawable(), updateDrawable(), LLSelectMgr::updateEffects(), LLVOVolume::updateFaceFlags(), LLVOVolume::updateFaceSize(), LLVOTextBubble::updateFaceSize(), LLVOSurfacePatch::updateFaceSize(), LLVOWater::updateGeometry(), LLVOVolume::updateGeometry(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOAvatar::updateHeadOffset(), LLVOVolume::updateLighting(), LLVOVolume::updateLOD(), LLVOSurfacePatch::updateLOD(), LLVOGrass::updateLOD(), LLVOAvatar::updateLOD(), LLVOAvatar::updateMeshData(), LLVOVolume::updateRadius(), LLVOTree::updateRadius(), LLVOVolume::updateRelativeXform(), LLVolumeImplFlexible::updateRelativeXform(), LLSelectMgr::updateSilhouettes(), LLVOSky::updateSky(), LLVOWater::updateSpatialExtents(), LLVOTree::updateSpatialExtents(), LLVOSurfacePatch::updateSpatialExtents(), LLVOPartGroup::updateSpatialExtents(), LLVOAvatar::updateSpatialExtents(), updateSpatialExtents(), LLVOVolume::updateTEData(), updateText(), LLVOVolume::updateTextures(), LLVOAvatar::updateVisibility(), and LLVOVolume::writeCAL3D().

std::map<U16, ExtraParameter*> LLViewerObject::mExtraParameterList [protected]

Definition at line 130 of file llviewerobject.h.

Referenced by createNewParameterEntry(), getExtraParameterEntry(), processUpdateMessage(), and ~LLViewerObject().

U32 LLViewerObject::mFlags

Definition at line 508 of file llviewerobject.h.

Referenced by flagAllowInventoryAdd(), flagAnimSource(), flagCameraDecoupled(), flagCameraSource(), flagCastShadows(), flagHandleTouch(), flagInventoryEmpty(), flagPhantom(), flagScripted(), flagTakesMoney(), flagTemporary(), flagTemporaryOnRez(), getIncludeInSearch(), handle_force_unlock(), permAnyOwner(), permCopy(), permGroupOwner(), permModify(), permMove(), permOwnerModify(), permTransfer(), permYouOwner(), process_avatar_animation(), process_set_follow_cam_properties(), processUpdateMessage(), setFlags(), setIncludeInSearch(), specialHoverCursor(), LLVOAvatar::stopMotionFromSource(), and usePhysics().

U32 LLViewerObject::mGLName

Definition at line 504 of file llviewerobject.h.

Referenced by LLViewerObjectList::renderObjectsForSelect(), and LLDrawPoolTree::renderTree().

LLPointer<LLHUDIcon> LLViewerObject::mIcon

Definition at line 524 of file llviewerobject.h.

Referenced by clearIcon(), hideExtraDisplayItems(), markDead(), and setIcon().

LLUUID LLViewerObject::mID

Definition at line 492 of file llviewerobject.h.

Referenced by LLViewerWindow::analyzeHit(), LLViewerObjectList::cleanupReferences(), LLVOAvatar::detachObject(), dump(), LLViewerObjectList::findOrphans(), getAudioSource(), LLVOAvatar::getID(), getID(), handle_sit_or_stand(), LLVOAvatar::idleUpdate(), LLPanelInventory::inventoryChanged(), LLVOAvatar::LLVOAvatar(), markDead(), LLPanelContents::onClickNewScript(), LLVOAvatar::onFirstTEMessageReceived(), LLViewerObjectList::orphanize(), LLSelectMgr::packObjectID(), LLToolPie::pickAndShowMenu(), LLToolObjPicker::pickCallback(), LLFace::printDebugInfo(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLViewerObjectList::processObjectUpdate(), processTaskInv(), LLPanelInventory::refresh(), removeInventory(), LLSelectMgr::removeObjectFromSelections(), LLSelectMgr::requestObjectPropertiesFamily(), saveScript(), LLSelectMgr::setHoverObject(), setTEBumpmap(), setTEColor(), setTEFullbright(), setTEMediaFlags(), setTEShiny(), setTETexGen(), LLVOAvatar::updateCharacter(), updateInventory(), LLVOAvatar::updateMeshTextures(), and LLVOAvatar::~LLVOAvatar().

InventoryObjectList* LLViewerObject::mInventory [protected]

Definition at line 584 of file llviewerobject.h.

Referenced by countInventoryContents(), deleteInventoryItem(), dirtyInventory(), doInventoryCallback(), doUpdateInventory(), getInventoryContents(), getInventoryItemByAsset(), getInventoryObject(), getInventoryRoot(), loadTaskInvFile(), processTaskInv(), requestInventory(), and ~LLViewerObject().

LLLinkedList<LLInventoryCallbackInfo> LLViewerObject::mInventoryCallbacks [protected]

Definition at line 592 of file llviewerobject.h.

Referenced by clearInventoryListeners(), dirtyInventory(), doInventoryCallback(), registerInventoryListener(), and removeInventoryListener().

BOOL LLViewerObject::mInventoryDirty [protected]

Definition at line 597 of file llviewerobject.h.

Referenced by dirtyInventory(), isInventoryDirty(), and requestInventory().

BOOL LLViewerObject::mInventoryPending [protected]

Definition at line 596 of file llviewerobject.h.

Referenced by doInventoryCallback(), isInventoryPending(), and requestInventory().

S16 LLViewerObject::mInventorySerialNum [protected]

Definition at line 593 of file llviewerobject.h.

Referenced by doInventoryCallback(), doUpdateInventory(), getInventorySerial(), moveInventory(), processTaskInv(), and removeInventory().

LLVOJointInfo* LLViewerObject::mJointInfo [protected]

Definition at line 613 of file llviewerobject.h.

Referenced by addChild(), getJointType(), getRootEdit(), idleUpdate(), isJointChild(), markDead(), processUpdateMessage(), and ~LLViewerObject().

F64 LLViewerObject::mLastInterpUpdateSecs [protected]

Definition at line 569 of file llviewerobject.h.

Referenced by idleUpdate(), LLViewerObject(), and processUpdateMessage().

F64 LLViewerObject::mLastMessageUpdateSecs [protected]

Definition at line 570 of file llviewerobject.h.

Referenced by dump(), and processUpdateMessage().

LLQuaternion LLViewerObject::mLastRot [protected]

Definition at line 611 of file llviewerobject.h.

Referenced by processUpdateMessage().

S32 LLViewerObject::mLastUpdateFrame [protected]

Definition at line 606 of file llviewerobject.h.

Referenced by updateDrawable().

TPACKETID LLViewerObject::mLatestRecvPacketID [protected]

Definition at line 571 of file llviewerobject.h.

Referenced by processUpdateMessage(), and setRegion().

U32 LLViewerObject::mLocalID

Definition at line 496 of file llviewerobject.h.

Referenced by dump(), LLViewerObjectList::findOrphans(), getLocalID(), LLObjectTouch::handleEvent(), moveInventory(), parameterChanged(), LLViewerObjectList::processObjectUpdate(), processUpdateMessage(), LLViewerObjectList::removeFromLocalIDTable(), removeInventory(), requestInventory(), saveScript(), sendMaterialUpdate(), sendPositionUpdate(), sendRotationUpdate(), sendScaleUpdate(), sendShapeUpdate(), sendTEUpdate(), and updateInventory().

LLViewerObjectMedia* LLViewerObject::mMedia [protected]

Definition at line 615 of file llviewerobject.h.

Referenced by getMediaPassedWhitelist(), getMediaType(), getMediaURL(), processUpdateMessage(), sendTEUpdate(), setMediaPassedWhitelist(), setMediaType(), setMediaURL(), and ~LLViewerObject().

name_value_map_t LLViewerObject::mNameValuePairs [protected]

Definition at line 567 of file llviewerobject.h.

Referenced by addNVPair(), getNVPair(), printNameValuePairs(), removeNVPair(), setNameValueList(), and ~LLViewerObject().

S32 LLViewerObject::mNumFaces [protected]

Definition at line 604 of file llviewerobject.h.

Referenced by LLVOVolume::createDrawable(), LLVOVolume::deleteFaces(), getNumFaces(), LLVOVolume::LLVOVolume(), and LLVOVolume::regenFaces().

BOOL LLViewerObject::mOnActiveList [protected]

Definition at line 601 of file llviewerobject.h.

Referenced by onActiveList(), and setOnActiveList().

BOOL LLViewerObject::mOnMap [protected]

Definition at line 602 of file llviewerobject.h.

Referenced by isOnMap(), and setScale().

BOOL LLViewerObject::mOrphaned [protected]

Definition at line 599 of file llviewerobject.h.

Referenced by LLViewerObjectList::findOrphans(), isOrphaned(), LLViewerObjectList::orphanize(), and processUpdateMessage().

LLPointer<LLViewerPartSourceScript> LLViewerObject::mPartSourcep

Definition at line 575 of file llviewerobject.h.

Referenced by addParticleSourcesToList(), deleteParticleSource(), hideExtraDisplayItems(), isParticleSource(), markDead(), unpackParticleSource(), and ~LLViewerObject().

F32 LLViewerObject::mPixelArea [protected]

Definition at line 581 of file llviewerobject.h.

Referenced by LLVOAvatar::addLocalTextureStats(), LLVOAvatar::getPixelArea(), getPixelArea(), setPixelArea(), LLVOWater::setPixelAreaAndAngle(), LLVOTree::setPixelAreaAndAngle(), LLVOSurfacePatch::setPixelAreaAndAngle(), LLVOGrass::setPixelAreaAndAngle(), LLVOClouds::setPixelAreaAndAngle(), LLVOAvatar::setPixelAreaAndAngle(), setPixelAreaAndAngle(), LLVOAvatar::updateCharacter(), LLVOPartGroup::updateGeometry(), LLVOAvatar::updateJointLODs(), LLVOVolume::updateTextures(), LLVOTree::updateTextures(), LLVOTextBubble::updateTextures(), LLVOGrass::updateTextures(), LLVOClouds::updateTextures(), and LLVOAvatar::updateTextures().

LLVector3 LLViewerObject::mPositionAgent [mutable, protected]

Definition at line 630 of file llviewerobject.h.

Referenced by getPositionAgent(), LLViewerObject(), setPositionEdit(), setPositionRegion(), and updatePositionCaches().

LLVector3 LLViewerObject::mPositionRegion [mutable, protected]

Definition at line 629 of file llviewerobject.h.

Referenced by getPositionRegion(), LLViewerObject(), setPositionEdit(), setPositionRegion(), and updatePositionCaches().

LLViewerRegion* LLViewerObject::mRegionp [protected]

Definition at line 595 of file llviewerobject.h.

Referenced by LLVOWater::createDrawable(), LLVOGrass::getGeometry(), getPositionAgent(), getPositionGlobal(), getRegion(), LLVOTree::idleUpdate(), isOverAgentOwnedLand(), isOverGroupOwnedLand(), LLViewerObjectList::killObjects(), LLViewerObject(), LLVOTree::LLVOTree(), moveInventory(), LLVOGrass::plantBlades(), LLViewerObjectList::processObjectUpdate(), processTaskInv(), processUpdateMessage(), removeInventory(), removeNVPair(), requestInventory(), saveScript(), setPositionAbsoluteGlobal(), setPositionEdit(), setPositionGlobal(), setPositionRegion(), setRegion(), updateInventory(), and updatePositionCaches().

BOOL LLViewerObject::mRenderMedia

Definition at line 517 of file llviewerobject.h.

F32 LLViewerObject::mRotTime [protected]

Definition at line 610 of file llviewerobject.h.

Referenced by applyAngularVelocity(), getRotTime(), resetRot(), and setSelected().

U8 LLViewerObject::mState [protected]

Definition at line 614 of file llviewerobject.h.

Referenced by getState(), LLVOVolume::isAttachment(), LLVOVolume::isHUDAttachment(), LLVOAvatar::needsRenderBeam(), processUpdateMessage(), and LLVOGrass::updateSpecies().

BOOL LLViewerObject::mStatic [protected]

Definition at line 603 of file llviewerobject.h.

Referenced by idleUpdate(), LLVOVolume::isActive(), and processUpdateMessage().

LLPointer<LLViewerImage>* LLViewerObject::mTEImages

Definition at line 501 of file llviewerobject.h.

Referenced by deleteTEImages(), getTEImage(), setNumTEs(), setTE(), LLVOVolume::setTEImage(), setTEImage(), setTETextureCore(), and LLVOAvatar::writeCAL3D().

LLPointer<LLHUDText> LLViewerObject::mText

Definition at line 523 of file llviewerobject.h.

Referenced by LLViewerJointAttachment::addObject(), hideExtraDisplayItems(), markDead(), processUpdateMessage(), LLViewerJointAttachment::removeObject(), setDebugText(), LLVOAvatar::updateCharacter(), and updateText().

F32 LLViewerObject::mTimeDilation [protected]

Definition at line 609 of file llviewerobject.h.

Referenced by LLVOAvatar::getTimeDilation(), idleUpdate(), and processUpdateMessage().

U32 LLViewerObject::mTotalCRC

Definition at line 499 of file llviewerobject.h.

Referenced by getCRC(), and processUpdateMessage().

BOOL LLViewerObject::mUserSelected [protected]

Definition at line 600 of file llviewerobject.h.

Referenced by idleUpdate(), isSelected(), processUpdateMessage(), and setSelected().

S32 LLViewerObject::sAxisArrowLength [static, protected]

Definition at line 626 of file llviewerobject.h.

F32 LLViewerObject::sCurrentPulse [static, protected]

Definition at line 623 of file llviewerobject.h.

LLColor4 LLViewerObject::sEditSelectColor [static, protected]

Definition at line 621 of file llviewerobject.h.

BOOL LLViewerObject::sMapDebug = TRUE [static, protected]

Definition at line 620 of file llviewerobject.h.

LLColor4 LLViewerObject::sNoEditSelectColor [static, protected]

Definition at line 622 of file llviewerobject.h.

S32 LLViewerObject::sNumObjects = 0 [static, private]

Definition at line 633 of file llviewerobject.h.

Referenced by LLViewerObject(), and ~LLViewerObject().

U32 LLViewerObject::sNumZombieObjects = 0 [static, protected]

Definition at line 618 of file llviewerobject.h.

Referenced by getNumZombieObjects(), markDead(), and ~LLViewerObject().

BOOL LLViewerObject::sPulseEnabled [static, protected]

Definition at line 624 of file llviewerobject.h.

BOOL LLViewerObject::sUseSharedDrawables [static]

Definition at line 526 of file llviewerobject.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:58 2010 for Second Life Viewer by  doxygen 1.4.7