#include <llpreviewlandmark.h>


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 LLString & | getName () const |
| const LLColor4 & | getMarkerColor () 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 | |
| LLIconCtrl * | mIconLandmark |
| LLPanelPlace * | mPlacePanel |
| LLLandmark * | mLandmark |
| LLColor4 | mMarkerColor |
Static Private Attributes | |
| static LLPreviewLandmarkList | sOrderedInstances |
Definition at line 61 of file llpreviewlandmark.h.
| 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 | |||
| ) |
Definition at line 71 of file llpreviewlandmark.cpp.
References LLUICtrlFactory::buildFloater(), createPlaceDetail(), LLPanel::getFactoryMap(), LLSingleton< LLUICtrlFactory >::getInstance(), LLPanel::mFactoryMap, and sOrderedInstances.

| LLPreviewLandmark::~LLPreviewLandmark | ( | ) | [virtual] |
| void LLPreviewLandmark::draw | ( | void | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 167 of file llpreviewlandmark.cpp.
References LLPanelPlace::displayParcelInfo(), LLPreview::draw(), LLLandmarkList::getAsset(), LLInventoryItem::getAssetUUID(), LLPreview::getItem(), getPositionGlobal(), LLLandmark::getRegionID(), LLLandmark::getRegionPos(), gLandmarkList, mLandmark, and mPlacePanel.

| 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.

| const LLColor4 & LLPreviewLandmark::getMarkerColor | ( | ) | const |
| LLVector3d LLPreviewLandmark::getPositionGlobal | ( | ) | const |
Definition at line 150 of file llpreviewlandmark.cpp.
References LLLandmark::getGlobalPos(), and mLandmark.
Referenced by draw().


| void * LLPreviewLandmark::createPlaceDetail | ( | void * | userdata | ) | [static] |
Definition at line 209 of file llpreviewlandmark.cpp.
References LLUICtrlFactory::buildPanel(), and LLSingleton< LLUICtrlFactory >::getInstance().
Referenced by LLPreviewLandmark().


| void LLPreviewLandmark::loadAsset | ( | ) | [virtual] |
Reimplemented from LLPreview.
Definition at line 188 of file llpreviewlandmark.cpp.
References LLLandmarkList::getAsset(), LLInventoryItem::getAssetUUID(), LLPreview::getItem(), gLandmarkList, LLPreview::mAssetStatus, mLandmark, and LLPreview::PREVIEW_ASSET_LOADING.

| 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.

| 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.

| virtual const char* LLPreviewLandmark::getTitleName | ( | ) | const [inline, protected, virtual] |
LLIconCtrl* LLPreviewLandmark::mIconLandmark [private] |
Definition at line 95 of file llpreviewlandmark.h.
LLPanelPlace* LLPreviewLandmark::mPlacePanel [private] |
LLLandmark* LLPreviewLandmark::mLandmark [private] |
Definition at line 97 of file llpreviewlandmark.h.
Referenced by draw(), getDegreesAndDist(), getPositionGlobal(), and loadAsset().
LLColor4 LLPreviewLandmark::mMarkerColor [private] |
LLPreviewLandmarkList LLPreviewLandmark::sOrderedInstances [static, private] |
Definition at line 100 of file llpreviewlandmark.h.
Referenced by LLPreviewLandmark(), and ~LLPreviewLandmark().
1.5.5