#include <llprimitive.h>
Public Member Functions | |
LLSculptParams () | |
BOOL | pack (LLDataPacker &dp) const |
BOOL | unpack (LLDataPacker &dp) |
bool | operator== (const LLNetworkData &data) const |
void | copy (const LLNetworkData &data) |
LLSD | asLLSD () const |
operator LLSD () const | |
bool | fromLLSD (LLSD &sd) |
void | setSculptTexture (const LLUUID &id) |
LLUUID | getSculptTexture () |
void | setSculptType (U8 type) |
U8 | getSculptType () |
Protected Attributes | |
LLUUID | mSculptTexture |
U8 | mSculptType |
Definition at line 246 of file llprimitive.h.
LLSculptParams::LLSculptParams | ( | ) |
Definition at line 2013 of file llprimitive.cpp.
References LL_SCULPT_TYPE_SPHERE, mSculptTexture, mSculptType, LLNetworkData::mType, LLNetworkData::PARAMS_SCULPT, SCULPT_DEFAULT_TEXTURE, and LLUUID::set().
BOOL LLSculptParams::pack | ( | LLDataPacker & | dp | ) | const [virtual] |
Implements LLNetworkData.
Definition at line 2020 of file llprimitive.cpp.
References mSculptTexture, mSculptType, LLDataPacker::packU8(), LLDataPacker::packUUID(), and TRUE.
BOOL LLSculptParams::unpack | ( | LLDataPacker & | dp | ) | [virtual] |
Implements LLNetworkData.
Definition at line 2028 of file llprimitive.cpp.
References mSculptTexture, mSculptType, TRUE, LLDataPacker::unpackU8(), and LLDataPacker::unpackUUID().
bool LLSculptParams::operator== | ( | const LLNetworkData & | data | ) | const [virtual] |
Implements LLNetworkData.
Definition at line 2036 of file llprimitive.cpp.
References mSculptTexture, mSculptType, LLNetworkData::mType, and LLNetworkData::PARAMS_SCULPT.
void LLSculptParams::copy | ( | const LLNetworkData & | data | ) | [virtual] |
Implements LLNetworkData.
Definition at line 2054 of file llprimitive.cpp.
References mSculptTexture, and mSculptType.
LLSD LLSculptParams::asLLSD | ( | ) | const |
Definition at line 2063 of file llprimitive.cpp.
References mSculptTexture, mSculptType, and tut::sd().
Referenced by operator LLSD().
LLSculptParams::operator LLSD | ( | ) | const [inline] |
Definition at line 259 of file llprimitive.h.
References asLLSD().
bool LLSculptParams::fromLLSD | ( | LLSD & | sd | ) |
Definition at line 2073 of file llprimitive.cpp.
References LLSD::has(), setSculptTexture(), and setSculptType().
void LLSculptParams::setSculptTexture | ( | const LLUUID & | id | ) | [inline] |
Definition at line 262 of file llprimitive.h.
References mSculptTexture.
Referenced by fromLLSD(), and LLPanelObject::sendSculpt().
LLUUID LLSculptParams::getSculptTexture | ( | ) | [inline] |
Definition at line 263 of file llprimitive.h.
References mSculptTexture.
Referenced by calc_shame(), LLPanelObject::getState(), LLPanelObject::onCommitParametric(), LLVOVolume::processUpdateMessage(), and LLVOVolume::updateTextures().
void LLSculptParams::setSculptType | ( | U8 | type | ) | [inline] |
Definition at line 264 of file llprimitive.h.
References mSculptType.
Referenced by fromLLSD(), and LLPanelObject::sendSculpt().
U8 LLSculptParams::getSculptType | ( | ) | [inline] |
Definition at line 265 of file llprimitive.h.
References mSculptType.
Referenced by LLPanelObject::getState(), LLPanelObject::onCommitParametric(), and LLVOVolume::processUpdateMessage().
LLUUID LLSculptParams::mSculptTexture [protected] |
Definition at line 249 of file llprimitive.h.
Referenced by asLLSD(), copy(), getSculptTexture(), LLSculptParams(), operator==(), pack(), setSculptTexture(), and unpack().
U8 LLSculptParams::mSculptType [protected] |
Definition at line 250 of file llprimitive.h.
Referenced by asLLSD(), copy(), getSculptType(), LLSculptParams(), operator==(), pack(), setSculptType(), and unpack().