#include <llvolume.h>
Inheritance diagram for LLPath:
Public Member Functions | |
LLPath (const LLPathParams ¶ms) | |
virtual | ~LLPath () |
void | genNGon (S32 sides, F32 offset=0.0f, F32 end_scale=1.f, F32 twist_scale=1.f) |
virtual BOOL | generate (F32 detail=1.0f, S32 split=0, BOOL is_sculpted=FALSE) |
BOOL | isOpen () const |
F32 | getStep () const |
void | setDirty () |
S32 | getPathLength () const |
void | resizePath (S32 length) |
Public Attributes | |
const LLPathParams & | mParams |
std::vector< PathPt > | mPath |
Protected Attributes | |
BOOL | mOpen |
S32 | mTotal |
BOOL | mDirty |
F32 | mStep |
Friends | |
std::ostream & | operator<< (std::ostream &s, const LLPath &path) |
Classes | |
struct | PathPt |
Definition at line 705 of file llvolume.h.
LLPath::LLPath | ( | const LLPathParams & | params | ) | [inline] |
Definition at line 718 of file llvolume.h.
LLPath::~LLPath | ( | ) | [virtual] |
Definition at line 939 of file llvolume.cpp.
Reimplemented in LLDynamicPath.
Definition at line 1120 of file llvolume.cpp.
References f, F_PI, FALSE, genNGon(), LLPathParams::getBegin(), LLPathParams::getBeginScale(), LLPathParams::getCurveType(), LLPathParams::getEnd(), LLPathParams::getEndScale(), LLPathParams::getRevolutions(), LLPathParams::getScale(), LLPathParams::getScaleX(), LLPathParams::getShear(), LLPathParams::getTwist(), LLPathParams::getTwistBegin(), i, lerp(), LL_PCODE_PATH_CIRCLE, LL_PCODE_PATH_CIRCLE2, LL_PCODE_PATH_LINE, LL_PCODE_PATH_TEST, llendl, llfloor(), llinfos, mDirty, MIN_DETAIL_FACES, MIN_LOD, mOpen, mParams, mPath, mStep, LLVector2::mV, S32, sculpt_sides(), t, and TRUE.
Referenced by LLVolume::generate(), and LLVolume::sculpt().
Definition at line 943 of file llvolume.cpp.
References c, f, F_PI, LLPathParams::getBegin(), LLPathParams::getEnd(), LLPathParams::getRadiusOffset(), LLPathParams::getRevolutions(), LLPathParams::getScaleX(), LLPathParams::getScaleY(), LLPathParams::getShear(), LLPathParams::getSkew(), LLPathParams::getTaperX(), LLPathParams::getTaperY(), LLPathParams::getTwist(), LLPathParams::getTwistBegin(), lerp(), mOpen, mParams, mPath, LLPath::PathPt::mPos, LLPath::PathPt::mRot, LLPath::PathPt::mScale, LLPath::PathPt::mTexT, mTotal, LLVector2::mV, s, S32, LLQuaternion::setQuat(), LLVector3::setVec(), t, vector_append(), VX, and VY.
Referenced by generate().
S32 LLPath::getPathLength | ( | ) | const [inline] |
F32 LLPath::getStep | ( | ) | const [inline] |
BOOL LLPath::isOpen | ( | ) | const [inline] |
Definition at line 732 of file llvolume.h.
References mOpen.
Referenced by LLVolumeFace::createSide(), LLVolume::generate(), LLVolume::generateFaceMask(), LLVolume::getTriangleIndices(), and LLVolume::sculpt().
Definition at line 738 of file llvolume.h.
References mPath.
Referenced by LLVolumeImplFlexible::doFlexibleUpdate(), and LLDynamicPath::generate().
void LLPath::setDirty | ( | ) | [inline] |
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLPath & | path | |||
) | [friend] |
Definition at line 3936 of file llvolume.cpp.
BOOL LLPath::mDirty [protected] |
BOOL LLPath::mOpen [protected] |
Definition at line 747 of file llvolume.h.
Referenced by LLDynamicPath::generate(), generate(), genNGon(), isOpen(), and operator<<().
const LLPathParams& LLPath::mParams |
Definition at line 743 of file llvolume.h.
Referenced by LLVolumeFace::createCap(), LLVolume::generate(), generate(), genNGon(), and LLVolume::getPathType().
std::vector<PathPt> LLPath::mPath |
Definition at line 744 of file llvolume.h.
Referenced by LLVolumeFace::createCap(), LLVolumeFace::createSide(), LLVolumeFace::createUnCutCubeCap(), LLVolume::createVolumeFaces(), LLVolumeImplFlexible::doFlexibleUpdate(), LLVolume::generate(), LLDynamicPath::generate(), generate(), genNGon(), getPathLength(), LLVolume::getTriangleIndices(), resizePath(), and LLVolume::sculpt().
F32 LLPath::mStep [protected] |
S32 LLPath::mTotal [protected] |