#include <llvolumemessage.h>
Definition at line 41 of file llvolumemessage.h.
bool LLVolumeMessage::constrainVolumeParams | ( | LLVolumeParams & | params | ) | [static] |
This method constrains any volume params to make them valid.
[in,out] | Possibly | invalid params in, always valid out. |
Definition at line 461 of file llvolumemessage.cpp.
References llendl, llformat(), llwarns, and params.
Referenced by unpackVolumeParams().
bool LLVolumeMessage::packPathParams | ( | const LLPathParams * | params, | |
LLDataPacker & | dp | |||
) | [static, protected] |
Definition at line 270 of file llvolumemessage.cpp.
References CUT_QUANTA, end, LL_PCODE_PATH_LINE, llround(), LLDataPacker::packU16(), LLDataPacker::packU8(), params, REV_QUANTA, SCALE_QUANTA, SHEAR_QUANTA, and TAPER_QUANTA.
bool LLVolumeMessage::packPathParams | ( | const LLPathParams * | params, | |
LLMessageSystem * | mesgsys | |||
) | [static, protected] |
Definition at line 213 of file llvolumemessage.cpp.
References _PREHASH_PathBegin, _PREHASH_PathCurve, _PREHASH_PathEnd, _PREHASH_PathRadiusOffset, _PREHASH_PathRevolutions, _PREHASH_PathScaleX, _PREHASH_PathScaleY, _PREHASH_PathShearX, _PREHASH_PathShearY, _PREHASH_PathSkew, _PREHASH_PathTaperX, _PREHASH_PathTaperY, _PREHASH_PathTwist, _PREHASH_PathTwistBegin, LLMessageSystem::addS8Fast(), LLMessageSystem::addU16Fast(), LLMessageSystem::addU8Fast(), CUT_QUANTA, end, LL_PCODE_PATH_LINE, llround(), params, REV_QUANTA, SCALE_QUANTA, SHEAR_QUANTA, and TAPER_QUANTA.
Referenced by packVolumeParams().
bool LLVolumeMessage::packProfileParams | ( | const LLProfileParams * | params, | |
LLDataPacker & | dp | |||
) | [static, protected] |
Definition at line 72 of file llvolumemessage.cpp.
References CUT_QUANTA, HOLLOW_QUANTA, LL_PCODE_PROFILE_CIRCLE, llround(), LLDataPacker::packU16(), LLDataPacker::packU8(), and params.
bool LLVolumeMessage::packProfileParams | ( | const LLProfileParams * | params, | |
LLMessageSystem * | mesgsys | |||
) | [static, protected] |
Definition at line 44 of file llvolumemessage.cpp.
References _PREHASH_ProfileBegin, _PREHASH_ProfileCurve, _PREHASH_ProfileEnd, _PREHASH_ProfileHollow, LLMessageSystem::addU16Fast(), LLMessageSystem::addU8Fast(), CUT_QUANTA, HOLLOW_QUANTA, LL_PCODE_PROFILE_CIRCLE, llround(), and params.
Referenced by packVolumeParams().
bool LLVolumeMessage::packVolumeParams | ( | const LLVolumeParams * | params, | |
LLDataPacker & | dp | |||
) | [static] |
Definition at line 511 of file llvolumemessage.cpp.
References packPathParams(), packProfileParams(), and params.
bool LLVolumeMessage::packVolumeParams | ( | const LLVolumeParams * | params, | |
LLMessageSystem * | mesgsys | |||
) | [static] |
Definition at line 495 of file llvolumemessage.cpp.
References packPathParams(), packProfileParams(), and params.
Referenced by add_object(), and LLViewerObject::sendShapeUpdate().
bool LLVolumeMessage::unpackPathParams | ( | LLPathParams * | params, | |
LLDataPacker & | dp | |||
) | [static, protected] |
Definition at line 399 of file llvolumemessage.cpp.
References CUT_QUANTA, f, params, REV_QUANTA, SCALE_QUANTA, SHEAR_QUANTA, TAPER_QUANTA, LLDataPacker::unpackU16(), LLDataPacker::unpackU8(), x, and y.
bool LLVolumeMessage::unpackPathParams | ( | LLPathParams * | params, | |
LLMessageSystem * | mesgsys, | |||
char * | block_name, | |||
S32 | block_num = 0 | |||
) | [static, protected] |
Definition at line 327 of file llvolumemessage.cpp.
References _PREHASH_PathBegin, _PREHASH_PathCurve, _PREHASH_PathEnd, _PREHASH_PathRadiusOffset, _PREHASH_PathRevolutions, _PREHASH_PathScaleX, _PREHASH_PathScaleY, _PREHASH_PathShearX, _PREHASH_PathShearY, _PREHASH_PathSkew, _PREHASH_PathTaperX, _PREHASH_PathTaperY, _PREHASH_PathTwist, _PREHASH_PathTwistBegin, CUT_QUANTA, end, f, LLMessageSystem::getS8Fast(), LLMessageSystem::getU16Fast(), LLMessageSystem::getU8Fast(), params, REV_QUANTA, SCALE_QUANTA, SHEAR_QUANTA, TAPER_QUANTA, x, and y.
Referenced by unpackVolumeParams().
bool LLVolumeMessage::unpackProfileParams | ( | LLProfileParams * | params, | |
LLDataPacker & | dp | |||
) | [static, protected] |
Definition at line 157 of file llvolumemessage.cpp.
References CUT_QUANTA, f, HOLLOW_QUANTA, llendl, llwarns, params, LLDataPacker::unpackU16(), and LLDataPacker::unpackU8().
bool LLVolumeMessage::unpackProfileParams | ( | LLProfileParams * | params, | |
LLMessageSystem * | mesgsys, | |||
char * | block_name, | |||
S32 | block_num = 0 | |||
) | [static, protected] |
Definition at line 99 of file llvolumemessage.cpp.
References _PREHASH_ProfileBegin, _PREHASH_ProfileCurve, _PREHASH_ProfileEnd, _PREHASH_ProfileHollow, CUT_QUANTA, f, LLMessageSystem::getU16Fast(), LLMessageSystem::getU8Fast(), HOLLOW_QUANTA, llendl, llwarns, and params.
Referenced by unpackVolumeParams().
bool LLVolumeMessage::unpackVolumeParams | ( | LLVolumeParams * | params, | |
LLDataPacker & | dp | |||
) | [static] |
Definition at line 549 of file llvolumemessage.cpp.
References constrainVolumeParams(), params, unpackPathParams(), and unpackProfileParams().
bool LLVolumeMessage::unpackVolumeParams | ( | LLVolumeParams * | params, | |
LLMessageSystem * | mesgsys, | |||
char * | block_name, | |||
S32 | block_num = 0 | |||
) | [static] |
Definition at line 527 of file llvolumemessage.cpp.
References constrainVolumeParams(), params, unpackPathParams(), and unpackProfileParams().
Referenced by LLVOVolume::processUpdateMessage().