LLPreviewLandmark Class Reference

#include <llpreviewlandmark.h>

Inheritance diagram for LLPreviewLandmark:

Inheritance graph
[legend]
Collaboration diagram for LLPreviewLandmark:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPreviewLandmark (const std::string &name, const LLRect &rect, const std::string &title, const LLUUID &item_uuid, BOOL show_keep_discard=FALSE, LLViewerInventoryItem *inv_item=NULL)
virtual ~LLPreviewLandmark ()
void draw ()
const LLStringgetName () const
const LLColor4getMarkerColor () const
LLVector3d getPositionGlobal () const
void loadAsset ()
EAssetStatus getAssetStatus ()

Static Public Member Functions

static void * createPlaceDetail (void *userdata)

Protected Member Functions

void getDegreesAndDist (F32 *degrees, F64 *horiz_dist, F64 *vert_dist) const
virtual const char * getTitleName () const

Private Attributes

LLIconCtrlmIconLandmark
LLPanelPlacemPlacePanel
LLLandmarkmLandmark
LLColor4 mMarkerColor

Static Private Attributes

static LLPreviewLandmarkList sOrderedInstances


Detailed Description

Definition at line 61 of file llpreviewlandmark.h.


Constructor & Destructor Documentation

LLPreviewLandmark::LLPreviewLandmark ( const std::string &  name,
const LLRect rect,
const std::string &  title,
const LLUUID item_uuid,
BOOL  show_keep_discard = FALSE,
LLViewerInventoryItem inv_item = NULL 
)

LLPreviewLandmark::~LLPreviewLandmark (  )  [virtual]

Definition at line 111 of file llpreviewlandmark.cpp.

References sOrderedInstances.


Member Function Documentation

void LLPreviewLandmark::draw ( void   )  [virtual]

const LLString & LLPreviewLandmark::getName ( void   )  const [virtual]

Reimplemented from LLView.

Definition at line 140 of file llpreviewlandmark.cpp.

References LLPreview::getItem(), LLInventoryObject::getName(), and LLStringBase< char >::null.

Here is the call graph for this function:

const LLColor4 & LLPreviewLandmark::getMarkerColor (  )  const

Definition at line 162 of file llpreviewlandmark.cpp.

References mMarkerColor.

LLVector3d LLPreviewLandmark::getPositionGlobal (  )  const

Definition at line 150 of file llpreviewlandmark.cpp.

References LLLandmark::getGlobalPos(), and mLandmark.

Referenced by draw().

Here is the call graph for this function:

Here is the caller graph for this function:

void * LLPreviewLandmark::createPlaceDetail ( void *  userdata  )  [static]

Definition at line 209 of file llpreviewlandmark.cpp.

References LLUICtrlFactory::buildPanel(), and LLSingleton< LLUICtrlFactory >::getInstance().

Referenced by LLPreviewLandmark().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPreviewLandmark::loadAsset (  )  [virtual]

LLPreview::EAssetStatus LLPreviewLandmark::getAssetStatus (  )  [virtual]

Reimplemented from LLPreview.

Definition at line 199 of file llpreviewlandmark.cpp.

References LLLandmarkList::assetExists(), LLInventoryItem::getAssetUUID(), LLPreview::getItem(), gLandmarkList, LLPreview::mAssetStatus, and LLPreview::PREVIEW_ASSET_LOADED.

Here is the call graph for this function:

void LLPreviewLandmark::getDegreesAndDist ( F32 degrees,
F64 horiz_dist,
F64 vert_dist 
) const [protected]

Definition at line 125 of file llpreviewlandmark.cpp.

References gAgent, LLLandmark::getGlobalPos(), LLAgent::getPositionGlobal(), LLVector3d::mdV, mLandmark, RAD_TO_DEG, VX, VY, and VZ.

Here is the call graph for this function:

virtual const char* LLPreviewLandmark::getTitleName (  )  const [inline, protected, virtual]

Reimplemented from LLPreview.

Definition at line 89 of file llpreviewlandmark.h.


Member Data Documentation

Definition at line 95 of file llpreviewlandmark.h.

Definition at line 96 of file llpreviewlandmark.h.

Referenced by draw().

Definition at line 97 of file llpreviewlandmark.h.

Referenced by draw(), getDegreesAndDist(), getPositionGlobal(), and loadAsset().

Definition at line 98 of file llpreviewlandmark.h.

Referenced by getMarkerColor().

Definition at line 100 of file llpreviewlandmark.h.

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


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

Generated on Fri May 16 09:00:27 2008 for SecondLife by  doxygen 1.5.5