LLPanelObject Class Reference

#include <llpanelobject.h>

Inheritance diagram for LLPanelObject:

Inheritance graph
[legend]
Collaboration diagram for LLPanelObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelObject (const std::string &name)
virtual ~LLPanelObject ()
virtual BOOL postBuild ()
virtual void draw ()
virtual void clearCtrls ()
void refresh ()

Static Public Member Functions

static BOOL precommitValidate (LLUICtrl *ctrl, void *userdata)
static void onCommitLock (LLUICtrl *ctrl, void *data)
static void onCommitPosition (LLUICtrl *ctrl, void *userdata)
static void onCommitScale (LLUICtrl *ctrl, void *userdata)
static void onCommitRotation (LLUICtrl *ctrl, void *userdata)
static void onCommitPhysics (LLUICtrl *ctrl, void *userdata)
static void onCommitTemporary (LLUICtrl *ctrl, void *userdata)
static void onCommitPhantom (LLUICtrl *ctrl, void *userdata)
static void onCommitCastShadows (LLUICtrl *ctrl, void *userdata)
static void onCommitParametric (LLUICtrl *ctrl, void *userdata)
static void onCommitMaterial (LLUICtrl *ctrl, void *userdata)
static void onCommitSculpt (LLUICtrl *ctrl, void *userdata)
static void onCancelSculpt (LLUICtrl *ctrl, void *userdata)
static void onSelectSculpt (LLUICtrl *ctrl, void *userdata)
static BOOL onDropSculpt (LLUICtrl *ctrl, LLInventoryItem *item, void *ud)
static void onCommitSculptType (LLUICtrl *ctrl, void *userdata)

Protected Member Functions

void getState ()
void sendRotation ()
void sendScale ()
void sendPosition ()
void sendIsPhysical ()
void sendIsTemporary ()
void sendIsPhantom ()
void sendCastShadows ()
void sendSculpt ()
void getVolumeParams (LLVolumeParams &volume_params)

Protected Attributes

S32 mComboMaterialItemCount
LLTextBox * mLabelMaterial
LLComboBox * mComboMaterial
LLTextBox * mLabelBaseType
LLComboBox * mComboBaseType
LLTextBox * mLabelCut
LLSpinCtrl * mSpinCutBegin
LLSpinCtrl * mSpinCutEnd
LLTextBox * mLabelHollow
LLSpinCtrl * mSpinHollow
LLTextBox * mLabelHoleType
LLComboBox * mComboHoleType
LLTextBox * mLabelTwist
LLSpinCtrl * mSpinTwist
LLSpinCtrl * mSpinTwistBegin
LLSpinCtrl * mSpinScaleX
LLSpinCtrl * mSpinScaleY
LLTextBox * mLabelSkew
LLSpinCtrl * mSpinSkew
LLTextBox * mLabelShear
LLSpinCtrl * mSpinShearX
LLSpinCtrl * mSpinShearY
LLSpinCtrl * mCtrlPathBegin
LLSpinCtrl * mCtrlPathEnd
LLTextBox * mLabelTaper
LLSpinCtrl * mSpinTaperX
LLSpinCtrl * mSpinTaperY
LLTextBox * mLabelRadiusOffset
LLSpinCtrl * mSpinRadiusOffset
LLTextBox * mLabelRevolutions
LLSpinCtrl * mSpinRevolutions
LLTextBox * mLabelPosition
LLSpinCtrl * mCtrlPosX
LLSpinCtrl * mCtrlPosY
LLSpinCtrl * mCtrlPosZ
LLTextBox * mLabelSize
LLSpinCtrl * mCtrlScaleX
LLSpinCtrl * mCtrlScaleY
LLSpinCtrl * mCtrlScaleZ
LLTextBox * mLabelRotation
LLSpinCtrl * mCtrlRotX
LLSpinCtrl * mCtrlRotY
LLSpinCtrl * mCtrlRotZ
LLCheckBoxCtrl * mCheckLock
LLCheckBoxCtrl * mCheckPhysics
LLCheckBoxCtrl * mCheckTemporary
LLCheckBoxCtrl * mCheckPhantom
LLCheckBoxCtrl * mCheckCastShadows
LLTextureCtrl * mCtrlSculptTexture
LLTextBox * mLabelSculptType
LLComboBox * mCtrlSculptType
LLVector3 mCurEulerDegrees
BOOL mIsPhysical
BOOL mIsTemporary
BOOL mIsPhantom
BOOL mCastShadows
S32 mSelectedType
LLUUID mSculptTextureRevert
U8 mSculptTypeRevert
LLPointer< LLViewerObject > mObject
LLPointer< LLViewerObject > mRootObject

Detailed Description

Definition at line 53 of file llpanelobject.h.


Constructor & Destructor Documentation

LLPanelObject::LLPanelObject ( const std::string &  name  ) 

Definition at line 303 of file llpanelobject.cpp.

LLPanelObject::~LLPanelObject (  )  [virtual]

Definition at line 314 of file llpanelobject.cpp.


Member Function Documentation

void LLPanelObject::clearCtrls (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1789 of file llpanelobject.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), LLPanel::clearCtrls(), FALSE, mCheckCastShadows, mCheckLock, mCheckPhantom, mCheckPhysics, mCheckTemporary, mComboMaterial, mLabelBaseType, mLabelCut, mLabelHoleType, mLabelHollow, mLabelMaterial, mLabelPosition, mLabelRadiusOffset, mLabelRevolutions, mLabelRotation, mLabelShear, mLabelSize, mLabelSkew, mLabelTaper, mLabelTwist, LLCheckBoxCtrl::set(), LLView::setEnabled(), LLComboBox::setEnabled(), LLCheckBoxCtrl::setEnabled(), and TRUE.

Referenced by getState(), and postBuild().

void LLPanelObject::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1718 of file llpanelobject.cpp.

References blue, LLPanel::draw(), f, LLToolMgr::getCurrentTool(), green, gToolMgr, gToolRotate, gToolStretch, gToolTranslate, mCtrlPosX, mCtrlPosY, mCtrlPosZ, mCtrlRotX, mCtrlRotY, mCtrlRotZ, mCtrlScaleX, mCtrlScaleY, mCtrlScaleZ, red, and LLSpinCtrl::setLabelColor().

void LLPanelObject::getState (  )  [protected]

Definition at line 319 of file llpanelobject.cpp.

References LLComboBox::add(), LLMaterialTable::basic, LLFocusMgr::childHasKeyboardFocus(), LLPanel::childSetEnabled(), LLPanel::childSetVisible(), LLComboBox::clear(), LLSpinCtrl::clear(), clearCtrls(), f, FALSE, LLViewerObject::flagCastShadows(), LLViewerObject::flagPhantom(), LLViewerObject::flagTemporaryOnRez(), func, gAgent, LLVolumeParams::getBeginS(), LLVolumeParams::getBeginT(), LLControlGroup::getBOOL(), LLProfileParams::getCurveType(), LLPathParams::getCurveType(), LLVolumeParams::getEndS(), LLVolumeParams::getEndT(), LLQuaternion::getEulerAngles(), LLVolumeParams::getHollow(), LLAgent::getID(), LLComboBox::getItemCount(), LLPrimitive::getMaterial(), LLView::getName(), LLViewerObject::getParameterEntry(), LLViewerObject::getParameterEntryInUse(), LLVolume::getParams(), LLVolumeParams::getPathParams(), LLPrimitive::getPCode(), LLViewerObject::getPositionEdit(), LLVolumeParams::getProfileParams(), LLVolumeParams::getRadiusOffset(), LLVolumeParams::getRatioX(), LLVolumeParams::getRatioY(), LLVolumeParams::getRevolutions(), LLViewerObject::getRotationEdit(), LLXform::getScale(), LLSculptParams::getSculptTexture(), LLSculptParams::getSculptType(), LLSelectMgr::getSelection(), LLVolumeParams::getShearX(), LLVolumeParams::getShearY(), LLVolumeParams::getSkew(), LLViewerObject::getSubParent(), LLVolumeParams::getTaperX(), LLVolumeParams::getTaperY(), LLViewerUICtrlFactory::getTexturePickerByName(), LLVolumeParams::getTwist(), LLVolumeParams::getTwistBegin(), LLPrimitive::getVolume(), gFocusMgr, gSavedSettings, gSelectMgr, LLViewerObject::isAttachment(), LLVOVolume::isFlexible(), LLAgent::isGodlike(), LEGACY_FULLBRIGHT_DESC, LL_MCODE_LIGHT, LL_PCODE_HOLE_CIRCLE, LL_PCODE_HOLE_MASK, LL_PCODE_HOLE_SAME, LL_PCODE_HOLE_SQUARE, LL_PCODE_HOLE_TRIANGLE, LL_PCODE_PATH_CIRCLE, LL_PCODE_PATH_CIRCLE2, LL_PCODE_PATH_FLEXIBLE, LL_PCODE_PATH_LINE, LL_PCODE_PROFILE_CIRCLE, LL_PCODE_PROFILE_CIRCLE_HALF, LL_PCODE_PROFILE_EQUALTRI, LL_PCODE_PROFILE_ISOTRI, LL_PCODE_PROFILE_MASK, LL_PCODE_PROFILE_RIGHTTRI, LL_PCODE_PROFILE_SQUARE, LL_PCODE_VOLUME, llendl, llinfos, llround(), mCastShadows, mCheckCastShadows, mCheckLock, mCheckPhantom, mCheckPhysics, mCheckTemporary, mComboBaseType, mComboHoleType, mComboMaterial, mComboMaterialItemCount, mCtrlPathBegin, mCtrlPathEnd, mCtrlPosX, mCtrlPosY, mCtrlPosZ, mCtrlRotX, mCtrlRotY, mCtrlRotZ, mCtrlScaleX, mCtrlScaleY, mCtrlScaleZ, mCtrlSculptTexture, mCtrlSculptType, mCurEulerDegrees, MI_BOX, MI_CYLINDER, MI_HOLE_CIRCLE, MI_HOLE_SAME, MI_HOLE_SQUARE, MI_HOLE_TRIANGLE, MI_NONE, MI_PRISM, MI_RING, MI_SCULPT, MI_SPHERE, MI_TORUS, MI_TUBE, mIsPhantom, mIsPhysical, mIsTemporary, mLabelBaseType, mLabelCut, mLabelHoleType, mLabelHollow, mLabelMaterial, mLabelPosition, mLabelRadiusOffset, mLabelRevolutions, mLabelRotation, mLabelSculptType, mLabelShear, mLabelSize, mLabelSkew, mLabelTaper, mLabelTwist, mObject, mRootObject, mSculptTextureRevert, mSculptTypeRevert, mSelectedType, mSpinCutBegin, mSpinCutEnd, mSpinHollow, mSpinRadiusOffset, mSpinRevolutions, mSpinScaleX, mSpinScaleY, mSpinShearX, mSpinShearY, mSpinSkew, mSpinTaperX, mSpinTaperY, mSpinTwist, mSpinTwistBegin, LLVector3::mV, LLUUID::null, NULL, OBJECT_MAX_HOLE_SIZE_X, OBJECT_MAX_HOLE_SIZE_Y, OBJECT_MIN_HOLE_SIZE, OBJECT_ROTATION_PRECISION, OBJECT_TWIST_INC, OBJECT_TWIST_LINEAR_INC, OBJECT_TWIST_LINEAR_MAX, OBJECT_TWIST_LINEAR_MIN, OBJECT_TWIST_MAX, OBJECT_TWIST_MIN, LLNetworkData::PARAMS_SCULPT, PERM_MOVE, PERM_OWNER, LLViewerObject::permModify(), LLViewerObject::permMove(), RAD_TO_DEG, LLComboBox::remove(), S32, LLSelectMgr::selectGetOwner(), LLSelectMgr::selectGetPerm(), LLSelectMgr::selectionAllPCode(), LLCheckBoxCtrl::set(), LLSpinCtrl::set(), LLComboBox::setCurrentByIndex(), LLTextureCtrl::setEnabled(), LLComboBox::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLSpinCtrl::setEnabled(), LLView::setEnabled(), LLTextureCtrl::setImageAssetID(), LLSpinCtrl::setIncrement(), LLFocusMgr::setKeyboardFocus(), LLSpinCtrl::setMaxValue(), LLSpinCtrl::setMinValue(), LLComboBox::setSimple(), LLUICtrl::setTentative(), LLCheckBoxCtrl::setTentative(), LLTextureCtrl::setVisible(), LLView::setVisible(), TRUE, LLViewerObject::usePhysics(), LLFirstUse::useSculptedPrim(), VX, VY, and VZ.

Referenced by refresh().

void LLPanelObject::getVolumeParams ( LLVolumeParams &  volume_params  )  [protected]

Definition at line 1256 of file llpanelobject.cpp.

References f, LLSpinCtrl::get(), LLComboBox::getCurrentIndex(), LLVOVolume::isFlexible(), LL_PCODE_HOLE_CIRCLE, LL_PCODE_HOLE_SAME, LL_PCODE_HOLE_SQUARE, LL_PCODE_HOLE_TRIANGLE, LL_PCODE_PATH_CIRCLE, LL_PCODE_PATH_FLEXIBLE, LL_PCODE_PATH_LINE, LL_PCODE_PROFILE_CIRCLE, LL_PCODE_PROFILE_CIRCLE_HALF, LL_PCODE_PROFILE_EQUALTRI, LL_PCODE_PROFILE_SQUARE, llclamp(), llendl, llwarns, mComboBaseType, mComboHoleType, mCtrlPathBegin, mCtrlPathEnd, MI_BOX, MI_CYLINDER, MI_HOLE_CIRCLE, MI_HOLE_SAME, MI_HOLE_SQUARE, MI_HOLE_TRIANGLE, MI_PRISM, MI_RING, MI_SCULPT, MI_SPHERE, MI_TORUS, MI_TUBE, mObject, mSelectedType, mSpinCutBegin, mSpinCutEnd, mSpinHollow, mSpinRadiusOffset, mSpinRevolutions, mSpinScaleX, mSpinScaleY, mSpinShearX, mSpinShearY, mSpinSkew, mSpinTaperX, mSpinTaperY, mSpinTwist, mSpinTwistBegin, LLUUID::null, OBJECT_MAX_HOLE_SIZE_X, OBJECT_MAX_HOLE_SIZE_Y, OBJECT_MIN_CUT_INC, OBJECT_MIN_HOLE_SIZE, OBJECT_TWIST_LINEAR_MAX, OBJECT_TWIST_MAX, S32, LLSpinCtrl::set(), LLVolumeParams::setBeginAndEndS(), LLVolumeParams::setBeginAndEndT(), LLVolumeParams::setHollow(), LLVolumeParams::setRadiusOffset(), LLVolumeParams::setRatio(), LLVolumeParams::setRevolutions(), LLVolumeParams::setSculptID(), LLVolumeParams::setShear(), LLVolumeParams::setSkew(), LLVolumeParams::setTaper(), LLVolumeParams::setTwist(), LLVolumeParams::setTwistBegin(), LLVolumeParams::setTwistEnd(), and LLVolumeParams::setType().

void LLPanelObject::onCancelSculpt ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1942 of file llpanelobject.cpp.

References LLUICtrlFactory::getTexturePickerByName(), gUICtrlFactory, and LLTextureCtrl::setImageAssetID().

Referenced by postBuild().

void LLPanelObject::onCommitCastShadows ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1892 of file llpanelobject.cpp.

void LLPanelObject::onCommitLock ( LLUICtrl *  ctrl,
void *  data 
) [static]

Definition at line 1837 of file llpanelobject.cpp.

References gSelectMgr, PERM_MODIFY, PERM_MOVE, PERM_OWNER, and LLSelectMgr::selectionSetObjectPermissions().

Referenced by postBuild().

void LLPanelObject::onCommitMaterial ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1183 of file llpanelobject.cpp.

References LLMaterialTable::basic, LLMaterialTable::getMCode(), gSelectMgr, LEGACY_FULLBRIGHT_DESC, and LLSelectMgr::selectionSetMaterial().

Referenced by postBuild().

void LLPanelObject::onCommitParametric ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1201 of file llpanelobject.cpp.

References FALSE, LLSculptParams::getSculptTexture(), LLSculptParams::getSculptType(), LL_PCODE_VOLUME, MI_SCULPT, LLNetworkData::PARAMS_SCULPT, S32, LLVolumeParams::setSculptID(), and TRUE.

Referenced by postBuild().

void LLPanelObject::onCommitPhantom ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1885 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitPhysics ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1871 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitPosition ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1850 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitRotation ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1864 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitScale ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1857 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitSculpt ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1915 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitSculptType ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1956 of file llpanelobject.cpp.

Referenced by postBuild().

void LLPanelObject::onCommitTemporary ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1878 of file llpanelobject.cpp.

Referenced by postBuild().

BOOL LLPanelObject::onDropSculpt ( LLUICtrl *  ctrl,
LLInventoryItem *  item,
void *  ud 
) [static]

Definition at line 1923 of file llpanelobject.cpp.

References LLInventoryItem::getAssetUUID(), LLUICtrlFactory::getTexturePickerByName(), gUICtrlFactory, LLTextureCtrl::setImageAssetID(), and TRUE.

Referenced by postBuild().

void LLPanelObject::onSelectSculpt ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1900 of file llpanelobject.cpp.

References LLTextureCtrl::getImageAssetID(), LLUICtrlFactory::getTexturePickerByName(), and gUICtrlFactory.

Referenced by postBuild().

BOOL LLPanelObject::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 104 of file llpanelobject.cpp.

References LLComboBox::add(), LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLMaterialTable::basic, LLPanel::childSetCommitCallback(), clearCtrls(), FALSE, LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getComboBoxByName(), LLComboBox::getItemCount(), LLLinkedList< DATA_TYPE >::getNextData(), LLUICtrlFactory::getSpinnerByName(), LLUICtrlFactory::getTextBoxByName(), LLUICtrlFactory::getTexturePickerByName(), LLAggregatePermissions::getValue(), gSelectMgr, gUICtrlFactory, LL_MCODE_LIGHT, mCheckLock, mCheckPhantom, mCheckPhysics, mCheckTemporary, mComboBaseType, mComboHoleType, mComboMaterial, mComboMaterialItemCount, mCtrlPathBegin, mCtrlPathEnd, mCtrlPosX, mCtrlPosY, mCtrlPosZ, mCtrlRotX, mCtrlRotY, mCtrlRotZ, mCtrlScaleX, mCtrlScaleY, mCtrlScaleZ, mCtrlSculptTexture, mCtrlSculptType, mLabelBaseType, mLabelCut, mLabelHoleType, mLabelHollow, mLabelMaterial, mLabelPosition, mLabelRadiusOffset, mLabelRevolutions, mLabelRotation, mLabelSculptType, mLabelShear, mLabelSize, mLabelSkew, mLabelTaper, mLabelTwist, LLMaterialTable::mMaterialInfoList, LLMaterialInfo::mMCode, LLMaterialInfo::mName, mSpinCutBegin, mSpinCutEnd, mSpinHollow, mSpinRadiusOffset, mSpinRevolutions, mSpinScaleX, mSpinScaleY, mSpinShearX, mSpinShearY, mSpinSkew, mSpinTaperX, mSpinTaperY, mSpinTwist, mSpinTwistBegin, NULL, onCancelSculpt(), onCommitLock(), onCommitMaterial(), onCommitParametric(), onCommitPhantom(), onCommitPhysics(), onCommitPosition(), onCommitRotation(), onCommitScale(), onCommitSculpt(), onCommitSculptType(), onCommitTemporary(), onDropSculpt(), onSelectSculpt(), PERM_COPY, PERM_NONE, PERM_TRANSFER, precommitValidate(), LLComboBox::removeall(), SCULPT_DEFAULT_TEXTURE, LLSelectMgr::selectGetAggregateTexturePermissions(), LLUICtrl::setCallbackUserData(), LLTextureCtrl::setCanApplyImmediately(), LLUICtrl::setCommitCallback(), LLTextureCtrl::setDefaultImageAssetID(), LLTextureCtrl::setDropCallback(), LLTextureCtrl::setImmediateFilterPermMask(), LLView::setMouseOpaque(), LLTextureCtrl::setNonImmediateFilterPermMask(), LLTextureCtrl::setOnCancelCallback(), LLTextureCtrl::setOnSelectCallback(), LLUICtrl::setValidateBeforeCommit(), and TRUE.

BOOL LLPanelObject::precommitValidate ( LLUICtrl *  ctrl,
void *  userdata 
) [static]

Definition at line 1111 of file llpanelobject.cpp.

References TRUE.

Referenced by postBuild().

void LLPanelObject::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 1703 of file llpanelobject.cpp.

References getState(), mObject, mRootObject, LLPointer< Type >::notNull(), and NULL.

Referenced by LLFloaterTools::refresh().

void LLPanelObject::sendCastShadows (  )  [protected]

Definition at line 1166 of file llpanelobject.cpp.

References LLCheckBoxCtrl::get(), gSelectMgr, llendl, llinfos, mCastShadows, mCheckCastShadows, and LLSelectMgr::selectionUpdateCastShadows().

void LLPanelObject::sendIsPhantom (  )  [protected]

Definition at line 1150 of file llpanelobject.cpp.

References LLCheckBoxCtrl::get(), gSelectMgr, llendl, llinfos, mCheckPhantom, mIsPhantom, and LLSelectMgr::selectionUpdatePhantom().

void LLPanelObject::sendIsPhysical (  )  [protected]

Definition at line 1117 of file llpanelobject.cpp.

References LLCheckBoxCtrl::get(), gSelectMgr, llendl, llinfos, mCheckPhysics, mIsPhysical, and LLSelectMgr::selectionUpdatePhysics().

void LLPanelObject::sendIsTemporary (  )  [protected]

Definition at line 1133 of file llpanelobject.cpp.

References LLCheckBoxCtrl::get(), gSelectMgr, llendl, llinfos, mCheckTemporary, mIsTemporary, and LLSelectMgr::selectionUpdateTemporary().

void LLPanelObject::sendPosition (  )  [protected]

Definition at line 1611 of file llpanelobject.cpp.

References LLSpinCtrl::get(), LLWorld::getMinAllowedZ(), gSelectMgr, gWorldp, gWorldPointer, height, LLPointer< Type >::isNull(), LL_PCODE_LEGACY_GRASS, LLVector3d::magVec(), mCtrlPosX, mCtrlPosY, mCtrlPosZ, mObject, mRootObject, LLVector3::mV, LLWorld::resolveLandHeightAgent(), LLSelectMgr::sendMultipleUpdate(), LLSpinCtrl::set(), UPD_POSITION, LLSelectMgr::updateSelectionCenter(), VX, VY, and VZ.

void LLPanelObject::sendRotation (  )  [protected]

Definition at line 1546 of file llpanelobject.cpp.

References DEG_TO_RAD, LLSpinCtrl::get(), gSelectMgr, LLPointer< Type >::isNull(), llround(), LLVector3::magVec(), mCtrlRotX, mCtrlRotY, mCtrlRotZ, mCurEulerDegrees, mObject, mRootObject, OBJECT_ROTATION_PRECISION, LLSelectMgr::sendMultipleUpdate(), LLQuaternion::setQuat(), TRUE, UPD_ROTATION, VX, VY, and VZ.

void LLPanelObject::sendScale (  )  [protected]

Definition at line 1579 of file llpanelobject.cpp.

References LLSelectMgr::adjustTexturesByScale(), LLSpinCtrl::get(), LLManipScale::getStretchTextures(), gSelectMgr, LLPointer< Type >::isNull(), mCtrlScaleX, mCtrlScaleY, mCtrlScaleZ, mObject, LLSelectMgr::saveSelectedObjectTransform(), SELECT_ACTION_TYPE_SCALE, LLSelectMgr::sendMultipleUpdate(), TRUE, UPD_POSITION, and UPD_SCALE.

void LLPanelObject::sendSculpt (  )  [protected]

Definition at line 1687 of file llpanelobject.cpp.

References LLTextureCtrl::getImageAssetID(), LLPointer< Type >::isNull(), mCtrlSculptTexture, mCtrlSculptType, mObject, LLNetworkData::PARAMS_SCULPT, LLSculptParams::setSculptTexture(), LLSculptParams::setSculptType(), and TRUE.


Member Data Documentation

BOOL LLPanelObject::mCastShadows [protected]

Definition at line 178 of file llpanelobject.h.

Referenced by getState(), and sendCastShadows().

LLCheckBoxCtrl* LLPanelObject::mCheckCastShadows [protected]

Definition at line 168 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and sendCastShadows().

LLCheckBoxCtrl* LLPanelObject::mCheckLock [protected]

Definition at line 164 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLCheckBoxCtrl* LLPanelObject::mCheckPhantom [protected]

Definition at line 167 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), postBuild(), and sendIsPhantom().

LLCheckBoxCtrl* LLPanelObject::mCheckPhysics [protected]

Definition at line 165 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), postBuild(), and sendIsPhysical().

LLCheckBoxCtrl* LLPanelObject::mCheckTemporary [protected]

Definition at line 166 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), postBuild(), and sendIsTemporary().

LLComboBox* LLPanelObject::mComboBaseType [protected]

Definition at line 109 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLComboBox* LLPanelObject::mComboHoleType [protected]

Definition at line 119 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLComboBox* LLPanelObject::mComboMaterial [protected]

Definition at line 105 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

S32 LLPanelObject::mComboMaterialItemCount [protected]

Definition at line 102 of file llpanelobject.h.

Referenced by getState(), and postBuild().

LLSpinCtrl* LLPanelObject::mCtrlPathBegin [protected]

Definition at line 136 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mCtrlPathEnd [protected]

Definition at line 137 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mCtrlPosX [protected]

Definition at line 150 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendPosition().

LLSpinCtrl* LLPanelObject::mCtrlPosY [protected]

Definition at line 151 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendPosition().

LLSpinCtrl* LLPanelObject::mCtrlPosZ [protected]

Definition at line 152 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendPosition().

LLSpinCtrl* LLPanelObject::mCtrlRotX [protected]

Definition at line 160 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendRotation().

LLSpinCtrl* LLPanelObject::mCtrlRotY [protected]

Definition at line 161 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendRotation().

LLSpinCtrl* LLPanelObject::mCtrlRotZ [protected]

Definition at line 162 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendRotation().

LLSpinCtrl* LLPanelObject::mCtrlScaleX [protected]

Definition at line 155 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendScale().

LLSpinCtrl* LLPanelObject::mCtrlScaleY [protected]

Definition at line 156 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendScale().

LLSpinCtrl* LLPanelObject::mCtrlScaleZ [protected]

Definition at line 157 of file llpanelobject.h.

Referenced by draw(), getState(), postBuild(), and sendScale().

LLTextureCtrl* LLPanelObject::mCtrlSculptTexture [protected]

Definition at line 170 of file llpanelobject.h.

Referenced by getState(), postBuild(), and sendSculpt().

LLComboBox* LLPanelObject::mCtrlSculptType [protected]

Definition at line 172 of file llpanelobject.h.

Referenced by getState(), postBuild(), and sendSculpt().

LLVector3 LLPanelObject::mCurEulerDegrees [protected]

Definition at line 174 of file llpanelobject.h.

Referenced by getState(), and sendRotation().

BOOL LLPanelObject::mIsPhantom [protected]

Definition at line 177 of file llpanelobject.h.

Referenced by getState(), and sendIsPhantom().

BOOL LLPanelObject::mIsPhysical [protected]

Definition at line 175 of file llpanelobject.h.

Referenced by getState(), and sendIsPhysical().

BOOL LLPanelObject::mIsTemporary [protected]

Definition at line 176 of file llpanelobject.h.

Referenced by getState(), and sendIsTemporary().

LLTextBox* LLPanelObject::mLabelBaseType [protected]

Definition at line 108 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelCut [protected]

Definition at line 111 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelHoleType [protected]

Definition at line 118 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelHollow [protected]

Definition at line 115 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelMaterial [protected]

Definition at line 104 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelPosition [protected]

Definition at line 149 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelRadiusOffset [protected]

Definition at line 143 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelRevolutions [protected]

Definition at line 146 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelRotation [protected]

Definition at line 159 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelSculptType [protected]

Definition at line 171 of file llpanelobject.h.

Referenced by getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelShear [protected]

Definition at line 131 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelSize [protected]

Definition at line 154 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelSkew [protected]

Definition at line 128 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelTaper [protected]

Definition at line 139 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLTextBox* LLPanelObject::mLabelTwist [protected]

Definition at line 121 of file llpanelobject.h.

Referenced by clearCtrls(), getState(), and postBuild().

LLPointer<LLViewerObject> LLPanelObject::mObject [protected]

Definition at line 184 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), refresh(), sendPosition(), sendRotation(), sendScale(), and sendSculpt().

LLPointer<LLViewerObject> LLPanelObject::mRootObject [protected]

Definition at line 185 of file llpanelobject.h.

Referenced by getState(), refresh(), sendPosition(), and sendRotation().

LLUUID LLPanelObject::mSculptTextureRevert [protected]

Definition at line 181 of file llpanelobject.h.

Referenced by getState().

U8 LLPanelObject::mSculptTypeRevert [protected]

Definition at line 182 of file llpanelobject.h.

Referenced by getState().

S32 LLPanelObject::mSelectedType [protected]

Definition at line 179 of file llpanelobject.h.

Referenced by getState(), and getVolumeParams().

LLSpinCtrl* LLPanelObject::mSpinCutBegin [protected]

Definition at line 112 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinCutEnd [protected]

Definition at line 113 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinHollow [protected]

Definition at line 116 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinRadiusOffset [protected]

Definition at line 144 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinRevolutions [protected]

Definition at line 147 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinScaleX [protected]

Definition at line 125 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinScaleY [protected]

Definition at line 126 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinShearX [protected]

Definition at line 132 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinShearY [protected]

Definition at line 133 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinSkew [protected]

Definition at line 129 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinTaperX [protected]

Definition at line 140 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinTaperY [protected]

Definition at line 141 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinTwist [protected]

Definition at line 122 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().

LLSpinCtrl* LLPanelObject::mSpinTwistBegin [protected]

Definition at line 123 of file llpanelobject.h.

Referenced by getState(), getVolumeParams(), and postBuild().


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